Home
last modified time | relevance | path

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

12345

/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2034 cookie->dmac_size = dvs->dvs_len; in rootnex_coredma_bindhdl()
2437 cookie[i].dmac_size = cp[i].dmac_size; in rootnex_coredma_get_cookies()
2936 sgl[cnt].dmac_size = psize; in rootnex_get_sgl()
2968 sgl[cnt].dmac_size = 0; in rootnex_get_sgl()
3023 if (sgl[cnt].dmac_size != 0) { in rootnex_get_sgl()
3027 sgl[cnt].dmac_size = psize; in rootnex_get_sgl()
3033 sgl[cnt].dmac_size = 0; in rootnex_get_sgl()
3045 ((sgl[cnt].dmac_size + psize) > maxseg) || in rootnex_get_sgl()
3046 (sgl[cnt].dmac_size == 0)) { in rootnex_get_sgl()
3051 if (sgl[cnt].dmac_size != 0) { in rootnex_get_sgl()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_dma.c144 == ((cookie.dmac_address + cookie.dmac_size - 1) & Mask4K)); in ata_pciide_alloc()
280 ASSERT((dmackp->dmac_size & PCIIDE_PRDE_CNT_MASK) == 0); in ata_pciide_dma_sg_func()
281 ASSERT(dmackp->dmac_size <= PCIIDE_PRDE_CNT_MAX); in ata_pciide_dma_sg_func()
291 dmap->p_count = (uint_t)dmackp->dmac_size; in ata_pciide_dma_sg_func()
299 ata_pktp->ap_bcount += dmackp->dmac_size; in ata_pciide_dma_sg_func()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_iocb.c546 (uint32_t)cp->dmac_size); in ql_command_iocb()
560 (uint32_t)cp->dmac_size); in ql_command_iocb()
646 (uint32_t)cp->dmac_size); in ql_continuation_iocb()
659 (uint32_t)cp->dmac_size); in ql_continuation_iocb()
800 ddi_put32(req_q->req_ring.acc_handle, ptr32, (uint32_t)cp->dmac_size); in ql_command_24xx_iocb()
963 ddi_put32(cmem->acc_handle, ptr32++, (uint32_t)cp->dmac_size); in ql_cmd_24xx_type_6_iocb()
1127 ddi_put32(req_q->req_ring.acc_handle, ptr32++, (uint32_t)cp->dmac_size); in ql_ms_iocb()
1134 ddi_put32(req_q->req_ring.acc_handle, ptr32, (uint32_t)cp->dmac_size); in ql_ms_iocb()
1208 ddi_put32(req_q->req_ring.acc_handle, ptr32++, (uint32_t)cp->dmac_size); in ql_ms_24xx_iocb()
1214 ddi_put32(req_q->req_ring.acc_handle, ptr32, (uint32_t)cp->dmac_size); in ql_ms_24xx_iocb()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Di8237A.c292 chnl, cp->dmac_address, cp->dmac_size)); in dEISA_setchain()
294 (void) d37A_write_count(cp->dmac_size, chnl); in dEISA_setchain()
377 (void) d37A_write_count(cp->dmac_size, chnl); in d37A_prog_chan()
461 (void) d37A_write_count(cp->dmac_size, chnl); in d37A_dma_swsetup()
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c173 data->qb_cookie[0].dmac_size /= 2; in hci1394_q_init()
177 data->qb_cookie[0].dmac_size; in hci1394_q_init()
180 data->qb_cookie[0].dmac_size; in hci1394_q_init()
257 qbuf->qb_cookie[qbuf->qb_ptrs.qp_current_buf].dmac_size - 1; in hci1394_q_buf_setup()
314 data->qb_cookie[index].dmac_size); in hci1394_q_reset()
321 q_handle->q_space_left = data->qb_cookie[0].dmac_size; in hci1394_q_reset()
522 qbuf->qb_cookie[qbuf->qb_ptrs.qp_current_buf].dmac_size - 1; in hci1394_q_next_buf()
1328 datab->qb_cookie[datab->qb_ptrs.qp_current_buf].dmac_size); in hci1394_q_ar_free()
1337 datab->qb_cookie[datab->qb_ptrs.qp_current_buf].dmac_size - in hci1394_q_ar_free()
H A Dhci1394_ixl_comp.c2214 (size > (wvp->dma_currentp->mem.bi_cookie.dmac_size - in hci1394_alloc_dma_mem()
2238 memp->bi_cookie.dmac_size; in hci1394_alloc_dma_mem()
2245 if (dma_new->mem.bi_cookie.dmac_size >= size) { in hci1394_alloc_dma_mem()
2253 dma_new->mem.bi_cookie.dmac_size; in hci1394_alloc_dma_mem()
2272 if (dma_new->mem.bi_cookie.dmac_size < size) { in hci1394_alloc_dma_mem()
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_frame.c246 buff_info_p->dma_cookie.dmac_size) / in dcam_frame_rcv_init()
250 buff_info_p->dma_cookie.dmac_size) % in dcam_frame_rcv_init()
256 buff_info_p->dma_cookie.dmac_size); in dcam_frame_rcv_init()
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c989 ccb->resid_dmacookie.dmac_size = 0; in arcmsr_tran_init_pkt()
1539 total_ccb_xferlen = ccb->pkt_dmacookies[0].dmac_size; in arcmsr_dma_alloc()
1553 total_ccb_xferlen += ccb->pkt_dmacookies[i].dmac_size; in arcmsr_dma_alloc()
1563 ccb->pkt_dmacookies[i].dmac_size = in arcmsr_dma_alloc()
1564 ccb->pkt_dmacookies[i].dmac_size - resid; in arcmsr_dma_alloc()
1565 ccb->resid_dmacookie.dmac_size = resid; in arcmsr_dma_alloc()
1568 ccb->pkt_dmacookies[i].dmac_size; in arcmsr_dma_alloc()
1583 total_ccb_xferlen = ccb->pkt_dmacookies[0].dmac_size; in arcmsr_dma_alloc()
1597 total_ccb_xferlen += ccb->pkt_dmacookies[i].dmac_size; in arcmsr_dma_alloc()
1607 ccb->pkt_dmacookies[i].dmac_size = in arcmsr_dma_alloc()
[all …]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_main2.c2182 chunk->cookie.dmac_size -= totsize;
2775 area.cookie.dmac_size));
2787 bgep->buff[BGE_STD_BUFF_RING].buf[split].cookie.dmac_size,
2803 bgep->buff[BGE_JUMBO_BUFF_RING].buf[split].cookie.dmac_size,
2820 bgep->buff[BGE_MINI_BUFF_RING].buf[split].cookie.dmac_size,
2831 area.cookie.dmac_size));
2844 area.cookie.dmac_size));
2857 bgep->send[ring].buf[0][split].cookie.dmac_size,
2873 area.cookie.dmac_size));
2886 bgep->recv[ring].desc.cookie.dmac_size,
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c449 len = (int)dma_cookie.dmac_size; in hxge_start()
450 clen = (uint32_t)dma_cookie.dmac_size; in hxge_start()
483 len = (int)dma_cookie.dmac_size; in hxge_start()
484 clen = (uint32_t)dma_cookie.dmac_size; in hxge_start()
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_recv.c339 uint_t cookie_end = isp->is_dma_cookie[ci].dmac_size; in av1394_ir_build_ixl()
361 cookie_end += isp->is_dma_cookie[ci].dmac_size; in av1394_ir_build_ixl()
383 uint_t cookie_end = isp->is_dma_cookie[ci].dmac_size; in av1394_ir_build_ixl()
454 cookie_end += isp->is_dma_cookie[ci].dmac_size; in av1394_ir_build_ixl()
/illumos-gate/usr/src/uts/common/sys/
H A Ddditypes.h90 size_t dmac_size; /* DMA cookie size */ member
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1256 cookie_p->dmac_size -= pg_offset; in pci_dma_adjust()
1278 cookie_p[win_p->win_ncookies - 1].dmac_size -= pg_offset; in pci_dma_adjust()
1454 for (; off >= loop_cp->dmac_size; loop_cp++) in pci_dma_ctl()
1455 off -= loop_cp->dmac_size; /* offset within cookie */ in pci_dma_ctl()
1461 loop_cp->dmac_size - off); in pci_dma_ctl()
1465 cp->dmac_laddress, cp->dmac_size); in pci_dma_ctl()
1480 size_t sz = cp->dmac_size; in pci_dma_ctl()
/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_dma.c151 esmp->esm_size = dmac.dmac_size; in sfxge_dma_buffer_create()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ci.c2126 len += dmacookie.dmac_size; in hermon_map_mem_area_fmr()
2127 endaddr = addr + (dmacookie.dmac_size - 1); in hermon_map_mem_area_fmr()
2305 kcookie.dmac_size += kcookie.dmac_laddress & HERMON_PAGEOFFSET; in hermon_ci_map_mem_area()
2310 len += dmacookie.dmac_size; in hermon_ci_map_mem_area()
2311 endaddr = addr + (dmacookie.dmac_size - 1); in hermon_ci_map_mem_area()
2320 if (kcookie.dmac_size > HERMON_PAGESIZE) { in hermon_ci_map_mem_area()
2322 kcookie.dmac_size -= HERMON_PAGESIZE; in hermon_ci_map_mem_area()
2506 sgl[nds].ds_len = (ib_msglen_t)dmacookie.dmac_size; in hermon_ci_map_mem_iov()
2559 sgl[nds].ds_len = (ib_msglen_t)dmacookie.dmac_size; in hermon_ci_map_mem_iov()
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp.c1169 dma_p->cookie.dmac_size)); in iwp_alloc_fw_dma()
1192 dma_p->cookie.dmac_size)); in iwp_alloc_fw_dma()
1212 dma_p->cookie.dmac_size)); in iwp_alloc_fw_dma()
1236 dma_p->cookie.dmac_size)); in iwp_alloc_fw_dma()
1260 dma_p->cookie.dmac_size)); in iwp_alloc_fw_dma()
1309 dma_p->cookie.dmac_size)); in iwp_alloc_shared()
1351 dma_p->cookie.dmac_size)); in iwp_alloc_kw()
1402 dma_p->cookie.dmac_size)); in iwp_alloc_rx_ring()
1434 dma_p->cookie.dmac_size)); in iwp_alloc_rx_ring()
1537 dma_p->cookie.dmac_size)); in iwp_alloc_tx_ring()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c356 iommu->aiomt_buf_dma_cookie.dmac_size = 0; in amd_iommu_setup_tables_and_buffers()
380 iommu->aiomt_buf_dma_cookie.dmac_size = 0; in amd_iommu_setup_tables_and_buffers()
397 ASSERT(iommu->aiomt_buf_dma_cookie.dmac_size in amd_iommu_setup_tables_and_buffers()
399 ASSERT(iommu->aiomt_buf_dma_cookie.dmac_size >= dma_bufsz); in amd_iommu_setup_tables_and_buffers()
529 iommu->aiomt_buf_dma_cookie.dmac_size = 0; in amd_iommu_teardown_tables_and_buffers()
1524 cookie_array[i].dmac_size, in map_current_window()
1583 cookie_array[i].dmac_size, in unmap_current_window()
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_dma.c163 toxfer += cookie.dmac_size; in ghd_dmaget_next_attr()
/illumos-gate/usr/src/uts/common/io/usb/hcd/xhci/
H A Dxhci_dma.c444 size_t len = roundup(xt->xt_buffer.xdb_cookies[i].dmac_size, in xhci_transfer_get_tdsize()
487 dmasz = xt->xt_buffer.xdb_cookies[i].dmac_size; in xhci_transfer_trb_fill_data()
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh.c1222 dma_p->cookie.dmac_size)); in iwh_alloc_fw_dma()
1245 dma_p->cookie.dmac_size)); in iwh_alloc_fw_dma()
1265 dma_p->cookie.dmac_size)); in iwh_alloc_fw_dma()
1289 dma_p->cookie.dmac_size)); in iwh_alloc_fw_dma()
1313 dma_p->cookie.dmac_size)); in iwh_alloc_fw_dma()
1363 dma_p->cookie.dmac_size)); in iwh_alloc_shared()
1406 dma_p->cookie.dmac_size)); in iwh_alloc_kw()
1458 dma_p->cookie.dmac_size)); in iwh_alloc_rx_ring()
1490 dma_p->cookie.dmac_size)); in iwh_alloc_rx_ring()
1594 dma_p->cookie.dmac_size)); in iwh_alloc_tx_ring()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/
H A Diommu.c1018 cp->dmac_size = mp->dmai_size; in iommu_dma_bindhdl()
1085 cp->dmac_size = mp->dmai_size; in iommu_dma_bindhdl()
1220 cookiep->dmac_size = mp->dmai_size; in iommu_dma_win()
1238 cookiep->dmac_size = mp->dmai_size; in iommu_dma_win()
1537 cp->dmac_size = len; in iommu_dvma_kaddr_load()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1597 if ((ccount == 1) && (dmac.dmac_size <= SBP2_PT_SEGSIZE_MAX) && in scsa1394_cmd_buf_dma_alloc()
1599 (dmac.dmac_size <= scsa1394_symbios_page_size))) { in scsa1394_cmd_buf_dma_alloc()
1601 cmd->sc_buf_seg_mem.ss_len = dmac.dmac_size; in scsa1394_cmd_buf_dma_alloc()
1694 dmac_resid = dmac->dmac_size; in scsa1394_cmd_dmac2seg()
1906 if ((ccount == 1) && (dmac.dmac_size <= SBP2_PT_SEGSIZE_MAX) && in scsa1394_cmd_buf_dma_move()
1908 (dmac.dmac_size <= scsa1394_symbios_page_size))) { in scsa1394_cmd_buf_dma_move()
1916 cmd->sc_buf_seg_mem.ss_len = dmac.dmac_size; in scsa1394_cmd_buf_dma_move()
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c244 pktp->pkt_dma_len += cp->dmac_size; in scsi_dmaget_attr()
461 in_pktp->pkt_dma_len = pktw->pcw_cookie.dmac_size; in scsi_init_cache_pkt()
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2.c1073 dma_p->cookie.dmac_size)); in iwk_alloc_fw_dma()
1089 dma_p->cookie.dmac_size)); in iwk_alloc_fw_dma()
1105 dma_p->cookie.dmac_size)); in iwk_alloc_fw_dma()
1122 dma_p->cookie.dmac_size)); in iwk_alloc_fw_dma()
1139 dma_p->cookie.dmac_size)); in iwk_alloc_fw_dma()
1183 dma_p->cookie.dmac_size)); in iwk_alloc_shared()
1217 dma_p->cookie.dmac_size)); in iwk_alloc_kw()
1254 dma_p->cookie.dmac_size)); in iwk_alloc_rx_ring()
1281 dma_p->cookie.dmac_size)); in iwk_alloc_rx_ring()
1361 dma_p->cookie.dmac_size)); in iwk_alloc_tx_ring()
[all …]
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio_dma.c99 return (vidma->vidma_dma_cookies[cookie].dmac_size); in virtio_dma_cookie_size()

12345