/src/sys/dev/cardbus/ |
cardbus_exrom.h | 59 bus_space_handle_t romh; /* subregion */ member in struct:cardbus_rom_image
|
/src/sys/arch/hp300/dev/ |
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,
|
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...] |
/src/sys/dev/pci/ |
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_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) { 126 bus_space_handle_t romh; local in function:hmeattach_pci 246 &romt, &romh, 0, &romsize) == 0) { 249 bus_space_read_region_1(romt, romh, 0, buf, sizeof buf); 255 bus_space_read_region_1(romt, romh, dataoff, 269 vpdoff = hmevpdoff(romt, romh, vpdoff, 272 bus_space_read_region_1(romt, romh, 289 bus_space_unmap(romt, romh, romsize) [all...] |
if_gem_pci.c | 155 bus_space_handle_t romh; local in function:gem_pci_attach 262 GEM_PCI_ROM_OFFSET, GEM_PCI_ROM_SIZE, &romh)) == 0) { 266 romh, 0, buf, GEM_TMP_BUFSIZE); 318 bus_space_read_region_1(sc->sc_bustag, romh, 335 romh, vpdoff, buf, 64);
|
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/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...] |
gftfb.c | 345 bus_space_handle_t romh; local in function:gftfb_check_rom 369 0, &romh); 386 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 402 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 414 subsize = (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 431 suboffs = offs +(bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 433 tmp = bus_space_read_4(pa->pa_memt, romh, suboffs + 0); 448 tmp = bus_space_read_1(pa->pa_memt, romh, suboffs + 0x14); 487 (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, selected + 0x0e); 490 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...] |
summitfb.c | 377 bus_space_handle_t romh; local in function:summitfb_check_rom 401 0, &romh); 418 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 0); 434 tmp = bus_space_read_4(pa->pa_memt, romh, offs + 4); 446 subsize = (bus_addr_t)bus_space_read_2(pa->pa_memt, romh, 463 suboffs = offs + bus_space_read_2(pa->pa_memt, romh, 465 tmp = bus_space_read_4(pa->pa_memt, romh, suboffs + 0); 480 tmp = bus_space_read_1(pa->pa_memt, romh, suboffs + 0x14); 518 offs = selected + bus_space_read_2(pa->pa_memt, romh, selected + 0x0e); 521 bus_space_read_1(pa->pa_memt, romh, offs + i)) [all...] |
/src/sys/dev/ic/ |
stivar.h | 44 bus_space_handle_t romh; member in struct:sti_rom
|
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...] |