/titanic_41/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 */ 438 struct dma_info oal_dma; /* oal is premapped */ 446 struct dma_info wqicb_dma; 453 struct dma_info wq_dma; 493 struct dma_info cqicb_dma; 515 struct dma_info cq_dma; /* virtual addr and phy addr */ 531 struct dma_info lbq_dma; /* lbq dma info */ 553 struct dma_info sbq_dma; /* sbq dma info */ [all …]
|
/titanic_41/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 587 rx_buffer->mp = desballoc(rx_buffer->dma_info.vaddr, in unm_rx_buffer_recycle() 611 unm_free_dma_mem(&buf_pool->dma_info); in unm_destroy_rx_ring() 630 dma_area_t *dma_info; in unm_create_rx_ring() local 642 dma_info = &rx_buffer->dma_info; in unm_create_rx_ring() 645 &unm_dma_attr_rxbuf, dma_info); in unm_create_rx_ring() 650 dma_info->vaddr = (void *) ((char *)dma_info->vaddr + in unm_create_rx_ring() 652 dma_info->dma_addr += sreoff; in unm_create_rx_ring() 657 rx_buffer->mp = desballoc(dma_info->vaddr, in unm_create_rx_ring() 685 dma_info = &rx_buffer->dma_info; in unm_create_rx_ring() 688 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
|
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon.c | 872 hermon_dma_alloc(hermon_state_t *state, hermon_dma_info_t *dma_info, in hermon_dma_alloc() argument 900 status = ddi_dma_mem_alloc(dma_hdl, dma_info->length, in hermon_dma_alloc() 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() 929 status = hermon_map_cmd_post(state, dma_info, opcode, cookie, ccount); 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 1049 hermon_bitmap(bitmap, dma_info, icm, index1, num_to_hdl); in hermon_icm_alloc() 1052 dma_info += index2; in hermon_icm_alloc() [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() 628 mpt->hr_addr = (void *)((uintptr_t)(dma_info->vaddr + i * mpt->hr_len)); 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() 3281 mtt_table = (uint64_t *)(uintptr_t)dma_info->vaddr; 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() [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()
|
/titanic_41/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon.h | 891 #define hermon_bitmap(bitmap, dma_info, icm_table, split_index, num_to_hdl) \ argument 910 dma_info = (icm_table)->icm_dma[split_index] 960 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);
|