Home
last modified time | relevance | path

Searched refs:desired_mode (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget.c376 musb_ep->dma->desired_mode = 0; in txstate()
378 musb_ep->dma->desired_mode = 1; in txstate()
382 musb_ep->dma->desired_mode, in txstate()
385 if (musb_ep->dma->desired_mode == 0) { in txstate()
557 || (is_dma && (!dma->desired_mode || in musb_g_tx()
773 musb_ep->dma->desired_mode = 1; in rxstate()
777 musb_ep->dma->desired_mode = 0; in rxstate()
783 channel->desired_mode, in rxstate()
822 musb_ep->dma->desired_mode = 0; in rxstate()
824 musb_ep->dma->desired_mode = 1; in rxstate()
[all …]
H A Dmusb_dma.h95 bool desired_mode; member
H A Dmusb_host.c642 channel->desired_mode = mode; in musb_tx_dma_program()
1685 dma->desired_mode = 0; in musb_host_rx()
1695 dma->desired_mode = 1; in musb_host_rx()
1698 dma->desired_mode = 0; in musb_host_rx()
1724 if (dma->desired_mode == 0) in musb_host_rx()
1743 dma->desired_mode, buf, length); in musb_host_rx()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget.c285 musb_ep->dma->desired_mode = 0; in txstate()
287 musb_ep->dma->desired_mode = 1; in txstate()
291 musb_ep->dma->desired_mode, in txstate()
294 if (musb_ep->dma->desired_mode == 0) { in txstate()
651 musb_ep->dma->desired_mode = 1; in rxstate()
661 musb_ep->dma->desired_mode = 0; in rxstate()
667 channel->desired_mode, in rxstate()
707 musb_ep->dma->desired_mode = 0; in rxstate()
709 musb_ep->dma->desired_mode = 1; in rxstate()
717 channel->desired_mode, in rxstate()
[all …]
H A Dmusbhsdma.c120 channel->desired_mode = transmit; in dma_channel_allocate()
341 (!channel->desired_mode || in dma_controller_irq()
355 if (channel->desired_mode == 1) { in dma_controller_irq()
H A Dmusb_dma.h119 bool desired_mode; member
H A Dmusb_host.c606 channel->desired_mode = *mode; in musb_tx_dma_set_mode_mentor()
1650 channel->desired_mode = 0; in musb_rx_dma_in_inventra_cppi41()
1658 channel->desired_mode = 1; in musb_rx_dma_in_inventra_cppi41()
1661 channel->desired_mode = 0; in musb_rx_dma_in_inventra_cppi41()
1671 if (channel->desired_mode == 0) in musb_rx_dma_in_inventra_cppi41()
1688 channel->desired_mode, in musb_rx_dma_in_inventra_cppi41()
H A Dtusb6010_omap.c467 channel->desired_mode = 0; in tusb_omap_dma_allocate()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c1585 struct drm_display_mode *desired_mode; in __drm_fb_helper_find_sizes() local
1593 desired_mode = mode_set->mode; in __drm_fb_helper_find_sizes()
1595 if (!desired_mode) in __drm_fb_helper_find_sizes()
1604 max_t(u32, desired_mode->hdisplay + x, sizes->surface_width); in __drm_fb_helper_find_sizes()
1606 max_t(u32, desired_mode->vdisplay + y, sizes->surface_height); in __drm_fb_helper_find_sizes()
1612 desired_mode->hdisplay == connector->tile_h_size && in __drm_fb_helper_find_sizes()
1613 desired_mode->vdisplay == connector->tile_v_size) { in __drm_fb_helper_find_sizes()
1622 sizes->fb_width = min_t(u32, desired_mode->hdisplay + x, sizes->fb_width); in __drm_fb_helper_find_sizes()
1624 sizes->fb_height = min_t(u32, desired_mode->vdisplay + y, sizes->fb_height); in __drm_fb_helper_find_sizes()