Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_update.c477 ddi_acc_handle_t acc_hdl; in hci1394_ixl_update_prep_jump() local
539 acc_hdl = xferctlp->dma[xferctlp->cnt - 1].dma_buf->bi_handle; in hci1394_ixl_update_prep_jump()
551 desc_hdr = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_ixl_update_prep_jump()
877 ddi_acc_handle_t acc_hdl; in hci1394_ixl_update_prep_recv_pkt() local
960 acc_hdl = xferctlp->dma[0].dma_buf->bi_handle; in hci1394_ixl_update_prep_recv_pkt()
971 desc_hdr = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_ixl_update_prep_recv_pkt()
1080 ddi_acc_handle_t acc_hdl; in hci1394_ixl_update_prep_send_pkt() local
1181 acc_hdl = xferctlp->dma[0].dma_buf->bi_handle; in hci1394_ixl_update_prep_send_pkt()
1193 desc_hdr = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_ixl_update_prep_send_pkt()
1200 desc_hdr2 = ddi_get32(acc_hdl, &hcidescp->q2); in hci1394_ixl_update_prep_send_pkt()
[all …]
H A Dhci1394_ixl_misc.c246 ddi_acc_handle_t acc_hdl; in hci1394_ixl_check_status() local
254 acc_hdl = dma->dma_buf->bi_handle; in hci1394_ixl_check_status()
263 desc_status = ddi_get32(acc_hdl, &hcidescp->status); in hci1394_ixl_check_status()
279 ddi_put32(acc_hdl, &hcidescp->status, 0); in hci1394_ixl_check_status()
306 desc_hdr = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_ixl_check_status()
313 desc_status = ddi_get32(acc_hdl, &hcidescp->status); in hci1394_ixl_check_status()
332 ddi_put32(acc_hdl, &hcidescp->status, desc_status); in hci1394_ixl_check_status()
H A Dhci1394_ixl_comp.c832 ddi_acc_handle_t acc_hdl; in hci1394_finalize_all_xfer_desc() local
904 acc_hdl = xferctl_curp->dma[0].dma_buf->bi_handle; in hci1394_finalize_all_xfer_desc()
905 temp = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_finalize_all_xfer_desc()
907 ddi_put32(acc_hdl, &hcidescp->hdr, temp); in hci1394_finalize_all_xfer_desc()
931 acc_hdl = in hci1394_finalize_all_xfer_desc()
933 temp = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_finalize_all_xfer_desc()
935 ddi_put32(acc_hdl, &hcidescp->hdr, temp); in hci1394_finalize_all_xfer_desc()
957 acc_hdl = in hci1394_finalize_all_xfer_desc()
959 temp = ddi_get32(acc_hdl, &hcidescp->hdr); in hci1394_finalize_all_xfer_desc()
961 ddi_put32(acc_hdl, &hcidescp->hdr, temp); in hci1394_finalize_all_xfer_desc()
[all …]
H A Dhci1394_ixl_isr.c476 ddi_acc_handle_t acc_hdl; in hci1394_ixl_intr_check_done() local
567 acc_hdl = dma->dma_buf->bi_handle; in hci1394_ixl_intr_check_done()
575 desc_status = ddi_get32(acc_hdl, &hcidescp->status); in hci1394_ixl_intr_check_done()
720 acc_hdl = dma->dma_buf->bi_handle; in hci1394_ixl_intr_check_done()
728 desc_status = ddi_get32(acc_hdl, &hcidescp->status); in hci1394_ixl_intr_check_done()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_debug.c54 ddi_acc_handle_t acc_hdl; in pci_dump() local
269 0, mem_size, &igb_regs_acc_attr, &acc_hdl)) != DDI_SUCCESS) { in pci_dump()
280 ddi_get32(acc_hdl, in pci_dump()
283 ddi_get32(acc_hdl, in pci_dump()
286 ddi_get32(acc_hdl, in pci_dump()
289 ddi_get32(acc_hdl, in pci_dump()
294 ddi_get32(acc_hdl, (uint32_t *)(base + pba_offset))); in pci_dump()
296 ddi_regs_map_free(&acc_hdl); in pci_dump()
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_debug.c179 ddi_acc_handle_t acc_hdl; in ixgbe_pci_dump() local
393 &ixgbe_regs_acc_attr, &acc_hdl)) != DDI_SUCCESS) { in ixgbe_pci_dump()
404 ddi_get32(acc_hdl, in ixgbe_pci_dump()
407 ddi_get32(acc_hdl, in ixgbe_pci_dump()
410 ddi_get32(acc_hdl, in ixgbe_pci_dump()
413 ddi_get32(acc_hdl, in ixgbe_pci_dump()
418 ddi_get32(acc_hdl, (uint32_t *)(base + pba_offset))); in ixgbe_pci_dump()
420 ddi_regs_map_free(&acc_hdl); in ixgbe_pci_dump()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_impl.c1242 ddi_acc_handle_t acc_hdl, uint32_t size, uint8_t type, in mptsas_uflash2() argument
1249 ddi_put8(acc_hdl, &fwdownload->Function, in mptsas_uflash2()
1251 ddi_put8(acc_hdl, &fwdownload->ImageType, type); in mptsas_uflash2()
1252 ddi_put8(acc_hdl, &fwdownload->MsgFlags, in mptsas_uflash2()
1254 ddi_put32(acc_hdl, &fwdownload->TotalImageSize, size); in mptsas_uflash2()
1257 ddi_put8(acc_hdl, &tcsge->ContextSize, 0); in mptsas_uflash2()
1258 ddi_put8(acc_hdl, &tcsge->DetailsLength, 12); in mptsas_uflash2()
1259 ddi_put8(acc_hdl, &tcsge->Flags, 0); in mptsas_uflash2()
1260 ddi_put32(acc_hdl, &tcsge->ImageOffset, 0); in mptsas_uflash2()
1261 ddi_put32(acc_hdl, &tcsge->ImageSize, size); in mptsas_uflash2()
[all …]
H A Dmptsas.c257 uint32_t *control, pMpi2SCSIIORequest_t frame, ddi_acc_handle_t acc_hdl);
4464 ddi_acc_handle_t acc_hdl, uint_t cookiec, uint32_t end_flags) in mptsas_sge_mainframe() argument
4474 ddi_put32(acc_hdl, in mptsas_sge_mainframe()
4476 ddi_put32(acc_hdl, in mptsas_sge_mainframe()
4478 ddi_put32(acc_hdl, &sge->FlagsLength, in mptsas_sge_mainframe()
4480 flags = ddi_get32(acc_hdl, &sge->FlagsLength); in mptsas_sge_mainframe()
4501 ddi_put32(acc_hdl, &sge->FlagsLength, flags); in mptsas_sge_mainframe()
4509 pMpi2SCSIIORequest_t frame, ddi_acc_handle_t acc_hdl) in mptsas_sge_chain() argument
4587 mptsas_sge_mainframe(cmd, frame, acc_hdl, j, in mptsas_sge_chain()
4608 ddi_put8(acc_hdl, &frame->ChainOffset, in mptsas_sge_chain()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_cfg.c476 ddi_acc_handle_t acc_hdl; in hermon_check_iommu_bypass() local
512 DDI_DMA_SLEEP, NULL, (caddr_t *)&kaddr, &actual_len, &acc_hdl); in hermon_check_iommu_bypass()
531 ddi_dma_mem_free(&acc_hdl); in hermon_check_iommu_bypass()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c156 DDI_DMA_SLEEP, NULL, &vaddr, &dma_p->alength, &dma_p->acc_hdl); in rge_alloc_dma_mem()
160 dma_p->acc_hdl = NULL; in rge_alloc_dma_mem()
172 ddi_dma_mem_free(&dma_p->acc_hdl); in rge_alloc_dma_mem()
174 dma_p->acc_hdl = NULL; in rge_alloc_dma_mem()
201 if (dma_p->acc_hdl != NULL) { in rge_free_dma_mem()
202 ddi_dma_mem_free(&dma_p->acc_hdl); in rge_free_dma_mem()
203 dma_p->acc_hdl = NULL; in rge_free_dma_mem()
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c1517 DDI_DMA_SLEEP, NULL, &vaddr, &dma_p->alength, &dma_p->acc_hdl); in rtls_alloc_dma_mem()
1524 dma_p->acc_hdl = NULL; in rtls_alloc_dma_mem()
1540 ddi_dma_mem_free(&dma_p->acc_hdl); in rtls_alloc_dma_mem()
1542 dma_p->acc_hdl = NULL; in rtls_alloc_dma_mem()
1565 if (dma_p->acc_hdl != NULL) { in rtls_free_dma_mem()
1566 ddi_dma_mem_free(&dma_p->acc_hdl); in rtls_free_dma_mem()
1567 dma_p->acc_hdl = NULL; in rtls_free_dma_mem()
H A Drtls.h116 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c301 return (ddi_get32(dma_p->acc_hdl, addr + index*DESC_SIZE + offset)); in dmfe_ring_get32()
310 ddi_put32(dma_p->acc_hdl, addr + index*DESC_SIZE + offset, value); in dmfe_ring_put32()
322 return (ddi_get32(dma_p->acc_hdl, addr + index)); in dmfe_setup_get32()
331 ddi_put32(dma_p->acc_hdl, addr + index, value); in dmfe_setup_put32()
2272 &dma_p->mem_va, &dma_p->alength, &dma_p->acc_hdl); in dmfe_alloc_dma_mem()
2384 if (dma_p->acc_hdl != NULL) { in dmfe_free_dma_mem()
2385 ddi_dma_mem_free(&dma_p->acc_hdl); in dmfe_free_dma_mem()
2386 dma_p->acc_hdl = NULL; in dmfe_free_dma_mem()
H A Ddmfe_impl.h86 ddi_acc_handle_t acc_hdl; member
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_main.c946 pRing->acc_hdl = kmem_zalloc(sizeof (ddi_acc_handle_t) * in amd8111s_alloc_dma_ringbuf()
953 pRing->acc_hdl == NULL || pRing->trunk_addr == NULL || in amd8111s_alloc_dma_ringbuf()
972 (size_t *)(&real_length), &pRing->acc_hdl[idx]) in amd8111s_alloc_dma_ringbuf()
1038 if (pRing->acc_hdl != NULL) { in amd8111s_free_dma_ringbuf()
1040 if (pRing->acc_hdl[idx] == NULL) in amd8111s_free_dma_ringbuf()
1042 ddi_dma_mem_free(&pRing->acc_hdl[idx]); in amd8111s_free_dma_ringbuf()
1044 kmem_free(pRing->acc_hdl, in amd8111s_free_dma_ringbuf()
H A Damd8111s_main.h255 ddi_acc_handle_t *acc_hdl; member
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661_var.h31 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpivar.h73 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2_var.h45 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860_var.h58 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_var.h45 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_var.h45 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c454 if (dma_p->acc_hdl != NULL) { in unm_free_dma_mem()
455 ddi_dma_mem_free(&dma_p->acc_hdl); in unm_free_dma_mem()
456 dma_p->acc_hdl = NULL; in unm_free_dma_mem()
486 &dma_p->acc_hdl); in unm_alloc_dma_mem()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_impl.h208 ddi_acc_handle_t acc_hdl; /* handle for memory */ member
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c115 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, uint64_t *pba,
119 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, uint64_t *pba,
123 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, uint64_t *pba,
2070 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, in alloc_dma_memory() argument
2134 *acc_hdl = ahdl; in alloc_dma_memory()
2153 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, in alloc_desc_ring() argument
2160 dma_attr, dma_hdl, acc_hdl, pba, pva)); in alloc_desc_ring()
2171 ddi_dma_handle_t *dma_hdl, ddi_acc_handle_t *acc_hdl, in alloc_tx_copybuffer() argument
2178 acc_attr, dma_attr, dma_hdl, acc_hdl, pba, pva)); in alloc_tx_copybuffer()

123