Home
last modified time | relevance | path

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

/drivers/mailbox/
Dmailbox-test.c36 struct mbox_chan *tx_channel; member
54 if (!tdev->tx_channel) { in mbox_test_signal_write()
104 if (!tdev->tx_channel) { in mbox_test_message_write()
144 ret = mbox_send_message(tdev->tx_channel, data); in mbox_test_message_write()
389 tdev->tx_channel = mbox_test_request_channel(pdev, "tx"); in mbox_test_probe()
392 if (!tdev->tx_channel && !tdev->rx_channel) in mbox_test_probe()
397 tdev->rx_channel = tdev->tx_channel; in mbox_test_probe()
428 if (tdev->tx_channel) in mbox_test_remove()
429 mbox_free_channel(tdev->tx_channel); in mbox_test_remove()
/drivers/usb/atm/
Dusbatm.c461 unsigned int stride = instance->tx_channel.stride; in usbatm_write_cells()
571 tx_channel.tasklet); in usbatm_tx_process()
574 const unsigned int buf_size = instance->tx_channel.buf_size; in usbatm_tx_process()
583 urb = usbatm_pop_urb(&instance->tx_channel); in usbatm_tx_process()
635 tasklet_disable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
641 tasklet_enable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
680 tasklet_schedule(&instance->tx_channel.tasklet); in usbatm_atm_send()
699 tasklet_kill(&instance->tx_channel.tasklet); in usbatm_destroy_instance()
1075 usbatm_init_channel(&instance->tx_channel); in usbatm_usb_probe()
1077 tasklet_setup(&instance->tx_channel.tasklet, usbatm_tx_process); in usbatm_usb_probe()
[all …]
Dusbatm.h155 struct usbatm_channel tx_channel; member
/drivers/firmware/tegra/
Dbpmp-tegra186.c202 err = tegra186_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra186_bpmp_init()
234 tegra186_bpmp_channel_reset(bpmp->tx_channel); in tegra186_bpmp_init()
252 tegra186_bpmp_channel_cleanup(bpmp->tx_channel); in tegra186_bpmp_init()
272 tegra186_bpmp_channel_cleanup(bpmp->tx_channel); in tegra186_bpmp_deinit()
283 tegra186_bpmp_channel_reset(bpmp->tx_channel); in tegra186_bpmp_resume()
Dbpmp.c329 channel = bpmp->tx_channel; in tegra_bpmp_transfer_atomic()
719 bpmp->tx_channel = devm_kzalloc(&pdev->dev, sizeof(*bpmp->tx_channel), in tegra_bpmp_probe()
721 if (!bpmp->tx_channel) in tegra_bpmp_probe()
Dbpmp-tegra210.c182 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init()
/drivers/usb/musb/
Dmusb_cppi41.c39 struct cppi41_dma_channel *tx_channel; member
494 cppi41_channel = &controller->tx_channel[ch_num]; in cppi41_dma_channel_allocate()
651 dc = ctrl->tx_channel[i].dc; in cppi41_release_all_dma_chans()
705 cppi41_channel = &controller->tx_channel[port - 1]; in cppi41_dma_controller_start()
742 kfree(controller->tx_channel); in cppi41_dma_controller_destroy()
791 controller->tx_channel = kzalloc(channel_size, GFP_KERNEL); in cppi41_dma_controller_create()
792 if (!controller->tx_channel) in cppi41_dma_controller_create()
801 kfree(controller->tx_channel); in cppi41_dma_controller_create()
Dux500_dma.c45 struct ux500_dma_channel tx_channel[UX500_MUSB_DMA_NUM_RX_TX_CHANNELS]; member
147 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : in ux500_dma_channel_allocate()
256 channel = &controller->tx_channel[ch_num].channel; in ux500_dma_controller_stop()
338 channel_array = controller->tx_channel; in ux500_dma_controller_start()
Dmusb_host.c267 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb()
269 if (!hw_ep->tx_channel) in musb_start_urb()
345 if (ep->tx_channel) { in musb_advance_schedule()
346 dma->channel_release(ep->tx_channel); in musb_advance_schedule()
347 ep->tx_channel = NULL; in musb_advance_schedule()
576 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_set_mode_mentor()
614 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_set_mode_cppi_tusb()
629 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_program()
655 hw_ep->tx_channel = NULL; in musb_tx_dma_program()
699 hw_ep->tx_channel = NULL; in musb_ep_program()
[all …]
Dmusb_core.h219 struct dma_channel *tx_channel; member
Dmusb_core.c1137 ep->tx_channel ? " DMA" : "", in musb_stage0_irq()
1139 if (!ep->tx_channel) in musb_stage0_irq()
/drivers/mmc/host/
Dmmci.c732 struct dma_chan *tx_channel; member
755 dmae->tx_channel = dma_request_chan(mmc_dev(host->mmc), "tx"); in mmci_dmae_setup()
756 if (IS_ERR(dmae->tx_channel)) { in mmci_dmae_setup()
757 if (PTR_ERR(dmae->tx_channel) == -EPROBE_DEFER) in mmci_dmae_setup()
760 dmae->tx_channel = NULL; in mmci_dmae_setup()
768 if (dmae->rx_channel && !dmae->tx_channel) in mmci_dmae_setup()
769 dmae->tx_channel = dmae->rx_channel; in mmci_dmae_setup()
776 if (dmae->tx_channel) in mmci_dmae_setup()
777 txname = dma_chan_name(dmae->tx_channel); in mmci_dmae_setup()
788 if (dmae->tx_channel) { in mmci_dmae_setup()
[all …]
/drivers/input/touchscreen/
Ds6sy761.c110 u8 tx_channel; member
371 sdata->tx_channel = max_t(u8, buffer[8], 1); in s6sy761_hw_init()
451 err = input_mt_init_slots(sdata->input, sdata->tx_channel, in s6sy761_probe()
/drivers/net/ethernet/sfc/siena/
Defx.c478 struct efx_channel *tx_channel; in efx_siena_get_irq_moderation() local
480 tx_channel = efx->channel[efx->tx_channel_offset]; in efx_siena_get_irq_moderation()
481 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
/drivers/net/ethernet/sfc/
Defx.c477 struct efx_channel *tx_channel; in efx_get_irq_moderation() local
479 tx_channel = efx->channel[efx->tx_channel_offset]; in efx_get_irq_moderation()
480 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()
/drivers/net/ethernet/sun/
Dniu.c3758 if (tx_vec & (1 << rp->tx_channel)) in niu_poll_core()
3760 nw64(LD_IM0(LDN_TXDMA(rp->tx_channel)), 0); in niu_poll_core()
3860 netdev_err(np->dev, "TX channel %u errors ( ", rp->tx_channel); in niu_log_txchan_errors()
3886 cs = nr64(TX_CS(rp->tx_channel)); in niu_tx_error()
3887 logh = nr64(TX_RNG_ERR_LOGH(rp->tx_channel)); in niu_tx_error()
3888 logl = nr64(TX_RNG_ERR_LOGL(rp->tx_channel)); in niu_tx_error()
3891 rp->tx_channel, in niu_tx_error()
4111 if (tx_vec & (1 << rp->tx_channel)) { in niu_slowpath_interrupt()
4159 rp->tx_cs = nr64(TX_CS(rp->tx_channel)); in niu_txchan_intr()
4188 int ldn = LDN_TXDMA(rp->tx_channel); in __niu_fastpath_interrupt()
[all …]
Dniu.h2862 u16 tx_channel; member
/drivers/net/ethernet/ti/
Dcpmac.c739 int tx_channel = (macstatus >> 16) & 7; in cpmac_check_status() local
754 tx_code, tx_channel, macstatus); in cpmac_check_status()
/drivers/net/ethernet/microchip/
Dlan743x_main.c1686 int tx_channel) in lan743x_dmac_tx_get_state() argument
1692 DMAC_CMD_START_T_(tx_channel)), in lan743x_dmac_tx_get_state()
1694 DMAC_CMD_STOP_T_(tx_channel))); in lan743x_dmac_tx_get_state()
1698 int tx_channel) in lan743x_dmac_tx_wait_till_stopped() argument
1704 ((result = lan743x_dmac_tx_get_state(adapter, tx_channel)) == in lan743x_dmac_tx_wait_till_stopped()
/drivers/net/ethernet/sfc/falcon/
Defx.c1945 struct ef4_channel *tx_channel; in ef4_get_irq_moderation() local
1947 tx_channel = efx->channel[efx->tx_channel_offset]; in ef4_get_irq_moderation()
1948 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()