Lines Matching refs:new_mode
345 u32 new_mode; in cppi41_set_dma_mode() local
353 new_mode = update_ep_mode(port, mode, old_mode); in cppi41_set_dma_mode()
355 if (new_mode == old_mode) in cppi41_set_dma_mode()
358 controller->tx_mode = new_mode; in cppi41_set_dma_mode()
359 musb_writel(musb->ctrl_base, USB_CTRL_TX_MODE, new_mode); in cppi41_set_dma_mode()
361 controller->rx_mode = new_mode; in cppi41_set_dma_mode()
362 musb_writel(musb->ctrl_base, USB_CTRL_RX_MODE, new_mode); in cppi41_set_dma_mode()
373 u32 new_mode; in da8xx_set_dma_mode() local
382 new_mode = old_mode & ~(3 << shift); in da8xx_set_dma_mode()
383 new_mode |= mode << shift; in da8xx_set_dma_mode()
385 if (new_mode == old_mode) in da8xx_set_dma_mode()
387 controller->tx_mode = new_mode; in da8xx_set_dma_mode()
388 musb_writel(musb->ctrl_base, DA8XX_USB_MODE, new_mode); in da8xx_set_dma_mode()
397 u32 new_mode; in cppi41_set_autoreq_mode() local
402 new_mode = update_ep_mode(port, mode, old_mode); in cppi41_set_autoreq_mode()
404 if (new_mode == old_mode) in cppi41_set_autoreq_mode()
406 controller->auto_req = new_mode; in cppi41_set_autoreq_mode()
408 controller->autoreq_reg, new_mode); in cppi41_set_autoreq_mode()