| /src/sys/arch/hp300/dev/ |
| sti_sgc.c | 74 bus_space_handle_t romh; local in function:sti_sgc_attach 87 if (bus_space_map(bst, base, PAGE_SIZE, 0, &romh)) { 94 romend = sti_rom_size(bst, romh); 96 bus_space_unmap(bst, romh, PAGE_SIZE); 98 if (bus_space_map(bst, base, romend, 0, &romh)) { 103 ssc->bases[0] = romh; 107 if (sti_attach_common(ssc, bst, bst, romh, 145 bus_space_handle_t romh; local in function:sti_sgc_cnprobe 150 if (bus_space_map(bst, base, PAGE_SIZE, 0, &romh)) 153 va = bus_space_vaddr(bst, romh); [all...] |
| sti_dio.c | 81 bus_space_handle_t romh; local in function:sti_dio_attach 98 if (bus_space_map(bst, base, PAGE_SIZE, 0, &romh)) { 106 romend = sti_rom_size(bst, romh); 108 bus_space_unmap(bst, romh, PAGE_SIZE); 110 if (bus_space_map(bst, base, romend, 0, &romh)) { 115 ssc->bases[0] = romh; 119 if (sti_attach_common(ssc, bst, bst, romh,
|
| /src/sys/arch/hppa/dev/ |
| sti_sgc.c | 156 bus_space_handle_t romh; local in function:sti_sgc_probe 179 if ((rv = bus_space_map(ca->ca_iot, rom, STI_ROMSIZE, 0, &romh))) { 183 romh = rom; 191 devtype = bus_space_read_1(ca->ca_iot, romh, 3); 197 id = bus_space_read_4(ca->ca_iot, romh, STI_DEV4_DD_GRID); 200 id = (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 202 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 204 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 206 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 226 ca->ca_addrs[ca->ca_naddrs].size = sti_rom_size(ca->ca_iot, romh); 239 bus_space_handle_t romh; local in function:sti_sgc_attach [all...] |
| sti_pci_machdep.c | 154 bus_space_handle_t romh; local in function:sti_pci_check_rom 178 0, &romh); 195 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 211 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 223 subsize = (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 240 suboffs = offs +(bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 242 tmp = bus_space_read_4(pa->pa_memt, romh, suboffs + 0); 257 tmp = bus_space_read_1(pa->pa_memt, romh, suboffs + 0x14); 296 (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, selected + 0x0e); 299 bus_space_read_1(pa->pa_memt, romh, offs + i)) [all...] |
| hyperfb.c | 248 bus_space_handle_t romh; local in function:hyperfb_match 271 if (bus_space_map(ca->ca_iot, rom, STI_ROMSIZE, 0, &romh)) { 275 romh = rom; 283 devtype = bus_space_read_1(ca->ca_iot, romh, 3); 288 id = bus_space_read_4(ca->ca_iot, romh, STI_DEV4_DD_GRID); 291 id = (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 293 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 295 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 297 (bus_space_read_1(ca->ca_iot, romh, STI_DEV1_DD_GRID 309 ca->ca_addrs[ca->ca_naddrs].size = sti_rom_size(ca->ca_iot, romh); [all...] |
| /src/sys/dev/cardbus/ |
| cardbus_exrom.c | 91 cardbus_read_exrom(bus_space_tag_t romt, bus_space_handle_t romh, 105 val = READ_INT16(romt, romh, addr + CARDBUS_EXROM_SIGNATURE); 113 READ_INT16(romt, romh, addr + CARDBUS_EXROM_DATA_PTR); 115 image_size = READ_INT16(romt, romh, 128 if (bus_space_subregion(romt, romh, addr, 129 image_size, &image->romh)) { 137 } while ((bus_space_read_1(romt, romh,
|
| cardbus_exrom.h | 59 bus_space_handle_t romh; /* subregion */ member in struct:cardbus_rom_image
|
| cardbus.c | 246 p->romh, CARDBUS_CIS_ADDR(cis_ptr),
|
| /src/sys/dev/pci/ |
| if_hme_pci.c | 97 hmevpdoff(bus_space_tag_t romt, bus_space_handle_t romh, int vpdoff, int dev) 100 if (bus_space_read_1(romt, romh, vpdoff + VPDLEN) != 0x79 && 101 bus_space_read_1(romt, romh, vpdoff + 4 * VPDLEN) == 0x79) { 125 bus_space_handle_t romh; local in function:hmeattach_pci 241 &romt, &romh, 0, &romsize) == 0) { 244 bus_space_read_region_1(romt, romh, 0, buf, sizeof buf); 250 bus_space_read_region_1(romt, romh, dataoff, 264 vpdoff = hmevpdoff(romt, romh, vpdoff, 267 bus_space_read_region_1(romt, romh, 284 bus_space_unmap(romt, romh, romsize) [all...] |
| sti_pci.c | 144 bus_space_handle_t romh; local in function:sti_check_rom 168 0, &romh); 185 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 201 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 213 subsize = (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 230 suboffs = offs +(bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 232 tmp = bus_space_read_4(pa->pa_memt, romh, suboffs + 0); 247 tmp = bus_space_read_1(pa->pa_memt, romh, suboffs + 0x14); 288 (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, selected + 0x0e); 291 bus_space_read_1(pa->pa_memt, romh, offs + i)) [all...] |
| if_gem_pci.c | 173 bus_space_handle_t romh; local in function:gem_pci_attach 258 GEM_PCI_ROM_OFFSET, GEM_PCI_ROM_SIZE, &romh)) == 0) { 262 romh, 0, buf, GEM_TMP_BUFSIZE); 314 bus_space_read_region_1(sc->sc_bustag, romh, 331 romh, vpdoff, buf, 64);
|
| pci_map.c | 677 bus_space_handle_t *romh, bus_size_t *romsz) 742 bus_space_subregion(bst, bsh, offset, imagesz, romh);
|
| if_cas.c | 221 bus_space_handle_t romh; local in function:cas_pci_readvpd 232 &romt, &romh, NULL, &romsize)) 239 bus_space_read_region_1(romt, romh, 0, buf, sizeof(buf)); 247 bus_space_read_region_1(romt, romh, dataoff, buf, sizeof(buf)); 258 bus_space_read_region_1(romt, romh, vpdoff, buf, sizeof(buf)); 279 byte = bus_space_read_1(romt, romh, vpdoff + i); 288 bus_space_read_region_1(romt, romh, vpdoff, 387 bus_space_unmap(romt, romh, romsize);
|
| radeonfb.c | 1384 bus_space_handle_t romh, biosh; local in function:radeonfb_loadbios 1391 BUS_SPACE_MAP_PREFETCHABLE, &romt, &romh, NULL, &romsz) != 0) { 1396 pci_find_rom(pa, romt, romh, romsz, PCI_ROM_CODE_TYPE_X86, &biosh, 1425 pci_find_rom(pa, romt, romh, romsz, PCI_ROM_CODE_TYPE_X86, &biosh, 1447 bus_space_unmap(romt, romh, romsz);
|
| /src/sys/dev/ic/ |
| sti.c | 155 ((bus_space_read_1(memt, romh, (o) + 3) << 8) | \ 156 (bus_space_read_1(memt, romh, (o) + 7))) 158 ((bus_space_read_1(memt, romh, (o) + 3) << 24) | \ 159 (bus_space_read_1(memt, romh, (o) + 7) << 16) | \ 160 (bus_space_read_1(memt, romh, (o) + 11) << 8) | \ 161 (bus_space_read_1(memt, romh, (o) + 15))) 165 bus_space_tag_t memt, bus_space_handle_t romh, u_int codebase) 173 rc = sti_rom_setup(rom, iot, memt, romh, sc->bases, codebase); 213 bus_space_handle_t romh, bus_addr_t *bases, u_int codebase) 223 rom->romh = romh 403 bus_space_handle_t romh = rom->romh; local in function:sti_region_setup 502 bus_space_handle_t romh = rom->romh; local in function:sti_screen_setup 837 bus_space_handle_t romh = rom->romh; local in function:sti_fetchfonts 1496 bus_space_handle_t romh; local in function:sti_cnattach [all...] |
| stivar.h | 44 bus_space_handle_t romh; member in struct:sti_rom
|