Home
last modified time | relevance | path

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

12

/openbmc/u-boot/arch/arm/mach-tegra/
H A Divc.c160 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 Dusbatm.c412 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 Dusbatm.h154 struct usbatm_channel rx_channel; member
/openbmc/linux/drivers/mailbox/
H A Dmailbox-test.c38 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 Dmusb_cppi41.c38 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 Dux500_dma.c44 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 Dmusb_host.c339 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 Dmusb_core.h220 struct dma_channel *rx_channel; member
/openbmc/linux/drivers/mmc/host/
H A Dmmci.c833 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 Dbpmp-tegra186.c183 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 Dbpmp.c676 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 Dbpmp-tegra210.c188 err = tegra210_bpmp_channel_init(bpmp->rx_channel, bpmp, in tegra210_bpmp_init()
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Divc.h51 struct tegra_ivc_channel_header *rx_channel; member
/openbmc/u-boot/drivers/usb/musb-new/
H A 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;
H A Dmusb_core.h256 struct dma_channel *rx_channel; member
/openbmc/linux/include/soc/tegra/
H A Dbpmp.h83 struct tegra_bpmp_channel *tx_channel, *rx_channel, *threaded_channels; member
/openbmc/linux/drivers/net/ethernet/sun/
H A Dniu.c3377 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 Dnetcp.h105 void *rx_channel; member
H A Dnetcp_core.c1552 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 Dcpmac.c737 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 Dcfg80211.h6952 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 Dlan743x_main.h160 #define FCT_FLOW(rx_channel) (0xE0 + ((rx_channel) << 2)) argument
H A Dlan743x_main.c1723 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 Dcore.h506 struct ieee80211_channel *rx_channel; member
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dcore.h648 struct ieee80211_channel *rx_channel; member

12