/dragonfly/sys/bus/pci/ |
H A D | pci_pci.c | 108 return (sc->membase > 0 && sc->membase < sc->memlimit); in pcib_is_nonprefetch_open() 184 sc->membase = PCI_PPBMEMBASE(0, pci_read_config(dev, PCIR_MEMBASE_1, 2)); in pcib_attach_common() 281 (uintmax_t)sc->membase, (uintmax_t)sc->memlimit); in pcib_attach_common() 459 ok = ok || (start >= sc->membase && end <= sc->memlimit); in pcib_alloc_resource() 484 if (start < sc->membase) in pcib_alloc_resource() 485 start = sc->membase; in pcib_alloc_resource() 497 if (start < sc->membase && end > sc->memlimit) { in pcib_alloc_resource() 498 start = sc->membase; in pcib_alloc_resource() 522 (uintmax_t)sc->membase, (uintmax_t)sc->memlimit, in pcib_alloc_resource()
|
H A D | pcib_private.h | 57 pci_addr_t membase; /* base address of memory window */ member
|
H A D | pcivar.h | 187 uint32_t membase; /* base address of memory window */ member
|
/dragonfly/sys/kern/ |
H A D | vfs_journal.c | 203 rawp = (void *)(jo->fifo.membase + (jo->fifo.rindex & jo->fifo.mask)); in journal_wthread() 263 jo->fifo.membase + in journal_wthread() 370 rawp = (void *)(jo->fifo.membase + (jo->fifo.xindex & jo->fifo.mask)); in journal_rthread() 564 rawp = (void *)(jo->fifo.membase + (jo->fifo.windex & jo->fifo.mask)); in journal_reserve() 568 rawp = (void *)jo->fifo.membase; in journal_reserve() 627 wbase = (char *)rawp - jo->fifo.membase; in journal_extend() 689 (char *)rawp - jo->fifo.membase + osize) in journal_abort() 724 KKASSERT((char *)rawp >= jo->fifo.membase && in journal_commit() 725 (char *)rawp + rawp->recsize <= jo->fifo.membase + jo->fifo.size); in journal_commit() 749 } else if ((jo->fifo.windex & jo->fifo.mask) == (char *)rawp - jo->fifo.membase + osize) { in journal_commit()
|
H A D | vfs_jops.c | 310 jo->fifo.membase = kmalloc(jo->fifo.size, M_JFIFO, M_WAITOK|M_ZERO|M_NULLOK); in journal_install_vfs_journal() 311 if (jo->fifo.membase == NULL) in journal_install_vfs_journal() 447 if (jo->fifo.membase) in journal_destroy() 448 kfree(jo->fifo.membase, M_JFIFO); in journal_destroy()
|
/dragonfly/sys/dev/pccard/pccbb/ |
H A D | pccbb_pci.c | 259 u_int32_t membase, irq; in cbb_powerstate_d0() local 263 membase = pci_read_config(dev, CBBR_SOCKBASE, 4); in cbb_powerstate_d0() 273 pci_write_config(dev, CBBR_SOCKBASE, membase, 4); in cbb_powerstate_d0()
|
/dragonfly/sbin/newfs/ |
H A D | newfs.c | 191 caddr_t membase; /* start address of memory based filesystem */ variable 658 args.base = membase; in main() 694 munmap(membase, fssize * fsize); in mfsintr()
|
H A D | mkfs.c | 97 extern caddr_t membase; /* start address of memory based filesystem */ 212 membase = mmap(NULL, fssize * sectorsize, in mkfs() 215 if (membase == MAP_FAILED) in mkfs() 219 membase = mmap(NULL, fssize * sectorsize, in mkfs() 222 if (membase == MAP_FAILED) in mkfs() 1217 memmove(bf, membase + bno * sectorsize, size); in rdfs() 1281 memmove(membase + bno * sectorsize, bf, size); in wtfs()
|
/dragonfly/sys/sys/ |
H A D | mountctl.h | 160 char *membase; /* memory buffer representing the FIFO */ member
|
/dragonfly/sys/dev/netif/pcn/ |
H A D | if_pcn.c | 501 u_int32_t iobase, membase, irq; in pcn_attach() local 505 membase = pci_read_config(dev, PCN_PCI_LOMEM, 4); in pcn_attach() 516 pci_write_config(dev, PCN_PCI_LOMEM, membase, 4); in pcn_attach()
|
/dragonfly/sys/dev/netif/lge/ |
H A D | if_lge.c | 442 uint32_t iobase, membase, irq; in lge_attach() local 446 membase = pci_read_config(dev, LGE_PCI_LOMEM, 4); in lge_attach() 457 pci_write_config(dev, LGE_PCI_LOMEM, membase, 4); in lge_attach()
|
/dragonfly/sys/dev/netif/sf/ |
H A D | if_sf.c | 655 u_int32_t iobase, membase, irq; in sf_attach() local 659 membase = pci_read_config(dev, SF_PCI_LOMEM, 4); in sf_attach() 670 pci_write_config(dev, SF_PCI_LOMEM, membase, 4); in sf_attach()
|
/dragonfly/sys/dev/netif/ste/ |
H A D | if_ste.c | 868 u_int32_t iobase, membase, irq; in ste_attach() local 872 membase = pci_read_config(dev, STE_PCI_LOMEM, 4); in ste_attach() 882 pci_write_config(dev, STE_PCI_LOMEM, membase, 4); in ste_attach()
|
/dragonfly/sys/dev/netif/vr/ |
H A D | if_vr.c | 664 uint32_t iobase, membase, irq; in vr_attach() local 668 membase = pci_read_config(dev, VR_PCI_LOMEM, 4); in vr_attach() 678 pci_write_config(dev, VR_PCI_LOMEM, membase, 4); in vr_attach()
|
/dragonfly/sys/dev/netif/wb/ |
H A D | if_wb.c | 721 uint32_t iobase, membase, irq; in wb_attach() local 725 membase = pci_read_config(dev, WB_PCI_LOMEM, 4); in wb_attach() 735 pci_write_config(dev, WB_PCI_LOMEM, membase, 4); in wb_attach()
|
/dragonfly/sys/dev/netif/bfe/ |
H A D | if_bfe.c | 330 uint32_t membase, irq; in bfe_attach() local 333 membase = pci_read_config(dev, BFE_PCI_MEMLO, 4); in bfe_attach() 343 pci_write_config(dev, BFE_PCI_MEMLO, membase, 4); in bfe_attach()
|
/dragonfly/sys/dev/netif/rl/ |
H A D | if_rl.c | 750 uint32_t iobase, membase, irq; in rl_attach() local 754 membase = pci_read_config(dev, RL_PCI_LOMEM, 4); in rl_attach() 764 pci_write_config(dev, RL_PCI_LOMEM, membase, 4); in rl_attach()
|
/dragonfly/sys/dev/netif/nge/ |
H A D | if_nge.c | 741 uint32_t iobase, membase, irq; in nge_attach() local 745 membase = pci_read_config(dev, NGE_PCI_LOMEM, 4); in nge_attach() 756 pci_write_config(dev, NGE_PCI_LOMEM, membase, 4); in nge_attach()
|
/dragonfly/sys/dev/netif/fxp/ |
H A D | if_fxp.c | 365 u_int32_t iobase, membase, irq; in fxp_powerstate_d0() local 370 membase = pci_read_config(dev, FXP_PCI_MMBA, 4); in fxp_powerstate_d0() 381 pci_write_config(dev, FXP_PCI_MMBA, membase, 4); in fxp_powerstate_d0()
|
/dragonfly/sys/dev/netif/sis/ |
H A D | if_sis.c | 950 uint32_t iobase, membase, irq; in sis_attach() local 954 membase = pci_read_config(dev, SIS_PCI_LOMEM, 4); in sis_attach() 965 pci_write_config(dev, SIS_PCI_LOMEM, membase, 4); in sis_attach()
|
/dragonfly/sys/dev/netif/stge/ |
H A D | if_stge.c | 594 uint32_t iobase, membase, irq; in stge_attach() local 598 membase = pci_read_config(dev, STGE_PCIR_LOMEM, 4); in stge_attach() 609 pci_write_config(dev, STGE_PCIR_LOMEM, membase, 4); in stge_attach()
|
/dragonfly/sys/dev/netif/re/ |
H A D | if_re.c | 693 uint32_t membase, irq; in re_attach() local 696 membase = pci_read_config(dev, RE_PCI_LOMEM, 4); in re_attach() 706 pci_write_config(dev, RE_PCI_LOMEM, membase, 4); in re_attach()
|
/dragonfly/sys/dev/netif/xl/ |
H A D | if_xl.c | 1228 u_int32_t iobase, membase, irq; in xl_attach() local 1232 membase = pci_read_config(dev, XL_PCI_LOMEM, 4); in xl_attach() 1243 pci_write_config(dev, XL_PCI_LOMEM, membase, 4); in xl_attach()
|
/dragonfly/sys/dev/netif/dc/ |
H A D | if_dc.c | 1616 uint32_t iobase, membase, irq; in dc_acpi() local 1621 membase = pci_read_config(dev, DC_PCI_CFBMA, 4); in dc_acpi() 1633 pci_write_config(dev, DC_PCI_CFBMA, membase, 4); in dc_acpi()
|
/dragonfly/sys/dev/netif/sk/ |
H A D | if_sk.c | 1345 uint32_t iobase, membase, irq; in skc_attach() local 1349 membase = pci_read_config(dev, SK_PCI_LOMEM, 4); in skc_attach() 1360 pci_write_config(dev, SK_PCI_LOMEM, membase, 4); in skc_attach()
|