/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | ivc.c | 160 ACCESS_ONCE(ivc->rx_channel->r_count) = in tegra_ivc_advance_rx() 161 ACCESS_ONCE(ivc->rx_channel->r_count) + 1; in tegra_ivc_advance_rx() 201 if (!tegra_ivc_channel_empty(ivc, ivc->rx_channel)) in tegra_ivc_check_read() 205 tegra_ivc_invalidate_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_check_read() 206 return tegra_ivc_channel_empty(ivc, ivc->rx_channel) ? -ENOMEM : 0; in tegra_ivc_check_read() 248 tegra_ivc_invalidate_frame(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame() 249 *frame = tegra_ivc_frame_pointer(ivc, ivc->rx_channel, ivc->r_pos); in tegra_ivc_read_get_next_frame() 270 tegra_ivc_flush_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_read_advance() 278 tegra_ivc_invalidate_counter(ivc, ivc->rx_channel, offset); in tegra_ivc_read_advance() 280 if (tegra_ivc_channel_avail_count(ivc, ivc->rx_channel) == in tegra_ivc_read_advance() [all …]
|
/openbmc/linux/drivers/usb/atm/ |
H A D | usbatm.c | 412 unsigned int stride = instance->rx_channel.stride; in usbatm_extract_cells() 517 rx_channel.tasklet); in usbatm_rx_process() 520 while ((urb = usbatm_pop_urb(&instance->rx_channel))) { in usbatm_rx_process() 527 const unsigned int packet_size = instance->rx_channel.packet_size; in usbatm_rx_process() 698 tasklet_kill(&instance->rx_channel.tasklet); in usbatm_destroy_instance() 826 tasklet_disable(&instance->rx_channel.tasklet); in usbatm_atm_open() 831 tasklet_enable(&instance->rx_channel.tasklet); in usbatm_atm_open() 861 tasklet_disable(&instance->rx_channel.tasklet); in usbatm_atm_close() 868 tasklet_enable(&instance->rx_channel.tasklet); in usbatm_atm_close() 1074 usbatm_init_channel(&instance->rx_channel); in usbatm_usb_probe() [all …]
|
H A D | usbatm.h | 154 struct usbatm_channel rx_channel; member
|
/openbmc/linux/drivers/mailbox/ |
H A D | mailbox-test.c | 38 struct mbox_chan *rx_channel; member 186 if (!tdev->rx_channel) { in mbox_test_message_read() 389 tdev->rx_channel = mbox_test_request_channel(pdev, "rx"); in mbox_test_probe() 391 if (IS_ERR_OR_NULL(tdev->tx_channel) && IS_ERR_OR_NULL(tdev->rx_channel)) in mbox_test_probe() 395 if (!tdev->rx_channel && (tdev->rx_mmio != tdev->tx_mmio)) in mbox_test_probe() 396 tdev->rx_channel = tdev->tx_channel; in mbox_test_probe() 404 if (tdev->rx_channel) { in mbox_test_probe() 429 if (tdev->rx_channel) in mbox_test_remove() 430 mbox_free_channel(tdev->rx_channel); in mbox_test_remove()
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_cppi41.c | 38 struct cppi41_dma_channel *rx_channel; member 496 cppi41_channel = &controller->rx_channel[ch_num]; in cppi41_dma_channel_allocate() 654 dc = ctrl->rx_channel[i].dc; in cppi41_release_all_dma_chans() 707 cppi41_channel = &controller->rx_channel[port - 1]; in cppi41_dma_controller_start() 741 kfree(controller->rx_channel); in cppi41_dma_controller_destroy() 788 controller->rx_channel = kzalloc(channel_size, GFP_KERNEL); in cppi41_dma_controller_create() 789 if (!controller->rx_channel) in cppi41_dma_controller_create() 803 kfree(controller->rx_channel); in cppi41_dma_controller_create()
|
H A D | ux500_dma.c | 44 struct ux500_dma_channel rx_channel[UX500_MUSB_DMA_NUM_RX_TX_CHANNELS]; member 148 &(controller->rx_channel[ch_num]) ; in ux500_dma_channel_allocate() 246 channel = &controller->rx_channel[ch_num].channel; in ux500_dma_controller_stop() 294 channel_array = controller->rx_channel; in ux500_dma_controller_start()
|
H A D | musb_host.c | 339 if (ep->rx_channel) { in musb_advance_schedule() 340 dma->channel_release(ep->rx_channel); in musb_advance_schedule() 341 ep->rx_channel = NULL; in musb_advance_schedule() 705 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program() 712 hw_ep->rx_channel = dma_channel; in musb_ep_program() 884 hw_ep->rx_channel = dma_channel = NULL; in musb_ep_program() 912 dma = is_dma_capable() ? ep->rx_channel : NULL; in musb_bulk_nak_timeout() 1470 struct dma_channel *channel = hw_ep->rx_channel; in musb_rx_dma_iso_cppi41() 1541 struct dma_channel *channel = hw_ep->rx_channel; in musb_rx_dma_inventra_cppi41() 1614 struct dma_channel *channel = hw_ep->rx_channel; in musb_rx_dma_in_inventra_cppi41() [all …]
|
H A D | musb_core.h | 220 struct dma_channel *rx_channel; member
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci.c | 833 struct dma_chan *rx_channel; member 850 dmae->rx_channel = dma_request_chan(mmc_dev(host->mmc), "rx"); in mmci_dmae_setup() 851 if (IS_ERR(dmae->rx_channel)) { in mmci_dmae_setup() 852 int ret = PTR_ERR(dmae->rx_channel); in mmci_dmae_setup() 853 dmae->rx_channel = NULL; in mmci_dmae_setup() 870 if (dmae->rx_channel && !dmae->tx_channel) in mmci_dmae_setup() 871 dmae->tx_channel = dmae->rx_channel; in mmci_dmae_setup() 873 if (dmae->rx_channel) in mmci_dmae_setup() 874 rxname = dma_chan_name(dmae->rx_channel); in mmci_dmae_setup() 897 if (dmae->rx_channel) { in mmci_dmae_setup() [all …]
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-tegra186.c | 183 tegra186_bpmp_channel_cleanup(bpmp->rx_channel); in tegra186_bpmp_teardown_channels() 291 err = tegra186_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra186_bpmp_setup_channels() 319 tegra186_bpmp_channel_reset(bpmp->rx_channel); in tegra186_bpmp_reset_channels()
|
H A D | bpmp.c | 676 channel = bpmp->rx_channel; in tegra_bpmp_handle_rx() 738 bpmp->rx_channel = devm_kzalloc(&pdev->dev, sizeof(*bpmp->rx_channel), in tegra_bpmp_probe() 740 if (!bpmp->rx_channel) in tegra_bpmp_probe()
|
H A D | bpmp-tegra210.c | 188 err = tegra210_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra210_bpmp_init()
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | ivc.h | 51 struct tegra_ivc_channel_header *rx_channel; member
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_host.c | 376 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;
|
H A D | musb_core.h | 256 struct dma_channel *rx_channel; member
|
/openbmc/linux/include/soc/tegra/ |
H A D | bpmp.h | 83 struct tegra_bpmp_channel *tx_channel, *rx_channel, *threaded_channels; member
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 3377 nw64(RBR_KICK(rp->rx_channel), rp->rbr_pending); in niu_rbr_refill() 3507 skb_record_rx_queue(skb, rp->rx_channel); in niu_process_rx_pkt() 3660 int rx_channel = rp->rx_channel; in niu_sync_rx_discard_stats() local 3668 misc = nr64(RXMISC(rx_channel)); in niu_sync_rx_discard_stats() 3670 nw64(RXMISC(rx_channel), 0); in niu_sync_rx_discard_stats() 3675 rx_channel); in niu_sync_rx_discard_stats() 3679 rx_channel, misc, misc-limit); in niu_sync_rx_discard_stats() 3683 wred = nr64(RED_DIS_CNT(rx_channel)); in niu_sync_rx_discard_stats() 3685 nw64(RED_DIS_CNT(rx_channel), 0); in niu_sync_rx_discard_stats() 3689 dev_err(np->device, "rx-%d: Counter overflow WRED discard\n", rx_channel); in niu_sync_rx_discard_stats() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | netcp.h | 105 void *rx_channel; member
|
H A D | netcp_core.c | 1552 if (netcp->rx_channel) { in netcp_free_navigator_resources() 1553 knav_dma_close_channel(netcp->rx_channel); in netcp_free_navigator_resources() 1554 netcp->rx_channel = NULL; in netcp_free_navigator_resources() 1679 netcp->rx_channel = knav_dma_open_channel(netcp->netcp_device->device, in netcp_setup_navigator_resources() 1681 if (IS_ERR(netcp->rx_channel)) { in netcp_setup_navigator_resources() 1684 ret = PTR_ERR(netcp->rx_channel); in netcp_setup_navigator_resources() 1688 dev_dbg(netcp->ndev_dev, "opened RX channel: %p\n", netcp->rx_channel); in netcp_setup_navigator_resources()
|
H A D | cpmac.c | 737 int rx_channel = (macstatus >> 8) & 7; in cpmac_check_status() local 750 rx_code, rx_channel, macstatus); in cpmac_check_status()
|
/openbmc/linux/include/net/ |
H A D | cfg80211.h | 6952 struct ieee80211_channel *rx_channel, in cfg80211_inform_bss_width_frame() argument 6958 .chan = rx_channel, in cfg80211_inform_bss_width_frame() 6968 struct ieee80211_channel *rx_channel, in cfg80211_inform_bss_frame() argument 6973 .chan = rx_channel, in cfg80211_inform_bss_frame() 7078 struct ieee80211_channel *rx_channel, in cfg80211_inform_bss_width() argument 7086 .chan = rx_channel, in cfg80211_inform_bss_width() 7098 struct ieee80211_channel *rx_channel, in cfg80211_inform_bss() argument 7105 .chan = rx_channel, in cfg80211_inform_bss()
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.h | 160 #define FCT_FLOW(rx_channel) (0xE0 + ((rx_channel) << 2)) argument
|
H A D | lan743x_main.c | 1723 int rx_channel) in lan743x_dmac_rx_get_state() argument 1729 DMAC_CMD_START_R_(rx_channel)), in lan743x_dmac_rx_get_state() 1731 DMAC_CMD_STOP_R_(rx_channel))); in lan743x_dmac_rx_get_state() 1735 int rx_channel) in lan743x_dmac_rx_wait_till_stopped() argument 1741 ((result = lan743x_dmac_rx_get_state(adapter, rx_channel)) == in lan743x_dmac_rx_wait_till_stopped()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | core.h | 506 struct ieee80211_channel *rx_channel; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | core.h | 648 struct ieee80211_channel *rx_channel; member
|