Searched refs:dmai_cookie (Results 1 – 11 of 11) sorted by relevance
667 mp->dmai_cookie = NULL; in niumx_dma_allochdl()692 if (mp->dmai_cookie) in niumx_dma_freehdl()693 kmem_free(mp->dmai_cookie, sizeof (ddi_dma_cookie_t)); in niumx_dma_freehdl()773 if (!(mp->dmai_cookie = kmem_zalloc(sizeof (ddi_dma_cookie_t), in niumx_dma_bindhdl()778 mp->dmai_cookie->dmac_laddress = mp->dmai_mapping; in niumx_dma_bindhdl()779 mp->dmai_cookie->dmac_size = mp->dmai_size; in niumx_dma_bindhdl()783 *cookiep = *mp->dmai_cookie; in niumx_dma_bindhdl()805 if (mp->dmai_cookie) { in niumx_dma_unbindhdl()806 kmem_free(mp->dmai_cookie, sizeof (ddi_dma_cookie_t)); in niumx_dma_unbindhdl()807 mp->dmai_cookie = NULL; in niumx_dma_unbindhdl()
2030 cookie = hp->dmai_cookie = dma->dp_cookies = in rootnex_coredma_bindhdl()2115 hp->dmai_cookie = dma->dp_cookies; in rootnex_coredma_bindhdl()2168 hp->dmai_cookie++; in rootnex_coredma_bindhdl()2244 hp->dmai_cookie++; in rootnex_coredma_bindhdl()2394 hp->dmai_cookie = window->wd_first_cookie; in rootnex_coredma_reset_cookies()2396 hp->dmai_cookie = dma->dp_cookies; in rootnex_coredma_reset_cookies()2398 hp->dmai_cookie++; in rootnex_coredma_reset_cookies()2464 cur_cookiep = (hp->dmai_cookie - dma->dp_saved_cookies) in rootnex_coredma_set_cookies()2470 cur_cookiep = (hp->dmai_cookie - dma->dp_saved_cookies) in rootnex_coredma_set_cookies()2475 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()
896 ddi_dma_cookie_t *dmai_cookie; /* pointer to first DMA cookie */ member912 ddi_dma_cookie_t *dmai_cookie; /* array of DMA cookies */ member
72 ddi_dma_cookie_t *dmai_cookie; member
1234 mp->dmai_cookie = cookie0_p + 1; in px_dma_physwin()1397 hp->dmai_cookie); in px_dump_dma_handle()
1147 mp->dmai_cookie = ck_p + 1; in px_dma_win()
74 ddi_dma_cookie_t *dmai_cookie; member
1415 mp->dmai_cookie = cookie0_p + 1; in pci_dma_physwin()1457 mp->dmai_cookie = loop_cp + 1; in pci_dma_ctl()1637 hp->dmai_cookie); in dump_dma_handle()
872 mp->dmai_cookie = ck_p + 1; in pci_dma_win()
7098 cp = hp->dmai_cookie; in ddi_dma_nextcookie()7105 hp->dmai_cookie++; in ddi_dma_nextcookie()7127 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_iter()7156 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_get()7170 ASSERT3P(hp->dmai_cookie, !=, NULL); in ddi_dma_cookie_one()7172 base = hp->dmai_cookie - hp->dmai_curcookie; in ddi_dma_cookie_one()