Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mailbox/
Dmailbox-test.c35 struct mbox_chan *tx_channel; member
52 if (!tdev->tx_channel) { in mbox_test_signal_write()
101 if (!tdev->tx_channel) { in mbox_test_message_write()
138 ret = mbox_send_message(tdev->tx_channel, data); in mbox_test_message_write()
381 tdev->tx_channel = mbox_test_request_channel(pdev, "tx"); in mbox_test_probe()
384 if (!tdev->tx_channel && !tdev->rx_channel) in mbox_test_probe()
389 tdev->rx_channel = tdev->tx_channel; in mbox_test_probe()
419 if (tdev->tx_channel) in mbox_test_remove()
420 mbox_free_channel(tdev->tx_channel); in mbox_test_remove()
/Linux-v5.4/drivers/usb/atm/
Dusbatm.c461 unsigned int stride = instance->tx_channel.stride; in usbatm_write_cells()
572 const unsigned int buf_size = instance->tx_channel.buf_size; in usbatm_tx_process()
581 urb = usbatm_pop_urb(&instance->tx_channel); in usbatm_tx_process()
633 tasklet_disable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
639 tasklet_enable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
678 tasklet_schedule(&instance->tx_channel.tasklet); in usbatm_atm_send()
697 tasklet_kill(&instance->tx_channel.tasklet); in usbatm_destroy_instance()
1071 usbatm_init_channel(&instance->tx_channel); in usbatm_usb_probe()
1073 tasklet_init(&instance->tx_channel.tasklet, usbatm_tx_process, (unsigned long)instance); in usbatm_usb_probe()
1075 instance->tx_channel.stride = ATM_CELL_SIZE + driver->tx_padding; in usbatm_usb_probe()
[all …]
Dusbatm.h155 struct usbatm_channel tx_channel; member
/Linux-v5.4/drivers/atm/
Dhorizon.c433 static inline void SELECT_TX_CHANNEL (hrz_dev * dev, u16 tx_channel) { in SELECT_TX_CHANNEL() argument
434 wr_regl (dev, TX_CHANNEL_PORT_OFF, tx_channel); in SELECT_TX_CHANNEL()
1426 short tx_channel = -1; in setup_idle_tx_channel() local
1450 tx_channel = chan; in setup_idle_tx_channel()
1466 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; in setup_idle_tx_channel()
1475 dev->tx_channel_record[tx_channel] = channel; in setup_idle_tx_channel()
1478 update_tx_channel_config (dev, tx_channel, RATE_TYPE_ACCESS, in setup_idle_tx_channel()
1482 update_tx_channel_config (dev, tx_channel, PCR_TIMER_ACCESS, in setup_idle_tx_channel()
1488 update_tx_channel_config (dev, tx_channel, SCR_TIMER_ACCESS, in setup_idle_tx_channel()
1492 update_tx_channel_config (dev, tx_channel, BUCKET_CAPACITY_ACCESS, in setup_idle_tx_channel()
[all …]
/Linux-v5.4/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.c328 channel = bpmp->tx_channel; in tegra_bpmp_transfer_atomic()
718 bpmp->tx_channel = devm_kzalloc(&pdev->dev, sizeof(*bpmp->tx_channel), in tegra_bpmp_probe()
720 if (!bpmp->tx_channel) in tegra_bpmp_probe()
Dbpmp-tegra210.c185 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init()
/Linux-v5.4/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()
744 kfree(controller->tx_channel); in cppi41_dma_controller_destroy()
793 controller->tx_channel = kzalloc(channel_size, GFP_KERNEL); in cppi41_dma_controller_create()
794 if (!controller->tx_channel) in cppi41_dma_controller_create()
803 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()
357 if (ep->tx_channel) { in musb_advance_schedule()
358 dma->channel_release(ep->tx_channel); in musb_advance_schedule()
359 ep->tx_channel = NULL; in musb_advance_schedule()
589 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_set_mode_mentor()
631 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_set_mode_cppi_tusb()
646 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_program()
673 hw_ep->tx_channel = NULL; in musb_tx_dma_program()
717 hw_ep->tx_channel = NULL; in musb_ep_program()
[all …]
Dmusb_core.h210 struct dma_channel *tx_channel; member
Dmusb_core.c997 ep->tx_channel ? " DMA" : "", in musb_stage0_irq()
999 if (!ep->tx_channel) in musb_stage0_irq()
/Linux-v5.4/drivers/mmc/host/
Dmmci.c627 struct dma_chan *tx_channel; member
645 dmae->tx_channel = dma_request_slave_channel(mmc_dev(host->mmc), in mmci_dmae_setup()
653 if (dmae->rx_channel && !dmae->tx_channel) in mmci_dmae_setup()
654 dmae->tx_channel = dmae->rx_channel; in mmci_dmae_setup()
661 if (dmae->tx_channel) in mmci_dmae_setup()
662 txname = dma_chan_name(dmae->tx_channel); in mmci_dmae_setup()
673 if (dmae->tx_channel) { in mmci_dmae_setup()
674 struct device *dev = dmae->tx_channel->device->dev; in mmci_dmae_setup()
688 if (!dmae->tx_channel || !dmae->rx_channel) { in mmci_dmae_setup()
706 if (dmae->tx_channel) in mmci_dmae_release()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/include/soc/tegra/
Dbpmp.h70 struct tegra_bpmp_channel *tx_channel, *rx_channel, *threaded_channels; member
/Linux-v5.4/Documentation/spi/
Dpxa2xx.rst36 tx_channel. The rx_channel has a higher DMA service priority the tx_channel.
/Linux-v5.4/drivers/net/ethernet/sun/
Dniu.c3739 if (tx_vec & (1 << rp->tx_channel)) in niu_poll_core()
3741 nw64(LD_IM0(LDN_TXDMA(rp->tx_channel)), 0); in niu_poll_core()
3841 netdev_err(np->dev, "TX channel %u errors ( ", rp->tx_channel); in niu_log_txchan_errors()
3867 cs = nr64(TX_CS(rp->tx_channel)); in niu_tx_error()
3868 logh = nr64(TX_RNG_ERR_LOGH(rp->tx_channel)); in niu_tx_error()
3869 logl = nr64(TX_RNG_ERR_LOGL(rp->tx_channel)); in niu_tx_error()
3872 rp->tx_channel, in niu_tx_error()
4094 if (tx_vec & (1 << rp->tx_channel)) { in niu_slowpath_interrupt()
4142 rp->tx_cs = nr64(TX_CS(rp->tx_channel)); in niu_txchan_intr()
4171 int ldn = LDN_TXDMA(rp->tx_channel); in __niu_fastpath_interrupt()
[all …]
Dniu.h2862 u16 tx_channel; member
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_main.c1152 int tx_channel) in lan743x_dmac_tx_get_state() argument
1158 DMAC_CMD_START_T_(tx_channel)), in lan743x_dmac_tx_get_state()
1160 DMAC_CMD_STOP_T_(tx_channel))); in lan743x_dmac_tx_get_state()
1164 int tx_channel) in lan743x_dmac_tx_wait_till_stopped() argument
1170 ((result = lan743x_dmac_tx_get_state(adapter, tx_channel)) == in lan743x_dmac_tx_wait_till_stopped()
/Linux-v5.4/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()
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/
Defx.c1954 struct ef4_channel *tx_channel; in ef4_get_irq_moderation() local
1956 tx_channel = efx->channel[efx->tx_channel_offset]; in ef4_get_irq_moderation()
1957 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
/Linux-v5.4/drivers/net/ethernet/sfc/
Defx.c2103 struct efx_channel *tx_channel; in efx_get_irq_moderation() local
2105 tx_channel = efx->channel[efx->tx_channel_offset]; in efx_get_irq_moderation()
2106 *tx_usecs = tx_channel->irq_moderation_us; in efx_get_irq_moderation()