/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | ivc.c | 171 ACCESS_ONCE(ivc->tx_channel->w_count) = in tegra_ivc_advance_tx() 172 ACCESS_ONCE(ivc->tx_channel->w_count) + 1; in tegra_ivc_advance_tx() 192 if (ivc->tx_channel->state != ivc_state_established) in tegra_ivc_check_read() 213 if (ivc->tx_channel->state != ivc_state_established) in tegra_ivc_check_write() 216 if (!tegra_ivc_channel_full(ivc, ivc->tx_channel)) in tegra_ivc_check_write() 373 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified() 389 ivc->tx_channel->state = ivc_state_ack; in tegra_ivc_channel_notified() 410 ivc->tx_channel->w_count = 0; in tegra_ivc_channel_notified() 427 ivc->tx_channel->state = ivc_state_established; in tegra_ivc_channel_notified() 449 ivc->tx_channel->state = ivc_state_established; in tegra_ivc_channel_notified() [all …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | mailbox-test.c | 37 struct mbox_chan *tx_channel; member 55 if (!tdev->tx_channel) { in mbox_test_signal_write() 105 if (!tdev->tx_channel) { in mbox_test_message_write() 145 ret = mbox_send_message(tdev->tx_channel, data); in mbox_test_message_write() 388 tdev->tx_channel = mbox_test_request_channel(pdev, "tx"); in mbox_test_probe() 391 if (IS_ERR_OR_NULL(tdev->tx_channel) && IS_ERR_OR_NULL(tdev->rx_channel)) in mbox_test_probe() 396 tdev->rx_channel = tdev->tx_channel; in mbox_test_probe() 427 if (tdev->tx_channel) in mbox_test_remove() 428 mbox_free_channel(tdev->tx_channel); in mbox_test_remove()
|
/openbmc/linux/drivers/usb/atm/ |
H A D | usbatm.c | 571 tx_channel.tasklet); 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() 699 tasklet_kill(&instance->tx_channel.tasklet); in usbatm_destroy_instance() 1075 usbatm_init_channel(&instance->tx_channel); in usbatm_usb_probe() 1090 instance->tx_channel.buf_size = max(instance->tx_channel.stride, in usbatm_usb_probe() 1234 tasklet_disable(&instance->tx_channel.tasklet); in usbatm_usb_disconnect() 1240 del_timer_sync(&instance->tx_channel.delay); in usbatm_usb_disconnect() 1245 INIT_LIST_HEAD(&instance->tx_channel.list); in usbatm_usb_disconnect() [all …]
|
H A D | usbatm.h | 155 struct usbatm_channel tx_channel; member
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_cppi41.c | 39 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()
|
H A D | ux500_dma.c | 45 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()
|
H A D | musb_host.c | 267 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 …]
|
H A D | musb_core.h | 219 struct dma_channel *tx_channel; member
|
/openbmc/qemu/hw/net/ |
H A D | allwinner_emac.c | 237 s->tx_channel = 0; in aw_emac_reset() 260 return s->tx_channel; in aw_emac_read() 362 s->tx_channel = value < NUM_TX_FIFOS ? value : 0; in aw_emac_write() 376 fifo = &s->tx_fifo[s->tx_channel]; in aw_emac_write() 513 VMSTATE_UINT32(tx_channel, AwEmacState),
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp-tegra186.c | 184 tegra186_bpmp_channel_cleanup(bpmp->tx_channel); in tegra186_bpmp_teardown_channels() 286 err = tegra186_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra186_bpmp_setup_channels() 294 tegra186_bpmp_channel_cleanup(bpmp->tx_channel); in tegra186_bpmp_setup_channels() 318 tegra186_bpmp_channel_reset(bpmp->tx_channel); in tegra186_bpmp_reset_channels()
|
H A D | bpmp.c | 332 channel = bpmp->tx_channel; in tegra_bpmp_transfer_atomic() 733 bpmp->tx_channel = devm_kzalloc(&pdev->dev, sizeof(*bpmp->tx_channel), in tegra_bpmp_probe() 735 if (!bpmp->tx_channel) in tegra_bpmp_probe()
|
H A D | bpmp-tegra210.c | 183 err = tegra210_bpmp_channel_init(bpmp->tx_channel, bpmp, in tegra210_bpmp_init()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | mmci.c | 834 struct dma_chan *tx_channel; member 858 if (IS_ERR(dmae->tx_channel)) { in mmci_dmae_setup() 862 dmae->tx_channel = NULL; in mmci_dmae_setup() 871 dmae->tx_channel = dmae->rx_channel; in mmci_dmae_setup() 878 if (dmae->tx_channel) in mmci_dmae_setup() 890 if (dmae->tx_channel) { in mmci_dmae_setup() 923 if (dmae->tx_channel) in mmci_dmae_release() 924 dma_release_channel(dmae->tx_channel); in mmci_dmae_release() 936 chan = dmae->tx_channel; in mmci_dma_unmap() 1031 chan = dmae->tx_channel; in _mmci_dmae_prep_data() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/ |
H A D | ivc.h | 56 struct tegra_ivc_channel_header *tx_channel; member
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_host.c | 283 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb() 285 if (!hw_ep->tx_channel) in musb_start_urb() 382 if (ep->tx_channel) { in musb_advance_schedule() 383 dma->channel_release(ep->tx_channel); in musb_advance_schedule() 384 ep->tx_channel = NULL; in musb_advance_schedule() 620 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_program() 668 hw_ep->tx_channel = NULL; in musb_tx_dma_program() 708 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program() 713 hw_ep->tx_channel = dma_channel; in musb_ep_program() 1128 dma = is_dma_capable() ? hw_ep->tx_channel : NULL; in musb_host_tx() [all …]
|
H A D | musb_core.h | 255 struct dma_channel *tx_channel; member
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | s6sy761.c | 110 u8 tx_channel; member 371 sdata->tx_channel = max_t(u8, buffer[8], 1); in s6sy761_hw_init() 450 err = input_mt_init_slots(sdata->input, sdata->tx_channel, in s6sy761_probe()
|
/openbmc/qemu/include/hw/net/ |
H A D | allwinner_emac.h | 174 uint32_t tx_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/sfc/siena/ |
H A D | efx.c | 477 struct efx_channel *tx_channel; in efx_siena_get_irq_moderation() local 479 tx_channel = efx->channel[efx->tx_channel_offset]; in efx_siena_get_irq_moderation() 480 *tx_usecs = tx_channel->irq_moderation_us; in efx_siena_get_irq_moderation()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | efx.c | 477 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()
|
/openbmc/linux/drivers/net/ethernet/sun/ |
H A D | niu.c | 3758 if (tx_vec & (1 << rp->tx_channel)) in niu_poll_core() 3886 cs = nr64(TX_CS(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() 4194 if (tx_vec & (1 << rp->tx_channel)) in __niu_fastpath_interrupt() 4544 rp->tx_channel = first_tx_channel + i; in niu_alloc_channels() 4667 val |= (1 << np->tx_rings[i].tx_channel); in niu_txc_port_dma_enable() 4674 int err, channel = rp->tx_channel; in niu_init_one_tx_channel() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpmac.c | 739 int tx_channel = (macstatus >> 16) & 7; in cpmac_check_status() local 754 tx_code, tx_channel, macstatus); in cpmac_check_status()
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 1694 int tx_channel) in lan743x_dmac_tx_get_state() argument 1700 DMAC_CMD_START_T_(tx_channel)), in lan743x_dmac_tx_get_state() 1702 DMAC_CMD_STOP_T_(tx_channel))); in lan743x_dmac_tx_get_state() 1706 int tx_channel) in lan743x_dmac_tx_wait_till_stopped() argument 1712 ((result = lan743x_dmac_tx_get_state(adapter, tx_channel)) == in lan743x_dmac_tx_wait_till_stopped()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | efx.c | 1944 struct ef4_channel *tx_channel; in ef4_get_irq_moderation() local 1946 tx_channel = efx->channel[efx->tx_channel_offset]; in ef4_get_irq_moderation() 1947 *tx_usecs = tx_channel->irq_moderation_us; in ef4_get_irq_moderation()
|