/titanic_41/usr/src/uts/common/io/xge/drv/ |
H A D | xge_osdep.h | 318 #define xge_os_pio_mem_read8(pdev, regh, addr) \ argument 319 (ddi_get8(regh, (uint8_t *)(addr))) 321 #define xge_os_pio_mem_write8(pdev, regh, val, addr) \ argument 322 (ddi_put8(regh, (uint8_t *)(addr), val)) 324 #define xge_os_pio_mem_read16(pdev, regh, addr) \ argument 325 (ddi_get16(regh, (uint16_t *)(addr))) 327 #define xge_os_pio_mem_write16(pdev, regh, val, addr) \ argument 328 (ddi_put16(regh, (uint16_t *)(addr), val)) 330 #define xge_os_pio_mem_read32(pdev, regh, addr) \ argument 331 (ddi_get32(regh, (uint32_t *)(addr))) [all …]
|
/titanic_41/usr/src/uts/common/io/cxgbe/t4nex/ |
H A D | adapter.c | 29 return (ddi_get32(sc->regh, (uint32_t *)(sc->regp + reg))); in t4_read_reg() 36 ddi_put32(sc->regh, (uint32_t *)(sc->regp + reg), val); in t4_write_reg() 79 return (ddi_get64(sc->regh, (uint64_t *)(sc->regp + reg))); in t4_read_reg64() 86 ddi_put64(sc->regh, (uint64_t *)(sc->regp + reg), val); in t4_write_reg64()
|
H A D | adapter.h | 446 ddi_acc_handle_t regh; member
|
H A D | t4_nexus.c | 327 rc = ddi_regs_map_setup(dip, 1, &sc->regp, 0, 0, &da, &sc->regh); in t4_devo_attach() 765 if (sc->regh != NULL) in t4_devo_detach() 766 ddi_regs_map_free(&sc->regh); in t4_devo_detach()
|
/titanic_41/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_rx_rd64.h | 239 *value = ddi_get64(handle.regh, in RXDMA_REG_READ64() 242 *value = ddi_get64(handle.regh, (uint64_t *)(handle.regp + offset)); in RXDMA_REG_READ64()
|
H A D | npi_rx_wr64.h | 217 ddi_put64(handle.regh, in RXDMA_REG_WRITE64() 220 ddi_put64(handle.regh, in RXDMA_REG_WRITE64()
|
H A D | npi_tx_rd64.h | 139 *value = ddi_get64(handle.regh, in TXDMA_REG_READ64() 142 *value = ddi_get64(handle.regh, (uint64_t *)(handle.regp + offset)); in TXDMA_REG_READ64()
|
H A D | npi_tx_wr64.h | 139 ddi_put64(handle.regh, in TXDMA_REG_WRITE64() 142 ddi_put64(handle.regh, in TXDMA_REG_WRITE64()
|
H A D | npi_rx_rd32.h | 126 return (ddi_get32(handle.regh, (uint32_t *)(handle.regp + offset))); in RXDMA_REG_READ32()
|
H A D | npi.h | 204 npi_reg_handle_t regh; member
|
H A D | npi_rxdma.c | 1253 handle.regp, handle.regh, clk_div.value)); in npi_rxdma_cfg_clock_div_set()
|
/titanic_41/usr/src/uts/common/sys/nxge/ |
H A D | nxge_impl.h | 157 #define NPI_PCI_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_pci_handle.regh = ah) 160 #define NPI_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_handle.regh = ah) 168 #define NPI_REG_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_reg_handle.regh = ah) 176 #define NPI_MSI_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_msi_handle.regh = ah) 179 #define NPI_VREG_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_vreg_handle.regh = ah) 187 #define NPI_V2REG_ACC_HANDLE_SET(nxgep, ah) (nxgep->npi_v2reg_handle.regh = ah) 195 #define NPI_PCI_ACC_HANDLE_GET(nxgep) (nxgep->npi_pci_handle.regh) 197 #define NPI_ACC_HANDLE_GET(nxgep) (nxgep->npi_handle.regh) 199 #define NPI_REG_ACC_HANDLE_GET(nxgep) (nxgep->npi_reg_handle.regh) 201 #define NPI_MSI_ACC_HANDLE_GET(nxgep) (nxgep->npi_msi_handle.regh) [all …]
|
H A D | nxge_common_impl.h | 34 #define NPI_REGH(npi_handle) (npi_handle.regh)
|
/titanic_41/usr/src/uts/common/io/hxge/ |
H A D | hxge_impl.h | 100 #define HPI_PCI_ACC_HANDLE_SET(hxgep, ah) (hxgep->hpi_pci_handle.regh = ah) 103 #define HPI_ACC_HANDLE_SET(hxgep, ah) (hxgep->hpi_handle.regh = ah) 111 #define HPI_REG_ACC_HANDLE_SET(hxgep, ah) (hxgep->hpi_reg_handle.regh = ah) 119 #define HPI_MSI_ACC_HANDLE_SET(hxgep, ah) (hxgep->hpi_msi_handle.regh = ah) 127 #define HPI_DMA_ACC_HANDLE_SET(dmap, ah) (dmap->hpi_handle.regh = ah) 128 #define HPI_DMA_ACC_HANDLE_GET(dmap) (dmap->hpi_handle.regh)
|
H A D | hpi.h | 154 hpi_reg_handle_t regh; member
|
H A D | hxge_common_impl.h | 33 #define HPI_REGH(hpi_handle) (hpi_handle.regh)
|
H A D | hpi_rxdma.c | 479 handle.regp, handle.regh, clk_div.value)); in hpi_rxdma_cfg_clock_div_set()
|
H A D | hxge_send.c | 241 hpi_desc_handle.regh = (hxge_os_acc_handle_t) in hxge_start()
|
H A D | hxge_rxdma.c | 3338 hxgep->hpi_handle.regp, hxgep->hpi_handle.regh)); in hxge_rxdma_start_channel() 3449 hxgep->hpi_handle.regp, hxgep->hpi_handle.regh)); in hxge_rxdma_stop_channel()
|
/titanic_41/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 2943 picl_prophdl_t regh; in get_first_reg_word() local 2946 err = ptree_get_prop_by_name(nodeh, OBP_REG, ®h); in get_first_reg_word() 2949 err = ptree_get_propinfo(regh, &pinfo); in get_first_reg_word() 2957 err = ptree_get_propval(regh, regbuf, pinfo.piclinfo.size); in get_first_reg_word() 3303 picl_prophdl_t regh; in add_unitaddr_prop() local 3307 err = ptree_get_prop_by_name(nodeh, OBP_REG, ®h); in add_unitaddr_prop() 3311 err = ptree_get_propinfo(regh, &pinfo); in add_unitaddr_prop() 3323 err = ptree_get_propval(regh, regbuf, regproplen); in add_unitaddr_prop() 3349 picl_prophdl_t regh; in get_unitaddr() local 3357 err = ptree_get_prop_by_name(nodeh, OBP_REG, ®h); in get_unitaddr() [all …]
|
/titanic_41/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio_guest.c | 89 nxge->npi_handle.regh = regs->nxge_regh; in nxge_guest_regs_map() 97 nxge->npi_reg_handle.regh = regs->nxge_regh; in nxge_guest_regs_map() 105 nxge->npi_vreg_handle.regh = regs->nxge_regh; in nxge_guest_regs_map()
|
H A D | nxge_send.c | 408 npi_desc_handle.regh = (nxge_os_acc_handle_t) in nxge_start()
|
H A D | nxge_rxdma.c | 4231 nxgep->npi_handle.regp, nxgep->npi_handle.regh)); in nxge_rxdma_start_channel() 4379 nxgep->npi_handle.regp, nxgep->npi_handle.regh)); in nxge_rxdma_stop_channel()
|
/titanic_41/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-device.h | 423 void __hal_pio_mem_write32_upper(pci_dev_h pdev, pci_reg_h regh, u32 val, 426 void __hal_pio_mem_write32_lower(pci_dev_h pdev, pci_reg_h regh, u32 val,
|
/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-device.c | 87 __hal_pio_mem_write32_upper(pci_dev_h pdev, pci_reg_h regh, u32 val, void *addr) in __hal_pio_mem_write32_upper() argument 90 xge_os_pio_mem_write32(pdev, regh, val, addr); in __hal_pio_mem_write32_upper() 92 xge_os_pio_mem_write32(pdev, regh, val, (void *)((char *)addr + 4)); in __hal_pio_mem_write32_upper() 104 __hal_pio_mem_write32_lower(pci_dev_h pdev, pci_reg_h regh, u32 val, in __hal_pio_mem_write32_lower() argument 108 xge_os_pio_mem_write32(pdev, regh, val, in __hal_pio_mem_write32_lower() 111 xge_os_pio_mem_write32(pdev, regh, val, addr); in __hal_pio_mem_write32_lower()
|