/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge.h | 199 struct dma_info { struct 395 struct dma_info bd_dma; 430 struct dma_info dma_mem_area; /* tx buffer */ 446 struct dma_info wqicb_dma; 453 struct dma_info wq_dma; 493 struct dma_info cqicb_dma; 531 struct dma_info lbq_dma; /* lbq dma info */ 553 struct dma_info sbq_dma; /* sbq dma info */ 621 struct dma_info ricb_dma; 648 struct dma_info host_copy_shadow_dma_attr; [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_main.c | 2295 qede_dma_info_t *dma_info; in qede_alloc_rx_buffers() local 2321 dma_info = &rx_buffer->dma_info; in qede_alloc_rx_buffers() 2328 &dma_info->dma_handle, in qede_alloc_rx_buffers() 2329 &dma_info->acc_handle, in qede_alloc_rx_buffers() 2337 vaddr = dma_info->virt_addr; in qede_alloc_rx_buffers() 2343 dma_info = &rx_buffer->dma_info; in qede_alloc_rx_buffers() 2344 dma_info->virt_addr = vaddr; in qede_alloc_rx_buffers() 2345 dma_info->phys_addr = dma_addr; in qede_alloc_rx_buffers() 2541 qede_dma_info_t dma_info; in qede_alloc_tx_bcopy_buffers() local 2580 &dma_info.dma_handle, in qede_alloc_tx_bcopy_buffers() [all …]
|
H A D | qede_fp.c | 386 qede_dma_info_t *dma_info; in qede_lro_end() local 447 dma_info = &rx_buffer->dma_info; in qede_lro_end() 448 ddi_dma_sync(dma_info->dma_handle, in qede_lro_end() 449 dma_info->offset, in qede_lro_end() 499 qede_dma_info_t *dma_info; in qede_reg_jumbo_cqe() local 547 dma_info = &rx_buf->dma_info; in qede_reg_jumbo_cqe() 549 dma_info->offset, in qede_reg_jumbo_cqe() 597 qede_dma_info_t *dma_info; in qede_reg_cqe() local 630 dma_info = &rx_buffer->dma_info; in qede_reg_cqe() 631 virt_addr = dma_info->virt_addr; in qede_reg_cqe() [all …]
|
H A D | qede.h | 427 qede_dma_info_t dma_info; member
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 592 rx_buffer->mp = desballoc(rx_buffer->dma_info.vaddr, in unm_rx_buffer_recycle() 616 unm_free_dma_mem(&buf_pool->dma_info); in unm_destroy_rx_ring() 635 dma_area_t *dma_info; in unm_create_rx_ring() local 647 dma_info = &rx_buffer->dma_info; in unm_create_rx_ring() 650 &unm_dma_attr_rxbuf, dma_info); in unm_create_rx_ring() 655 dma_info->vaddr = (void *) ((char *)dma_info->vaddr + in unm_create_rx_ring() 657 dma_info->dma_addr += sreoff; in unm_create_rx_ring() 662 rx_buffer->mp = desballoc(dma_info->vaddr, in unm_create_rx_ring() 690 dma_info = &rx_buffer->dma_info; in unm_create_rx_ring() 693 unm_free_dma_mem(dma_info); in unm_create_rx_ring()
|
H A D | unm_nic_main.c | 1249 vaddr = (char *)rx_buffer->dma_info.vaddr; in unm_process_rcv() 1257 (void) ddi_dma_sync(rx_buffer->dma_info.dma_hdl, 0, in unm_process_rcv() 1291 mp = desballoc(rx_buffer->dma_info.vaddr, in unm_process_rcv() 1535 pdesc->AddrBuffer = rx_buffer->dma_info.dma_addr; in unm_post_rx_buffers() 1580 pdesc->AddrBuffer = rx_buffer->dma_info.dma_addr; in unm_post_rx_buffers_nodb()
|
H A D | unm_nic.h | 203 dma_area_t dma_info; member
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon.c | 924 dma_info->vaddr = kaddr; in hermon_dma_alloc() 925 dma_info->dma_hdl = dma_hdl; in hermon_dma_alloc() 926 dma_info->acc_hdl = acc_hdl; in hermon_dma_alloc() 932 hermon_dma_free(dma_info); in hermon_dma_alloc() 988 hermon_dma_info_t *dma_info; in hermon_icm_alloc() local 1052 dma_info += index2; in hermon_icm_alloc() 1068 (longlong_t)dma_info->icmaddr, dma_info->length, bitmap); in hermon_icm_alloc() 1100 dma_info->icmaddr); in hermon_icm_alloc() 1135 if (dma_info == NULL) in hermon_icm_free() 1143 hermon_dma_free(dma_info); in hermon_icm_free() [all …]
|
H A D | hermon_mr.c | 456 hermon_dma_info_t *dma_info; in hermon_mr_alloc_fmr() local 626 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_alloc_fmr() 3244 hermon_dma_info_t *dma_info; in hermon_mr_fast_mtt_write() local 3280 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_fast_mtt_write() 3302 (void) ddi_dma_sync(dma_info->dma_hdl, in hermon_mr_fast_mtt_write() 3314 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_fast_mtt_write() 3316 (uint64_t *)(uintptr_t)dma_info->vaddr; in hermon_mr_fast_mtt_write() 3348 (void) ddi_dma_sync(dma_info->dma_hdl, in hermon_mr_fast_mtt_write() 3366 hermon_dma_info_t *dma_info; in hermon_mr_fast_mtt_write_fmr() local 3376 dma_info = icm_table->icm_dma[index1] + index2; in hermon_mr_fast_mtt_write_fmr() [all …]
|
H A D | hermon_rsrc.c | 2049 hermon_dma_info_t *dma_info; in hermon_rsrc_hw_entry_icm_confirm() local 2084 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl); in hermon_rsrc_hw_entry_icm_confirm() 2134 dma_info[index2].icm_refcnt += num_backed; in hermon_rsrc_hw_entry_icm_confirm() 2144 dma_info[index2].icm_refcnt, num); in hermon_rsrc_hw_entry_icm_confirm() 2150 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl); in hermon_rsrc_hw_entry_icm_confirm() 2204 hermon_dma_info_t *dma_info; in hermon_rsrc_hw_entry_icm_free() local 2228 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl); in hermon_rsrc_hw_entry_icm_free() 2261 dma_info[index2].icm_refcnt -= num_freed; in hermon_rsrc_hw_entry_icm_free() 2277 (dma_info[index2].icm_refcnt == 0)) { in hermon_rsrc_hw_entry_icm_free() 2290 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl); in hermon_rsrc_hw_entry_icm_free()
|
H A D | hermon_cmd.c | 1884 hermon_unmap_icm_cmd_post(hermon_state_t *state, hermon_dma_info_t *dma_info) in hermon_unmap_icm_cmd_post() argument 1896 if (dma_info != NULL) { in hermon_unmap_icm_cmd_post() 1897 addr = dma_info->icmaddr; in hermon_unmap_icm_cmd_post() 1898 npages = dma_info->length / HERMON_PAGESIZE; in hermon_unmap_icm_cmd_post()
|
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon.h | 890 #define hermon_bitmap(bitmap, dma_info, icm_table, split_index, num_to_hdl) \ argument 909 dma_info = (icm_table)->icm_dma[split_index] 959 int hermon_dma_alloc(hermon_state_t *state, hermon_dma_info_t *dma_info,
|
H A D | hermon_cmd.h | 704 hermon_dma_info_t *dma_info);
|