Lines Matching refs:dir
76 if (!req || req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) { in mpc512x_lpbfifo_irq()
119 enum dma_data_direction dir; in mpc512x_lpbfifo_callback() local
136 if (req->dir == MPC512X_LPBFIFO_REQ_DIR_WRITE) in mpc512x_lpbfifo_callback()
137 dir = DMA_TO_DEVICE; in mpc512x_lpbfifo_callback()
139 dir = DMA_FROM_DEVICE; in mpc512x_lpbfifo_callback()
141 lpbfifo.ram_bus_addr, req->size, dir); in mpc512x_lpbfifo_callback()
167 enum dma_data_direction dir; in mpc512x_lpbfifo_kick() local
228 if (lpbfifo.req->dir == MPC512X_LPBFIFO_REQ_DIR_WRITE) { in mpc512x_lpbfifo_kick()
229 dir = DMA_TO_DEVICE; in mpc512x_lpbfifo_kick()
234 dir = DMA_FROM_DEVICE; in mpc512x_lpbfifo_kick()
251 lpbfifo.req->ram_virt_addr, lpbfifo.req->size, dir); in mpc512x_lpbfifo_kick()
294 if (lpbfifo.req->dir == MPC512X_LPBFIFO_REQ_DIR_READ) in mpc512x_lpbfifo_kick()
303 if (lpbfifo.req->dir == MPC512X_LPBFIFO_REQ_DIR_WRITE) in mpc512x_lpbfifo_kick()
328 lpbfifo.req->size, dir); in mpc512x_lpbfifo_kick()