Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c667 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()
/illumos-gate/usr/src/uts/i86pc/io/
H A Drootnex.c2030 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 …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/
H A Dddi_impldefs.h896 ddi_dma_cookie_t *dmai_cookie; /* pointer to first DMA cookie */ member
912 ddi_dma_cookie_t *dmai_cookie; /* array of DMA cookies */ member
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.h72 ddi_dma_cookie_t *dmai_cookie; member
H A Dpx_dma.c1234 mp->dmai_cookie = cookie0_p + 1; in px_dma_physwin()
1397 hp->dmai_cookie); in px_dump_dma_handle()
H A Dpx.c1147 mp->dmai_cookie = ck_p + 1; in px_dma_win()
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_dma.h74 ddi_dma_cookie_t *dmai_cookie; member
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_dma.c1415 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()
H A Dpci.c872 mp->dmai_cookie = ck_p + 1; in pci_dma_win()
/illumos-gate/usr/src/uts/common/os/
H A Dsunddi.c7098 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()