Home
last modified time | relevance | path

Searched refs:dmaor (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/sh/drivers/dma/
H A Ddma-sh.c273 unsigned long dmaor = dmaor_read_reg(no); in dmaor_reset() local
276 dmaor &= ~(DMAOR_NMIF | DMAOR_AE); in dmaor_reset()
277 dmaor_write_reg(no, dmaor); in dmaor_reset()
279 dmaor |= DMAOR_INIT; in dmaor_reset()
280 dmaor_write_reg(no, dmaor); in dmaor_reset()
/openbmc/linux/drivers/dma/sh/
H A Dshdmac.c128 unsigned short dmaor; in sh_dmae_ctl_stop() local
133 dmaor = dmaor_read(shdev); in sh_dmae_ctl_stop()
134 dmaor_write(shdev, dmaor & ~(DMAOR_NMIF | DMAOR_AE | DMAOR_DME)); in sh_dmae_ctl_stop()
141 unsigned short dmaor; in sh_dmae_rst() local
146 dmaor = dmaor_read(shdev) & ~(DMAOR_NMIF | DMAOR_AE | DMAOR_DME); in sh_dmae_rst()
157 dmaor_write(shdev, dmaor | shdev->pdata->dmaor_init); in sh_dmae_rst()
159 dmaor = dmaor_read(shdev); in sh_dmae_rst()
163 if (dmaor & (DMAOR_AE | DMAOR_NMIF)) { in sh_dmae_rst()
167 if (shdev->pdata->dmaor_init & ~dmaor) in sh_dmae_rst()
170 dmaor, shdev->pdata->dmaor_init); in sh_dmae_rst()
H A Dusb-dmac.c246 u16 dmaor; in usb_dmac_init() local
251 dmaor = usb_dmac_read(dmac, USB_DMAOR); in usb_dmac_init()
252 if ((dmaor & (USB_DMAOR_AE | USB_DMAOR_DME)) != USB_DMAOR_DME) { in usb_dmac_init()
H A Drcar-dmac.c478 u16 dmaor; in rcar_dmac_init() local
485 dmaor = rcar_dmac_read(dmac, RCAR_DMAOR); in rcar_dmac_init()
486 if ((dmaor & (RCAR_DMAOR_AE | RCAR_DMAOR_DME)) != RCAR_DMAOR_DME) { in rcar_dmac_init()