/illumos-gate/usr/src/uts/intel/sys/ |
H A D | ddi_isa.h | 122 } ddi_acc_impl_t; typedef 129 i_ddi_vaddr_get8(ddi_acc_impl_t *hdlp, uint8_t *addr); 132 i_ddi_vaddr_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 135 i_ddi_vaddr_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 138 i_ddi_vaddr_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 141 i_ddi_vaddr_swap_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 144 i_ddi_vaddr_swap_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 147 i_ddi_vaddr_swap_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 153 i_ddi_vaddr_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value); 156 i_ddi_vaddr_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); [all …]
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | ddi_isa.h | 106 } ddi_acc_impl_t; typedef 112 i_ddi_get8(ddi_acc_impl_t *hdlp, uint8_t *addr); 115 i_ddi_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 118 i_ddi_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 121 i_ddi_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 124 i_ddi_swap_get16(ddi_acc_impl_t *hdlp, uint16_t *addr); 127 i_ddi_swap_get32(ddi_acc_impl_t *hdlp, uint32_t *addr); 130 i_ddi_swap_get64(ddi_acc_impl_t *hdlp, uint64_t *addr); 136 i_ddi_put8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value); 139 i_ddi_put16(ddi_acc_impl_t *hdlp, uint16_t *addr, uint16_t value); [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.h | 63 uint8_t pci_config_rd8(ddi_acc_impl_t *hdlp, uint8_t *addr); 64 uint16_t pci_config_rd16(ddi_acc_impl_t *hdlp, uint16_t *addr); 65 uint32_t pci_config_rd32(ddi_acc_impl_t *hdlp, uint32_t *addr); 66 uint64_t pci_config_rd64(ddi_acc_impl_t *hdlp, uint64_t *addr); 68 void pci_config_wr8(ddi_acc_impl_t *hdlp, uint8_t *addr, 70 void pci_config_wr16(ddi_acc_impl_t *hdlp, uint16_t *addr, 72 void pci_config_wr32(ddi_acc_impl_t *hdlp, uint32_t *addr, 74 void pci_config_wr64(ddi_acc_impl_t *hdlp, uint64_t *addr, 77 void pci_config_rep_rd8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, 79 void pci_config_rep_rd16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, [all …]
|
H A D | pci_common.c | 1134 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_common_ctlops_poke() 1291 ddi_acc_impl_t *ap = (ddi_acc_impl_t *)hp->ah_platform_private; in pci_fm_acc_setup() 1352 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_common_ctlops_peek() 1528 pci_config_rd8(ddi_acc_impl_t *hdlp, uint8_t *addr) in pci_config_rd8() 1547 pci_config_rep_rd8(ddi_acc_impl_t *hdlp, uint8_t *host_addr, in pci_config_rep_rd8() 1564 pci_config_rd16(ddi_acc_impl_t *hdlp, uint16_t *addr) in pci_config_rd16() 1583 pci_config_rep_rd16(ddi_acc_impl_t *hdlp, uint16_t *host_addr, in pci_config_rep_rd16() 1600 pci_config_rd32(ddi_acc_impl_t *hdlp, uint32_t *addr) in pci_config_rd32() 1619 pci_config_rep_rd32(ddi_acc_impl_t *hdlp, uint32_t *host_addr, in pci_config_rep_rd32() 1637 pci_config_wr8(ddi_acc_impl_t *hdlp, uint8_t *addr, uint8_t value) in pci_config_wr8() [all …]
|
H A D | pci.c | 339 ddi_acc_impl_t *hdlp; in pci_bus_map() 354 hdlp = (ddi_acc_impl_t *)(mp->map_handlep)->ah_platform_private; in pci_bus_map()
|
/illumos-gate/usr/src/uts/intel/os/ |
H A D | ddi_i86.c | 151 ddi_acc_impl_t *hp; in impl_acc_hdl_alloc() 159 if ((hp = kmem_zalloc(sizeof (ddi_acc_impl_t), sleepflag)) == NULL) in impl_acc_hdl_alloc() 163 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_alloc() 169 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_alloc() 186 ddi_acc_impl_t *hp; in impl_acc_hdl_free() 192 hp = (ddi_acc_impl_t *)handle; in impl_acc_hdl_free() 196 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_free() 233 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init() 272 ddi_acc_impl_t *hp; in impl_acc_hdl_init() 285 hp = (ddi_acc_impl_t *)handlep->ah_platform_private; in impl_acc_hdl_init() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | isadma.c | 356 isadma_norep_get8(ddi_acc_impl_t *handle, uint8_t *host_addr, in isadma_norep_get8() 363 isadma_norep_get16(ddi_acc_impl_t *handle, uint16_t *host_addr, in isadma_norep_get16() 370 isadma_norep_get32(ddi_acc_impl_t *handle, uint32_t *host_addr, in isadma_norep_get32() 377 isadma_norep_get64(ddi_acc_impl_t *handle, uint64_t *host_addr, in isadma_norep_get64() 384 isadma_norep_put8(ddi_acc_impl_t *handle, uint8_t *host_addr, in isadma_norep_put8() 391 isadma_norep_put16(ddi_acc_impl_t *handle, uint16_t *host_addr, in isadma_norep_put16() 398 isadma_norep_put32(ddi_acc_impl_t *handle, uint32_t *host_addr, in isadma_norep_put32() 405 isadma_norep_put64(ddi_acc_impl_t *handle, uint64_t *host_addr, in isadma_norep_put64() 412 isadma_get8(ddi_acc_impl_t *hdlp, uint8_t *addr) in isadma_get8() 453 isadma_get16(ddi_acc_impl_t *hdlp, uint16_t *addr) in isadma_get16() [all …]
|
H A D | pmubus.c | 335 pmubus_norep_get8(ddi_acc_impl_t *handle, uint8_t *host_addr, in pmubus_norep_get8() 342 pmubus_norep_get16(ddi_acc_impl_t *handle, uint16_t *host_addr, in pmubus_norep_get16() 349 pmubus_norep_get32(ddi_acc_impl_t *handle, uint32_t *host_addr, in pmubus_norep_get32() 356 pmubus_norep_get64(ddi_acc_impl_t *handle, uint64_t *host_addr, in pmubus_norep_get64() 363 pmubus_norep_put8(ddi_acc_impl_t *handle, uint8_t *host_addr, in pmubus_norep_put8() 370 pmubus_norep_put16(ddi_acc_impl_t *handle, uint16_t *host_addr, in pmubus_norep_put16() 377 pmubus_norep_put32(ddi_acc_impl_t *handle, uint32_t *host_addr, in pmubus_norep_put32() 384 pmubus_norep_put64(ddi_acc_impl_t *handle, uint64_t *host_addr, in pmubus_norep_put64() 391 pmubus_get8(ddi_acc_impl_t *hdlp, uint8_t *addr) in pmubus_get8() 427 pmubus_noget16(ddi_acc_impl_t *hdlp, uint16_t *addr) in pmubus_noget16() [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | ddi_impl.c | 1262 return (&((ddi_acc_impl_t *)hdl)->ahi_common); in impl_acc_hdl_get() 1268 ddi_acc_impl_t *hp; in impl_acc_hdl_alloc() 1277 if ((hp = kmem_zalloc(sizeof (ddi_acc_impl_t), sleepflag)) == NULL) in impl_acc_hdl_alloc() 1281 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_alloc() 1287 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_alloc() 1304 ddi_acc_impl_t *hp; in impl_acc_hdl_free() 1310 hp = (ddi_acc_impl_t *)handle; in impl_acc_hdl_free() 1314 kmem_free(hp, sizeof (ddi_acc_impl_t)); in impl_acc_hdl_free() 1382 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)handlep; in impl_acc_err_init() 1417 ddi_acc_impl_t *hp; in impl_acc_hdl_init() [all …]
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_lib4v.c | 1293 px_pci_config_get(ddi_acc_impl_t *handle, uint32_t *addr, int size) in px_pci_config_get() 1328 px_pci_config_put(ddi_acc_impl_t *handle, uint32_t *addr, in px_pci_config_put() 1345 px_pci_config_get8(ddi_acc_impl_t *handle, uint8_t *addr) in px_pci_config_get8() 1351 px_pci_config_get16(ddi_acc_impl_t *handle, uint16_t *addr) in px_pci_config_get16() 1357 px_pci_config_get32(ddi_acc_impl_t *handle, uint32_t *addr) in px_pci_config_get32() 1363 px_pci_config_get64(ddi_acc_impl_t *handle, uint64_t *addr) in px_pci_config_get64() 1374 px_pci_config_put8(ddi_acc_impl_t *handle, uint8_t *addr, uint8_t data) in px_pci_config_put8() 1383 px_pci_config_put16(ddi_acc_impl_t *handle, uint16_t *addr, uint16_t data) in px_pci_config_put16() 1392 px_pci_config_put32(ddi_acc_impl_t *handle, uint32_t *addr, uint32_t data) in px_pci_config_put32() 1401 px_pci_config_put64(ddi_acc_impl_t *handle, uint64_t *addr, uint64_t data) in px_pci_config_put64() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | db21554.c | 351 static uint8_t db_ddi_get8(ddi_acc_impl_t *handle, uint8_t *addr); 352 static uint16_t db_ddi_get16(ddi_acc_impl_t *handle, uint16_t *addr); 353 static uint32_t db_ddi_get32(ddi_acc_impl_t *handle, uint32_t *addr); 354 static uint64_t db_ddi_get64(ddi_acc_impl_t *handle, uint64_t *addr); 355 static void db_ddi_put8(ddi_acc_impl_t *handle, uint8_t *addr, 357 static void db_ddi_put16(ddi_acc_impl_t *handle, uint16_t *addr, 359 static void db_ddi_put32(ddi_acc_impl_t *handle, uint32_t *addr, 361 static void db_ddi_put64(ddi_acc_impl_t *handle, uint64_t *addr, 363 static void db_ddi_rep_get8(ddi_acc_impl_t *handle, uint8_t *host_addr, 365 static void db_ddi_rep_get16(ddi_acc_impl_t *handle, uint16_t *host_addr, [all …]
|
H A D | pci_fm.c | 79 ddi_acc_impl_t *ap; in pci_fm_acc_setup() 82 ap = (ddi_acc_impl_t *)hp->ah_platform_private; in pci_fm_acc_setup()
|
H A D | pci.c | 1024 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)cautacc_ctlops_arg->handle; in pci_do_caut_put() 1122 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)cautacc_ctlops_arg->handle; in pci_do_caut_get()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ddi_impl.c | 1604 ddi_acc_impl_t *iap; in i_ddi_mem_alloc() 1698 iap = (ddi_acc_impl_t *)ap->ah_platform_private; in i_ddi_mem_alloc() 2401 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_peekpoke_check_fma() 2488 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_peekpoke_check_nofma() 2535 ddi_acc_impl_t *hp = (ddi_acc_impl_t *)in_args->handle; in pci_peekpoke_check() 2775 i_ddi_caut_getput_ctlops(ddi_acc_impl_t *hp, uint64_t host_addr, in i_ddi_caut_getput_ctlops() 2793 i_ddi_caut_get8(ddi_acc_impl_t *hp, uint8_t *addr) in i_ddi_caut_get8() 2803 i_ddi_caut_get16(ddi_acc_impl_t *hp, uint16_t *addr) in i_ddi_caut_get16() 2813 i_ddi_caut_get32(ddi_acc_impl_t *hp, uint32_t *addr) in i_ddi_caut_get32() 2823 i_ddi_caut_get64(ddi_acc_impl_t *hp, uint64_t *addr) in i_ddi_caut_get64() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 909 errp = ((ddi_acc_impl_t *)handle)->ahi_err; in ddi_fm_acc_err_get() 977 errp = ((ddi_acc_impl_t *)handle)->ahi_err; in ddi_fm_acc_err_clear() 1016 ddi_acc_impl_t *i_hdlp = (ddi_acc_impl_t *)handle; in i_ddi_fm_acc_err_set() 1041 ddi_acc_impl_t *i_hdlp = (ddi_acc_impl_t *)handle; in i_ddi_fm_acc_err_cf_get()
|
H A D | ndifm.c | 250 fpp = &((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_insert() 328 fep = ((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_remove() 329 ((ddi_acc_impl_t *)resource)->ahi_err->err_fep = NULL; in ndi_fmc_remove()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | i8042.c | 400 static uint8_t i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr); 401 static void i8042_put8(ddi_acc_impl_t *handlep, uint8_t *addr, 404 static uint8_t i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr); 842 ddi_acc_impl_t *ap; in i8042_map() 929 ap = (ddi_acc_impl_t *)handle->ah_platform_private; in i8042_map() 1142 i8042_get8(ddi_acc_impl_t *handlep, uint8_t *addr) in i8042_get8() 1295 i8042_put8(ddi_acc_impl_t *handlep, uint8_t *addr, uint8_t value) in i8042_put8()
|
H A D | bofi.c | 204 static int bofi_check_acc_hdl(ddi_acc_impl_t *); 2420 ddi_acc_impl_t *hdlp; in do_pior_corrupt() 2476 hdlp = (ddi_acc_impl_t *)(hp->hdl.acc_handle); in do_pior_corrupt() 2536 ddi_acc_impl_t *hdlp; in do_piow_corrupt() 2575 hdlp = (ddi_acc_impl_t *)(hp->hdl.acc_handle); in do_piow_corrupt() 2640 bofi_rd8(ddi_acc_impl_t *handle, uint8_t *addr) in bofi_rd8() 2667 bofi_rd16(ddi_acc_impl_t *handle, uint16_t *addr) in bofi_rd16() 2694 bofi_rd32(ddi_acc_impl_t *handle, uint32_t *addr) in bofi_rd32() 2721 bofi_rd64(ddi_acc_impl_t *handle, uint64_t *addr) in bofi_rd64() 2751 bofi_wr8(ddi_acc_impl_t *handle, uint8_t *addr, uint8_t value) in bofi_wr8() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | bofi_impl.h | 66 ddi_acc_impl_t acc;
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fm.c | 145 ddi_acc_impl_t *ap; in px_fm_acc_setup() 148 ap = (ddi_acc_impl_t *)hp->ah_platform_private; in px_fm_acc_setup() 172 errp = ((ddi_acc_impl_t *)hp)->ahi_err; in px_fm_acc_setup() 197 errp = ((ddi_acc_impl_t *)hp)->ahi_err; in px_fm_acc_setup()
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.h | 177 extern void pcieb_set_prot_scan(dev_info_t *dip, ddi_acc_impl_t *hdlp);
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe.c | 84 (((ddi_acc_impl_t *)((ddi_acc_hdl_t *)(hp))-> \ 508 ddi_acc_impl_t *ap; in npe_bus_map() 784 ap = (ddi_acc_impl_t *)mp->map_handlep; in npe_bus_map()
|
/illumos-gate/usr/src/uts/common/pcmcia/cs/ |
H A D | cs_stubs.c | 1157 (ddi_acc_handle_t *)kmem_alloc(sizeof (ddi_acc_impl_t), in csx_DupHandle() 1161 sizeof (ddi_acc_impl_t)); in csx_DupHandle() 1179 sizeof (ddi_acc_impl_t)); in csx_FreeHandle()
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 460 ddi_acc_impl_t *hdlp = in ppb_bus_map() 461 (ddi_acc_impl_t *)(mp->map_handlep)->ah_platform_private; in ppb_bus_map()
|
/illumos-gate/usr/src/uts/sparc/io/pciex/ |
H A D | pcieb_sparc.c | 59 pcieb_set_prot_scan(dev_info_t *dip, ddi_acc_impl_t *hdlp) in pcieb_set_prot_scan()
|