Searched refs:dmai_cookie (Results 1 – 11 of 11) sorted by relevance
667 mp->dmai_cookie = NULL; in niumx_dma_allochdl()690 if (mp->dmai_cookie) in niumx_dma_freehdl()691 kmem_free(mp->dmai_cookie, sizeof (ddi_dma_cookie_t)); in niumx_dma_freehdl()771 if (!(mp->dmai_cookie = kmem_zalloc(sizeof (ddi_dma_cookie_t), in niumx_dma_bindhdl()776 mp->dmai_cookie->dmac_laddress = mp->dmai_mapping; in niumx_dma_bindhdl()777 mp->dmai_cookie->dmac_size = mp->dmai_size; in niumx_dma_bindhdl()779 *cookiep = *mp->dmai_cookie; in niumx_dma_bindhdl()801 if (mp->dmai_cookie) { in niumx_dma_unbindhdl()802 kmem_free(mp->dmai_cookie, sizeof (ddi_dma_cookie_t)); in niumx_dma_unbindhdl()803 mp->dmai_cookie = NULL; in niumx_dma_unbindhdl()
2048 cookie = hp->dmai_cookie = dma->dp_cookies = in rootnex_coredma_bindhdl()2133 hp->dmai_cookie = dma->dp_cookies; in rootnex_coredma_bindhdl()2186 hp->dmai_cookie++; in rootnex_coredma_bindhdl()2260 hp->dmai_cookie++; in rootnex_coredma_bindhdl()2408 hp->dmai_cookie = window->wd_first_cookie; in rootnex_coredma_reset_cookies()2410 hp->dmai_cookie = dma->dp_cookies; in rootnex_coredma_reset_cookies()2412 hp->dmai_cookie++; in rootnex_coredma_reset_cookies()2477 cur_cookiep = (hp->dmai_cookie - dma->dp_saved_cookies) in rootnex_coredma_set_cookies()2483 cur_cookiep = (hp->dmai_cookie - dma->dp_saved_cookies) in rootnex_coredma_set_cookies()2488 hp->dmai_cookie = cur_cookiep; in rootnex_coredma_set_cookies()[all …]
239 cp = hp->dmai_cookie - 1; in scsi_dmaget_attr()259 pktp->pkt_cookies = hp->dmai_cookie - 1; in scsi_dmaget_attr()260 hp->dmai_cookie = cp; in scsi_dmaget_attr()
72 ddi_dma_cookie_t *dmai_cookie; member
1232 mp->dmai_cookie = PX_WINLST(mp)->win_ncookies > 1 ? cookie0_p + 1 : 0; in px_dma_physwin()1393 hp->dmai_cookie); in px_dump_dma_handle()
1136 mp->dmai_cookie = ck_p + 1; in px_dma_win()
886 ddi_dma_cookie_t *dmai_cookie; /* pointer to first DMA cookie */ member902 ddi_dma_cookie_t *dmai_cookie; /* array of DMA cookies */ member
74 ddi_dma_cookie_t *dmai_cookie; member
1413 mp->dmai_cookie = WINLST(mp)->win_ncookies > 1 ? cookie0_p + 1 : 0; in pci_dma_physwin()1453 mp->dmai_cookie = loop_cp + 1; in pci_dma_ctl()1633 hp->dmai_cookie); in dump_dma_handle()
860 mp->dmai_cookie = ck_p + 1; in pci_dma_win()
7158 cp = hp->dmai_cookie; in ddi_dma_nextcookie()7165 hp->dmai_cookie++; in ddi_dma_nextcookie()