Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-pxa2xx-pxadma.c149 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; in pxa2xx_spi_dma_error_stop()
173 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; in pxa2xx_spi_dma_transfer_complete()
217 if (channel == drv_data->tx_channel) in pxa2xx_spi_dma_handler()
227 if ((channel == drv_data->tx_channel) in pxa2xx_spi_dma_handler()
255 && (DCSR(drv_data->tx_channel) & DCSR_RUN)) { in pxa2xx_spi_dma_transfer()
311 DCSR(drv_data->tx_channel) = RESET_DMA_CHANNEL; in pxa2xx_spi_dma_prepare()
312 DSADR(drv_data->tx_channel) = drv_data->tx_dma; in pxa2xx_spi_dma_prepare()
313 DTADR(drv_data->tx_channel) = drv_data->ssdr_physical; in pxa2xx_spi_dma_prepare()
316 DCMD(drv_data->tx_channel) = DCMD_FLOWTRG in pxa2xx_spi_dma_prepare()
321 DCMD(drv_data->tx_channel) = DCMD_INCSRCADDR in pxa2xx_spi_dma_prepare()
[all …]
Dspi-pxa2xx.h41 int tx_channel; member
Dspi-pxa2xx.c1212 drv_data->tx_channel = -1; in pxa2xx_spi_probe()
/drivers/usb/atm/
Dusbatm.c480 unsigned int stride = instance->tx_channel.stride; in usbatm_write_cells()
597 const unsigned int buf_size = instance->tx_channel.buf_size; in usbatm_tx_process()
606 urb = usbatm_pop_urb(&instance->tx_channel); in usbatm_tx_process()
659 tasklet_disable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
665 tasklet_enable(&instance->tx_channel.tasklet); in usbatm_cancel_send()
708 tasklet_schedule(&instance->tx_channel.tasklet); in usbatm_atm_send()
729 tasklet_kill(&instance->tx_channel.tasklet); in usbatm_destroy_instance()
1124 usbatm_init_channel(&instance->tx_channel); in usbatm_usb_probe()
1126 tasklet_init(&instance->tx_channel.tasklet, usbatm_tx_process, (unsigned long)instance); in usbatm_usb_probe()
1128 instance->tx_channel.stride = ATM_CELL_SIZE + driver->tx_padding; in usbatm_usb_probe()
[all …]
Dusbatm.h192 struct usbatm_channel tx_channel; member
/drivers/atm/
Dhorizon.c447 static inline void SELECT_TX_CHANNEL (hrz_dev * dev, u16 tx_channel) { in SELECT_TX_CHANNEL() argument
448 wr_regl (dev, TX_CHANNEL_PORT_OFF, tx_channel); in SELECT_TX_CHANNEL()
1464 short tx_channel = -1; in setup_idle_tx_channel() local
1488 tx_channel = chan; in setup_idle_tx_channel()
1504 tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel]; in setup_idle_tx_channel()
1513 dev->tx_channel_record[tx_channel] = channel; in setup_idle_tx_channel()
1516 update_tx_channel_config (dev, tx_channel, RATE_TYPE_ACCESS, in setup_idle_tx_channel()
1520 update_tx_channel_config (dev, tx_channel, PCR_TIMER_ACCESS, in setup_idle_tx_channel()
1526 update_tx_channel_config (dev, tx_channel, SCR_TIMER_ACCESS, in setup_idle_tx_channel()
1530 update_tx_channel_config (dev, tx_channel, BUCKET_CAPACITY_ACCESS, in setup_idle_tx_channel()
[all …]
/drivers/usb/musb/
Dux500_dma.c52 struct ux500_dma_channel tx_channel[UX500_MUSB_DMA_NUM_TX_CHANNELS]; member
162 ux500_channel = is_tx ? &(controller->tx_channel[ch_num]) : in ux500_dma_channel_allocate()
278 channel = &controller->tx_channel[ch_num].channel; in ux500_dma_controller_stop()
352 channel_array = controller->tx_channel; in ux500_dma_controller_start()
Dmusb_host.c291 hw_ep->tx_channel ? "dma" : "pio"); in musb_start_urb()
293 if (!hw_ep->tx_channel) in musb_start_urb()
388 if (ep->tx_channel) { in musb_advance_schedule()
389 dma->channel_release(ep->tx_channel); in musb_advance_schedule()
390 ep->tx_channel = NULL; in musb_advance_schedule()
622 struct dma_channel *channel = hw_ep->tx_channel; in musb_tx_dma_program()
680 hw_ep->tx_channel = NULL; in musb_tx_dma_program()
724 hw_ep->tx_channel = NULL; in musb_ep_program()
730 dma_channel = is_out ? hw_ep->tx_channel : hw_ep->rx_channel; in musb_ep_program()
735 hw_ep->tx_channel = dma_channel; in musb_ep_program()
[all …]
Dmusb_core.h243 struct dma_channel *tx_channel; member
Dmusb_core.c894 ep->tx_channel ? " DMA" : "", in musb_stage0_irq()
896 if (!ep->tx_channel) in musb_stage0_irq()
/drivers/net/ethernet/sun/
Dniu.c3757 if (tx_vec & (1 << rp->tx_channel)) in niu_poll_core()
3759 nw64(LD_IM0(LDN_TXDMA(rp->tx_channel)), 0); in niu_poll_core()
3859 netdev_err(np->dev, "TX channel %u errors ( ", rp->tx_channel); in niu_log_txchan_errors()
3885 cs = nr64(TX_CS(rp->tx_channel)); in niu_tx_error()
3886 logh = nr64(TX_RNG_ERR_LOGH(rp->tx_channel)); in niu_tx_error()
3887 logl = nr64(TX_RNG_ERR_LOGL(rp->tx_channel)); in niu_tx_error()
3890 rp->tx_channel, in niu_tx_error()
4112 if (tx_vec & (1 << rp->tx_channel)) { in niu_slowpath_interrupt()
4160 rp->tx_cs = nr64(TX_CS(rp->tx_channel)); in niu_txchan_intr()
4189 int ldn = LDN_TXDMA(rp->tx_channel); in __niu_fastpath_interrupt()
[all …]
Dniu.h2861 u16 tx_channel; member
/drivers/net/ethernet/ti/
Dcpmac.c762 int tx_channel = (macstatus >> 16) & 7; in cpmac_check_status() local
777 dev->name, tx_code, tx_channel, macstatus); in cpmac_check_status()