Home
last modified time | relevance | path

Searched refs:regh (Results 1 – 25 of 25) sorted by relevance

/titanic_41/usr/src/uts/common/io/xge/drv/
H A Dxge_osdep.h318 #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 Dadapter.c29 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 Dadapter.h446 ddi_acc_handle_t regh; member
H A Dt4_nexus.c327 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 Dnpi_rx_rd64.h239 *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 Dnpi_rx_wr64.h217 ddi_put64(handle.regh, in RXDMA_REG_WRITE64()
220 ddi_put64(handle.regh, in RXDMA_REG_WRITE64()
H A Dnpi_tx_rd64.h139 *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 Dnpi_tx_wr64.h139 ddi_put64(handle.regh, in TXDMA_REG_WRITE64()
142 ddi_put64(handle.regh, in TXDMA_REG_WRITE64()
H A Dnpi_rx_rd32.h126 return (ddi_get32(handle.regh, (uint32_t *)(handle.regp + offset))); in RXDMA_REG_READ32()
H A Dnpi.h204 npi_reg_handle_t regh; member
H A Dnpi_rxdma.c1253 handle.regp, handle.regh, clk_div.value)); in npi_rxdma_cfg_clock_div_set()
/titanic_41/usr/src/uts/common/sys/nxge/
H A Dnxge_impl.h157 #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 Dnxge_common_impl.h34 #define NPI_REGH(npi_handle) (npi_handle.regh)
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_impl.h100 #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 Dhpi.h154 hpi_reg_handle_t regh; member
H A Dhxge_common_impl.h33 #define HPI_REGH(hpi_handle) (hpi_handle.regh)
H A Dhpi_rxdma.c479 handle.regp, handle.regh, clk_div.value)); in hpi_rxdma_cfg_clock_div_set()
H A Dhxge_send.c241 hpi_desc_handle.regh = (hxge_os_acc_handle_t) in hxge_start()
H A Dhxge_rxdma.c3338 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 Dpicldevtree.c2943 picl_prophdl_t regh; in get_first_reg_word() local
2946 err = ptree_get_prop_by_name(nodeh, OBP_REG, &regh); 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, &regh); 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, &regh); in get_unitaddr()
[all …]
/titanic_41/usr/src/uts/common/io/nxge/
H A Dnxge_hio_guest.c89 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 Dnxge_send.c408 npi_desc_handle.regh = (nxge_os_acc_handle_t) in nxge_start()
H A Dnxge_rxdma.c4231 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 Dxgehal-device.h423 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 Dxgehal-device.c87 __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()