Searched refs:dma_info (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/
H A Dqlge.h199 struct dma_info { struct
209 * Sync a DMA area described by a dma_info
216 * described by a dma_info
221 * Zero a block of memory described by a dma_info
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_dm
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c587 rx_buffer->mp = desballoc(rx_buffer->dma_info.vaddr,
611 unm_free_dma_mem(&buf_pool->dma_info);
630 dma_area_t *dma_info; local
642 dma_info = &rx_buffer->dma_info;
645 &unm_dma_attr_rxbuf, dma_info);
650 dma_info->vaddr = (void *) ((char *)dma_info->vaddr +
652 dma_info->dma_addr += sreoff;
657 rx_buffer->mp = desballoc(dma_info
[all...]
H A Dunm_nic_main.c1249 vaddr = (char *)rx_buffer->dma_info.vaddr;
1257 (void) ddi_dma_sync(rx_buffer->dma_info.dma_hdl, 0,
1291 mp = desballoc(rx_buffer->dma_info.vaddr,
1535 pdesc->AddrBuffer = rx_buffer->dma_info.dma_addr;
1580 pdesc->AddrBuffer = rx_buffer->dma_info.dma_addr;
H A Dunm_nic.h203 dma_area_t dma_info; member in struct:unm_rx_buffer
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c872 hermon_dma_alloc(hermon_state_t *state, hermon_dma_info_t *dma_info, argument
900 status = ddi_dma_mem_alloc(dma_hdl, dma_info->length,
924 dma_info->vaddr = kaddr;
925 dma_info->dma_hdl = dma_hdl;
926 dma_info->acc_hdl = acc_hdl;
929 status = hermon_map_cmd_post(state, dma_info, opcode, cookie, ccount);
932 hermon_dma_free(dma_info);
988 hermon_dma_info_t *dma_info; local
1048 /* ensure existence of bitmap and dmainfo, sets "dma_info" */
1049 hermon_bitmap(bitmap, dma_info, ic
1121 hermon_dma_info_t *dma_info; local
3426 hermon_dma_info_t *dma_info; local
[all...]
H A Dhermon_mr.c456 hermon_dma_info_t *dma_info; local
626 dma_info = icm_table->icm_dma[index1] + index2;
628 mpt->hr_addr = (void *)((uintptr_t)(dma_info->vaddr + i * mpt->hr_len));
3244 hermon_dma_info_t *dma_info; local
3280 dma_info = icm_table->icm_dma[index1] + index2;
3281 mtt_table = (uint64_t *)(uintptr_t)dma_info->vaddr;
3302 (void) ddi_dma_sync(dma_info->dma_hdl,
3314 dma_info = icm_table->icm_dma[index1] + index2;
3316 (uint64_t *)(uintptr_t)dma_info->vaddr;
3348 (void) ddi_dma_sync(dma_info
3366 hermon_dma_info_t *dma_info; local
[all...]
H A Dhermon_rsrc.c2049 hermon_dma_info_t *dma_info; local
2084 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl);
2134 dma_info[index2].icm_refcnt += num_backed;
2144 dma_info[index2].icm_refcnt, num);
2150 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl);
2204 hermon_dma_info_t *dma_info; local
2228 hermon_bitmap(bitmap, dma_info, icm_table, index1, num_to_hdl);
2261 dma_info[index2].icm_refcnt -= num_freed;
2277 (dma_info[index2].icm_refcnt == 0)) {
2290 hermon_bitmap(bitmap, dma_info, icm_tabl
[all...]
H A Dhermon_cmd.c1627 * allocated and are passed in the dma_info. We need to break up
1628 * the DMA cookies that are in the dma_info into power-of-2 page
1884 hermon_unmap_icm_cmd_post(hermon_state_t *state, hermon_dma_info_t *dma_info) argument
1896 if (dma_info != NULL) {
1897 addr = dma_info->icmaddr;
1898 npages = dma_info->length / HERMON_PAGESIZE;
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon.h891 #define hermon_bitmap(bitmap, dma_info, icm_table, split_index, num_to_hdl) \
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 Dhermon_cmd.h704 hermon_dma_info_t *dma_info);

Completed in 110 milliseconds