Home
last modified time | relevance | path

Searched refs:tx_channel (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/
Divc.c172 ACCESS_ONCE(ivc->tx_channel->w_count) = in tegra_ivc_advance_tx()
173 ACCESS_ONCE(ivc->tx_channel->w_count) + 1; in tegra_ivc_advance_tx()
193 if (ivc->tx_channel->state != ivc_state_established) in tegra_ivc_check_read()
214 if (ivc->tx_channel->state != ivc_state_established) in tegra_ivc_check_write()
217 if (!tegra_ivc_channel_full(ivc, ivc->tx_channel)) in tegra_ivc_check_write()
221 tegra_ivc_invalidate_counter(ivc, ivc->tx_channel, offset); in tegra_ivc_check_write()
222 return tegra_ivc_channel_full(ivc, ivc->tx_channel) ? -ENOMEM : 0; in tegra_ivc_check_write()
294 *frame = tegra_ivc_frame_pointer(ivc, ivc->tx_channel, ivc->w_pos); in tegra_ivc_write_get_next_frame()
308 tegra_ivc_flush_frame(ivc, ivc->tx_channel, ivc->w_pos); in tegra_ivc_write_advance()
317 tegra_ivc_flush_counter(ivc, ivc->tx_channel, offset); in tegra_ivc_write_advance()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/bpmp_ipc/
Divc.c138 ivc->tx_channel->w_count++; in ivc_advance_tx()
168 if (ivc->tx_channel->state != ivc_state_established) { in ivc_check_read()
187 if (ivc->tx_channel->state != ivc_state_established) { in ivc_check_write()
191 if (!ivc_channel_full(ivc, ivc->tx_channel)) { in ivc_check_write()
195 return ivc_channel_full(ivc, ivc->tx_channel) ? -ENOMEM : 0; in ivc_check_write()
210 return ivc_channel_empty(ivc, ivc->tx_channel); in tegra_ivc_tx_empty()
341 p = ivc_frame_pointer(ivc, ivc->tx_channel, ivc->w_pos); in tegra_ivc_write()
364 if (ivc_channel_avail_count(ivc, ivc->tx_channel) == 1U) { in tegra_ivc_write()
378 return ivc_frame_pointer(ivc, ivc->tx_channel, ivc->w_pos); in tegra_ivc_write_get_next_frame()
407 if (ivc_channel_avail_count(ivc, ivc->tx_channel) == (uint32_t)1U) { in tegra_ivc_write_advance()
[all …]
Divc.h26 struct ivc_channel_header *tx_channel; member
/external/u-boot/arch/arm/include/asm/arch-tegra/
Divc.h56 struct tegra_ivc_channel_header *tx_channel; member
/external/u-boot/drivers/usb/musb-new/
Dmusb_host.c283 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb()
285 if (!hw_ep->tx_channel) in musb_start_urb()
382 if (ep->tx_channel) { in musb_advance_schedule()
383 dma->channel_release(ep->tx_channel); in musb_advance_schedule()
384 ep->tx_channel = NULL; in musb_advance_schedule()
620 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_program()
668 hw_ep->tx_channel = NULL; in musb_tx_dma_program()
708 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program()
713 hw_ep->tx_channel = dma_channel; in musb_ep_program()
1128 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx()
[all …]
Dmusb_core.h255 struct dma_channel *tx_channel; member
Dmusb_core.c876 ep->tx_channel ? " DMA" : "", in musb_stage0_irq()
878 if (!ep->tx_channel) in musb_stage0_irq()