| /netbsd/src/sys/dev/usb/ |
| D | usb_mem.h | 70 #define DMAADDR(dma, o) usb_dmaaddr((dma), (o)) macro
|
| D | ehci.c | 562 const bus_addr_t flba = DMAADDR(&sc->sc_fldma, 0); in ehci_init() 1531 EOWRITE4(sc, EHCI_PERIODICLISTBASE, DMAADDR(&sc->sc_fldma, 0)); in ehci_resume() 2936 const bus_addr_t baddr = DMAADDR(&dma, offs); in ehci_alloc_sqh() 3001 const bus_addr_t baddr = DMAADDR(&dma, offs); in ehci_alloc_sqtd() 3176 paddr_t a = EHCI_PAGE(DMAADDR(dma, in ehci_reset_sqtd_chain() 3194 (uintptr_t)DMAADDR(&xfer->ux_dmabuf, curoffs), curlen, 0); in ehci_reset_sqtd_chain() 3269 const bus_addr_t baddr = DMAADDR(&dma, offs); in ehci_alloc_itd() 3330 const bus_addr_t baddr = DMAADDR(&dma, offs); in ehci_alloc_sitd() 3653 const bus_addr_t ba = DMAADDR(&epipe->ctrl.reqdma, 0); in ehci_device_ctrl_init() 3772 const bus_addr_t ba = DMAADDR(&epipe->ctrl.reqdma, 0); in ehci_device_ctrl_start() [all …]
|
| D | xhci.c | 510 return DMAADDR(&xs->xs_dc_dma, sc->sc_ctxsz * dci); 525 return DMAADDR(&xs->xs_ic_dma, sc->sc_ctxsz * ici); in xhci_slot_get_icp() 537 return DMAADDR(&xr->xr_dma, XHCI_TRB_SIZE * idx); in xhci_ring_trbp() 1560 spbufarray[i] = htole64(DMAADDR(dma, 0)); in xhci_init() 1611 (uintmax_t)DMAADDR(&sc->sc_eventst_dma, 0), in xhci_init() 1627 (uintmax_t)DMAADDR(&sc->sc_dcbaa_dma, 0), in xhci_init() 1636 htole64(DMAADDR(&sc->sc_spbufarray_dma, 0)); in xhci_init() 1672 xhci_rt_write_8(sc, XHCI_ERSTBA(0), DMAADDR(&sc->sc_eventst_dma, 0)); in xhci_init() 1676 xhci_op_write_8(sc, XHCI_DCBAAP, DMAADDR(&sc->sc_dcbaa_dma, 0)); in xhci_init() 3562 xhci_set_dcba(sc, DMAADDR(&xs->xs_dc_dma, 0), slot); in xhci_set_address() [all …]
|
| D | ohci.c | 426 sed->physaddr = DMAADDR(&dma, offs); in ohci_alloc_sed() 494 std->physaddr = DMAADDR(&dma, offs); in ohci_alloc_std() 650 const ohci_physaddr_t sdataphys = DMAADDR(dma, curoffs); in ohci_reset_std_chain() 664 const ohci_physaddr_t edataphys = DMAADDR(dma, edataoffs); in ohci_reset_std_chain() 753 sitd->physaddr = DMAADDR(&dma, offs); in ohci_alloc_sitd() 1021 OWRITE4(sc, OHCI_HCCA, DMAADDR(&sc->sc_hccadma, 0)); in ohci_init() 1182 OWRITE4(sc, OHCI_HCCA, DMAADDR(&sc->sc_hccadma, 0)); in ohci_resume() 2893 setup->td->td_cbp = HTOO32(DMAADDR(&opipe->ctrl.reqdma, 0)); in ohci_device_ctrl_start() 3613 buf = DMAADDR(&xfer->ux_dmabuf, 0); in ohci_device_isoc_enter() 3635 buf = DMAADDR(&xfer->ux_dmabuf, boff); in ohci_device_isoc_enter() [all …]
|
| D | uhci.c | 465 UWRITE4(sc, UHCI_FLBASEADDR, DMAADDR(&sc->sc_dma, 0)); in uhci_init() 729 UWRITE4(sc, UHCI_FLBASEADDR, DMAADDR(&sc->sc_dma, 0)); in uhci_resume() 1845 std->physaddr = DMAADDR(&dma, offs); in uhci_alloc_std() 1911 sqh->physaddr = DMAADDR(&dma, offs); in uhci_alloc_sqh() 2106 const bus_addr_t sbp = DMAADDR(dma, offs); in uhci_reset_std_chain() 2107 const bus_addr_t ebp = DMAADDR(dma, offs + l - 1); in uhci_reset_std_chain() 2109 l = PAGE_SIZE - (DMAADDR(dma, offs) & PAGE_MASK); in uhci_reset_std_chain() 2135 std->td.td_buffer = htole32(DMAADDR(dma, offs)); in uhci_reset_std_chain() 2536 setup->td.td_buffer = htole32(DMAADDR(&upipe->ctrl.reqdma, 0)); in uhci_device_ctrl_start() 2885 buf = DMAADDR(&xfer->ux_dmabuf, offs); in uhci_device_isoc_transfer() [all …]
|
| /netbsd/src/sys/arch/x68k/dev/ |
| D | vsvar.h | 80 #define DMAADDR(dma) ((dma)->vd_map->dm_segs[0].ds_addr) macro
|
| /netbsd/src/sys/dev/pci/ |
| D | cxdtvvar.h | 37 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | eapvar.h | 21 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | coramvar.h | 39 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | esavar.h | 50 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | emuxkivar.h | 97 #define DMAADDR(ptr) DMASEGADDR(ptr, 0) macro
|
| D | cs4280.c | 617 if (DMAADDR(p) % sc->dma_align != 0 ) { in cs4280_trigger_output() 619 "4kB align\n", (ulong)DMAADDR(p)); in cs4280_trigger_output() 640 BA1WRITE4(sc, CS4280_PBA, DMAADDR(p)); in cs4280_trigger_output() 688 if (DMAADDR(p) % sc->dma_align != 0) { in cs4280_trigger_input() 690 "4kB align\n", (ulong)DMAADDR(p)); in cs4280_trigger_input() 703 BA1WRITE4(sc, CS4280_CBA, DMAADDR(p)); in cs4280_trigger_input()
|
| D | auixp.c | 83 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro 464 "in %d segs\n", KERNADDR(dma), (uint32_t) DMAADDR(dma), dma->size, in auixp_malloc() 585 caddr_p = DMAADDR(c_dma); in auixp_link_daisychain() 586 saddr_p = DMAADDR(s_dma); in auixp_link_daisychain() 599 next_caddr_p = DMAADDR(c_dma); in auixp_link_daisychain() 656 value = DMAADDR(dma); in auixp_program_dma_chain()
|
| D | sv.c | 121 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro 537 (long)p->segs[0].ds_addr, (long)KERNADDR(p), (long)DMAADDR(p))); in sv_allocmem() 720 (int)DMAADDR(p), dma_count)); in sv_trigger_output() 723 DMAADDR(p)); in sv_trigger_output() 775 (int)DMAADDR(p), dma_count)); in sv_trigger_input() 778 DMAADDR(p)); in sv_trigger_input()
|
| D | esm.c | 669 ess->pch.base = DMAADDR(p) + MAESTRO_PLAYBUF_OFF; in esm_init_output() 693 ess->rch.base = DMAADDR(p) + MAESTRO_RECBUF_L_OFF; in esm_init_input() 696 ess->rch.base = DMAADDR(p) + MAESTRO_RECBUF_OFF; in esm_init_input() 908 chctl = (DMAADDR(p) + choffset - 0x10) & in esm_trigger_input() 1277 (int)DMAADDR(&ess->sc_dma) + off)); in esm_malloc() 1648 DMAADDR(&ess->sc_dma) >> WAVCACHE_BASEADDR_SHIFT); in esm_attach() 1733 DMAADDR(&ess->sc_dma) >> WAVCACHE_BASEADDR_SHIFT); in esm_resume()
|
| D | cs4281.c | 502 (int)DMAADDR(p), dma_count)); in cs4281_trigger_output() 503 BA0WRITE4(sc, CS4281_DBA0, DMAADDR(p)); in cs4281_trigger_output() 582 (int)DMAADDR(p), dma_count)); in cs4281_trigger_input() 583 BA0WRITE4(sc, CS4281_DBA1, DMAADDR(p)); in cs4281_trigger_input()
|
| D | esmvar.h | 133 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | cmpcivar.h | 57 #define DMAADDR(dma) ((dma)->cd_map->dm_segs[0].ds_addr) macro
|
| D | cs428x.h | 58 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro
|
| D | eap.c | 1096 (int)DMAADDR(p), in eap_trigger_output() 1100 EWRITE4(sc, EAP_DAC2_ADDR, DMAADDR(p)); in eap_trigger_output() 1107 (int)DMAADDR(p), in eap_trigger_output() 1111 EWRITE4(sc, EAP_DAC1_ADDR, DMAADDR(p)); in eap_trigger_output() 1185 (int)DMAADDR(p), in eap_trigger_input() 1188 EWRITE4(sc, EAP_ADC_ADDR, DMAADDR(p)); in eap_trigger_input()
|
| D | yds.c | 93 #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr) macro 293 pa = DMAADDR(&sc->sc_ctrldata) + sc->pbankoff; in yds_dump_play_slot() 450 da = DMAADDR(p); in yds_allocate_slots() 1388 s = DMAADDR(p); in yds_trigger_output() 1504 s = DMAADDR(p); in yds_trigger_input()
|
| D | eso.c | 116 #define DMAADDR(dma) ((dma)->ed_map->dm_segs[0].ds_addr) macro 1654 device_xname(sc->sc_dev), (unsigned long)DMAADDR(ed))); in eso_trigger_output() 1690 DMAADDR(ed)); in eso_trigger_output() 1732 device_xname(sc->sc_dev), (unsigned long)DMAADDR(ed))); in eso_trigger_input() 1787 DMAADDR(ed)); in eso_trigger_input()
|
| /netbsd/src/sys/external/bsd/dwc2/dist/ |
| D | dwc2_hcdddma.c | 116 qh->desc_list_dma = DMAADDR(&qh->desc_list_usbdma, 0); in dwc2_desc_list_alloc() 155 hsotg->frame_list_dma = DMAADDR(&hsotg->frame_list_usbdma, 0); in dwc2_frame_list_alloc() 554 dma_desc->buf = (u32)(DMAADDR(qtd->urb->usbdma, frame_desc->offset)); in dwc2_fill_host_isoc_dma_desc() 757 chan->xfer_dma = DMAADDR(qtd->urb->usbdma, in dwc2_init_non_isoc_dma_desc() 904 dma_desc->buf = (u32)(DMAADDR(qtd->urb->usbdma, frame_desc->offset)); in dwc2_cmpl_host_isoc_dma_desc()
|
| /netbsd/src/sys/arch/amiga/amiga/ |
| D | cc.h | 103 #define DMAADDR(lng) (u_long)(((0x7 & lng) << 16)|(lng & 0xffff)) macro
|
| /netbsd/src/sys/arch/sgimips/dev/ |
| D | crmfb.c | 117 #define DMAADDR(p) ((p).map->dm_segs[0].ds_addr) macro 372 v = (unsigned long)DMAADDR(sc->sc_dma); in crmfb_attach() 380 sc->sc_linear = (paddr_t)DMAADDR(sc->sc_dma) + 0x100000 * sc->sc_tiles_x; in crmfb_attach() 996 h = DMAADDR(sc->sc_dmai); in crmfb_setup_video() 1063 v = (DMAADDR(sc->sc_dma) >> 16) & 0xffff; in crmfb_setup_video()
|