Home
last modified time | relevance | path

Searched refs:rx_channel (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/
Divc.c161 ACCESS_ONCE(ivc->rx_channel->r_count) = in tegra_ivc_advance_rx()
162 ACCESS_ONCE(ivc->rx_channel->r_count) + 1; in tegra_ivc_advance_rx()
202 if (!tegra_ivc_channel_empty(ivc, ivc->rx_channel)) in tegra_ivc_check_read()
206 tegra_ivc_invalidate_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_check_read()
207 return tegra_ivc_channel_empty(ivc, ivc->rx_channel) ? -ENOMEM : 0; in tegra_ivc_check_read()
249 tegra_ivc_invalidate_frame(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
250 *frame = tegra_ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
271 tegra_ivc_flush_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_read_advance()
279 tegra_ivc_invalidate_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_read_advance()
281 if (tegra_ivc_channel_avail_count(ivc, ivc->rx_channel) == in tegra_ivc_read_advance()
[all …]
/external/arm-trusted-firmware/plat/nvidia/tegra/common/drivers/bpmp_ipc/
Divc.c149 ivc->rx_channel->r_count++; in ivc_advance_rx()
178 if (!ivc_channel_empty(ivc, ivc->rx_channel)) { in ivc_check_read()
182 return ivc_channel_empty(ivc, ivc->rx_channel) ? -ENOMEM : 0; in ivc_check_read()
253 src = ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read()
269 if (ivc_channel_avail_count(ivc, ivc->rx_channel) == (ivc->nframes - (uint32_t)1U)) { in tegra_ivc_read()
289 return ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame()
316 if (ivc_channel_avail_count(ivc, ivc->rx_channel) == (ivc->nframes - (uint32_t)1U)) { in tegra_ivc_read_advance()
444 peer_state = ivc->rx_channel->state; in tegra_ivc_channel_notified()
459 ivc->rx_channel->r_count = 0U; in tegra_ivc_channel_notified()
495 ivc->rx_channel->r_count = 0U; in tegra_ivc_channel_notified()
[all …]
Divc.h25 struct ivc_channel_header *rx_channel; member
/external/u-boot/arch/arm/include/asm/arch-tegra/
Divc.h51 struct tegra_ivc_channel_header *rx_channel; member
/external/u-boot/drivers/usb/musb-new/
Dmusb_host.c376 if (ep->rx_channel) { in musb_advance_schedule()
377 dma->channel_release(ep->rx_channel); in musb_advance_schedule()
378 ep->rx_channel = NULL; in musb_advance_schedule()
708 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program()
715 hw_ep->rx_channel = dma_channel; in musb_ep_program()
871 hw_ep->rx_channel = dma_channel = NULL; in musb_ep_program()
1396 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_rx_nak_timeout()
1449 dma = is_dma_capable() ? hw_ep->rx_channel : NULL; in musb_host_rx()
1747 hw_ep->rx_channel = NULL; in musb_host_rx()
2137 dma = is_in ? ep->rx_channel : ep->tx_channel;
Dmusb_core.h256 struct dma_channel *rx_channel; member