Home
last modified time | relevance | path

Searched refs:dmai_cookie (Results 1 – 11 of 11) sorted by relevance

/titanic_41/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c667 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()
/titanic_41/usr/src/uts/i86pc/io/
H A Drootnex.c2048 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 …]
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c239 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()
/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_dma.h72 ddi_dma_cookie_t *dmai_cookie; member
H A Dpx_dma.c1232 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()
H A Dpx.c1136 mp->dmai_cookie = ck_p + 1; in px_dma_win()
/titanic_41/usr/src/uts/common/sys/
H A Dddi_impldefs.h886 ddi_dma_cookie_t *dmai_cookie; /* pointer to first DMA cookie */ member
902 ddi_dma_cookie_t *dmai_cookie; /* array of DMA cookies */ member
/titanic_41/usr/src/uts/sun4u/sys/pci/
H A Dpci_dma.h74 ddi_dma_cookie_t *dmai_cookie; member
/titanic_41/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1413 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()
H A Dpci.c860 mp->dmai_cookie = ck_p + 1; in pci_dma_win()
/titanic_41/usr/src/uts/common/os/
H A Dsunddi.c7158 cp = hp->dmai_cookie; in ddi_dma_nextcookie()
7165 hp->dmai_cookie++; in ddi_dma_nextcookie()