/src/sys/dev/ic/ |
vga_common.c | 49 bus_space_handle_t ioh_vga, ioh_6845, memh; local in function:vga_common_probe 69 if (bus_space_map(memt, 0xa0000, 0x20000, 0, &memh)) 75 vgadata = bus_space_read_2(memt, memh, dispoffset); 76 bus_space_write_2(memt, memh, dispoffset, 0xa55a); 77 if (bus_space_read_2(memt, memh, dispoffset) != 0xa55a) 79 bus_space_write_2(memt, memh, dispoffset, vgadata); 107 bus_space_unmap(memt, memh, 0x20000);
|
vga_common.c | 49 bus_space_handle_t ioh_vga, ioh_6845, memh; local in function:vga_common_probe 69 if (bus_space_map(memt, 0xa0000, 0x20000, 0, &memh)) 75 vgadata = bus_space_read_2(memt, memh, dispoffset); 76 bus_space_write_2(memt, memh, dispoffset, 0xa55a); 77 if (bus_space_read_2(memt, memh, dispoffset) != 0xa55a) 79 bus_space_write_2(memt, memh, dispoffset, vgadata); 107 bus_space_unmap(memt, memh, 0x20000);
|
pcdisplay_subr.c | 51 bus_space_handle_t memh; local in function:pcdisplay_cursor_init 65 memh = scr->hdl->ph_memh; 69 scr->cursortmp = bus_space_read_2(memt, memh, off); 70 bus_space_write_2(memt, memh, off, scr->cursortmp ^ 0x7700); 95 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_cursor 102 bus_space_write_2(memt, memh, scr->dispoffset + off * 2, 117 scr->cursortmp = bus_space_read_2(memt, memh, off); 118 bus_space_write_2(memt, memh, off, scr->cursortmp ^ 0x7700); 160 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_putchar 170 bus_space_write_2(memt, memh, scr->dispoffset + off * 2 183 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_copycols 204 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_erasecols 226 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_copyrows 248 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_eraserows 272 bus_space_handle_t memh = scr->hdl->ph_memh; local in function:pcdisplay_replaceattr [all...] |
/src/sys/dev/isa/ |
depca_isa.c | 122 bus_space_handle_t memh; local in function:depca_isa_probe 153 ia->ia_iomem[0].ir_size, 0, &memh)) 157 bus_space_unmap(ia->ia_memt, memh, ia->ia_iomem[0].ir_size);
|
if_cs_isa.c | 71 bus_space_handle_t ioh, memh; local in function:cs_isa_probe 178 if (bus_space_map(ia->ia_memt, maddr, CS8900_MEMSIZE, 0, &memh)) { 205 bus_space_unmap(memt, memh, CS8900_MEMSIZE);
|
depca_isa.c | 122 bus_space_handle_t memh; local in function:depca_isa_probe 153 ia->ia_iomem[0].ir_size, 0, &memh)) 157 bus_space_unmap(ia->ia_memt, memh, ia->ia_iomem[0].ir_size);
|
if_cs_isa.c | 71 bus_space_handle_t ioh, memh; local in function:cs_isa_probe 178 if (bus_space_map(ia->ia_memt, maddr, CS8900_MEMSIZE, 0, &memh)) { 205 bus_space_unmap(memt, memh, CS8900_MEMSIZE);
|
i82365_isa.c | 94 bus_space_handle_t ioh, memh; local in function:pcic_isa_probe 120 msize, 0, &memh)) { 165 bus_space_unmap(ia->ia_memt, memh, msize); 193 bus_space_handle_t memh; local in function:pcic_isa_attach 206 ia->ia_iomem[0].ir_size, 0, &memh)) { 221 sc->memh = memh;
|
i82365_isa.c | 94 bus_space_handle_t ioh, memh; local in function:pcic_isa_probe 120 msize, 0, &memh)) { 165 bus_space_unmap(ia->ia_memt, memh, msize); 193 bus_space_handle_t memh; local in function:pcic_isa_attach 206 ia->ia_iomem[0].ir_size, 0, &memh)) { 221 sc->memh = memh;
|
if_we_isa.c | 110 bus_space_handle_t asich, memh; local in function:we_isa_probe 196 if (bus_space_map(memt, ia->ia_iomem[0].ir_addr, memsize, 0, &memh)) 255 bus_space_unmap(memt, memh, memsize); 266 bus_space_handle_t nich, asich, memh; local in function:we_isa_attach 299 ia->ia_iomem[0].ir_size, 0, &memh)) { 311 sc->sc_bufh = memh;
|
tcic2_isa.c | 146 bus_space_handle_t ioh, memh; local in function:tcic_isa_probe 172 msize, 0, &memh)) { 197 bus_space_unmap(ia->ia_memt, memh, msize); 224 bus_space_handle_t memh; local in function:tcic_isa_attach 237 ia->ia_iomem[0].ir_size, 0, &memh)) { 253 sc->memh = memh;
|
/src/sys/dev/pci/ |
i82365_pci.c | 118 bus_space_handle_t memh; local in function:pcic_pci_attach 142 if (bus_space_map(memt, 0xd0000, 0x4000, 0, &memh)) 158 sc->memh = memh;
|
if_mtd_pci.c | 88 bus_space_handle_t ioh, memh; local in function:mtd_pci_attach 98 | PCI_MAPREG_MEM_TYPE_32BIT, 0, &memt, &memh, 103 sc->bus_handle = memh;
|
i82365_pci.c | 118 bus_space_handle_t memh; local in function:pcic_pci_attach 142 if (bus_space_map(memt, 0xd0000, 0x4000, 0, &memh)) 158 sc->memh = memh;
|
if_mtd_pci.c | 88 bus_space_handle_t ioh, memh; local in function:mtd_pci_attach 98 | PCI_MAPREG_MEM_TYPE_32BIT, 0, &memt, &memh, 103 sc->bus_handle = memh;
|
if_rtk_pci.c | 160 bus_space_handle_t ioh, memh; local in function:rtk_pci_attach 195 &memt, &memh, NULL, &memsize) == 0); 201 bus_space_unmap(memt, memh, memsize); 204 sc->rtk_bhandle = memh;
|
siop_pci_common.c | 241 bus_space_handle_t ioh, memh; local in function:siop_pci_attach_common 283 &memt, &memh, &memaddr, NULL) == 0); 294 siop_sc->sc_rh = memh;
|
/src/sys/arch/dreamcast/dev/g2/ |
if_mbe_g2.c | 116 bus_space_handle_t memh; local in function:mbe_g2_match 133 if (bus_space_map(memt, 0x00600400, LANA_NPORTS, 0, &memh)) { 140 if (mbe_g2_detect(memt, memh, myea) == 0) { 148 bus_space_unmap(memt, memh, LANA_NPORTS); 193 bus_space_handle_t memh; local in function:mbe_g2_attach 202 if (bus_space_map(memt, 0x00600400, LANA_NPORTS, 0, &memh)) { 208 sc->sc_bsh = memh; 211 if (mbe_g2_detect(memt, memh, myea) == 0) {
|
if_mbe_g2.c | 116 bus_space_handle_t memh; local in function:mbe_g2_match 133 if (bus_space_map(memt, 0x00600400, LANA_NPORTS, 0, &memh)) { 140 if (mbe_g2_detect(memt, memh, myea) == 0) { 148 bus_space_unmap(memt, memh, LANA_NPORTS); 193 bus_space_handle_t memh; local in function:mbe_g2_attach 202 if (bus_space_map(memt, 0x00600400, LANA_NPORTS, 0, &memh)) { 208 sc->sc_bsh = memh; 211 if (mbe_g2_detect(memt, memh, myea) == 0) {
|
/src/sys/dev/isapnp/ |
i82365_isapnp.c | 114 bus_space_handle_t memh; local in function:pcic_isapnp_attach 153 if (isa_mem_alloc(memt, msize, msize, 0, 0, &maddr, &memh)) { 167 sc->memh = memh;
|
i82365_isapnp.c | 114 bus_space_handle_t memh; local in function:pcic_isapnp_attach 153 if (isa_mem_alloc(memt, msize, msize, 0, 0, &maddr, &memh)) { 167 sc->memh = memh;
|
/src/sys/arch/mips/ralink/ |
ralink_wdog.c | 155 bus_space_handle_t memh; local in function:ra_wdog_attach 162 error = bus_space_map(ma->ma_memt, RA_TIMER_BASE, 0x100, 0, &memh); 170 sc->sc_memh = memh; 192 bus_space_write_4(sc->sc_memt, memh, RA_TIMER_0_CNTRL, 0); 193 bus_space_write_4(sc->sc_memt, memh, RA_TIMER_1_CNTRL, 0);
|
/src/sys/arch/prep/pnpbus/ |
if_we_pnpbus.c | 152 bus_space_handle_t nich, asich, memh; local in function:we_pnpbus_attach 189 if (pnpbus_iomem_map(&pna->pna_res, 0, &memt, &memh) == 0) 191 else if (bus_space_map(memt, WE_DEFAULT_IOMEM, memsize, 0, &memh)) { 204 sc->sc_bufh = memh;
|
/src/sys/arch/sparc64/sparc64/ |
rbus_machdep.c | 205 bus_space_handle_t memh = sc->sc_base_memh; local in function:pccbb_cardbus_isvalid 209 sockstat = bus_space_read_4(memt, memh, CB_SOCKET_STAT); 217 sockctrl = bus_space_read_4(memt, memh, CB_SOCKET_CTRL);
|
/src/sys/dev/cardbus/ |
if_fxp_cardbus.c | 122 bus_space_handle_t ioh, memh; local in function:fxp_cardbus_attach 140 0, &memt, &memh, &adr, &sc->sc_size) == 0) { 143 sc->sc_sh = memh;
|