Home
last modified time | relevance | path

Searched refs:tx_dev (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/staging/ks7010/
H A Dks_wlan.h447 struct tx_device tx_dev; member
520 priv->tx_dev.qhead = (priv->tx_dev.qhead + 1) % TX_DEVICE_BUFF_SIZE; in inc_txqhead()
525 priv->tx_dev.qtail = (priv->tx_dev.qtail + 1) % TX_DEVICE_BUFF_SIZE; in inc_txqtail()
530 return (CIRC_SPACE(priv->tx_dev.qhead, priv->tx_dev.qtail, in txq_has_space()
552 return CIRC_CNT_TO_END(priv->tx_dev.qhead, priv->tx_dev.qtail, in txq_count()
H A Dks7010_sdio.c303 sp = &priv->tx_dev.tx_dev_buff[priv->tx_dev.qtail]; in enqueue_txdev()
359 sp = &priv->tx_dev.tx_dev_buff[priv->tx_dev.qhead]; in tx_device_task()
398 spin_lock_bh(&priv->tx_dev.tx_dev_lock); in ks_wlan_hw_tx()
400 spin_unlock_bh(&priv->tx_dev.tx_dev_lock); in ks_wlan_hw_tx()
612 priv->tx_dev.qhead = 0; in trx_device_init()
613 priv->tx_dev.qtail = 0; in trx_device_init()
618 spin_lock_init(&priv->tx_dev.tx_dev_lock); in trx_device_init()
632 sp = &priv->tx_dev.tx_dev_buff[priv->tx_dev.qhead]; in trx_device_exit()
H A Dks_wlan_net.c2512 netdev_dbg(dev, "head(%d) tail(%d)!!\n", priv->tx_dev.qhead, in ks_wlan_tx_timeout()
2513 priv->tx_dev.qtail); in ks_wlan_tx_timeout()
/openbmc/linux/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c506 if (ch->tx_dev) { in sh_mobile_lcdc_display_on()
509 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on()
529 if (ch->tx_dev) in sh_mobile_lcdc_display_off()
530 ch->tx_dev->ops->display_off(ch->tx_dev); in sh_mobile_lcdc_display_off()
2275 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2276 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2277 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2490 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2491 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2492 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
[all …]
H A Dsh_mobile_lcdcfb.h58 struct sh_mobile_lcdc_entity *tx_dev; member
/openbmc/qemu/hw/dma/
H A Dxlnx_csu_dma.c298 stream_can_push(s->tx_dev, xlnx_csu_dma_src_notify, s)) { in xlnx_csu_dma_src_notify()
309 rlen = stream_push(s->tx_dev, buf, plen, eop); in xlnx_csu_dma_src_notify()
314 !stream_can_push(s->tx_dev, xlnx_csu_dma_src_notify, s)) { in xlnx_csu_dma_src_notify()
647 if (!s->is_dst && !s->tx_dev) { in xlnx_csu_dma_realize()
709 DEFINE_PROP_LINK("stream-connected-dma", XlnxCSUDMA, tx_dev,
/openbmc/qemu/include/hw/dma/
H A Dxlnx_csu_dma.h40 StreamSink *tx_dev; /* Used as generic StreamSink */ member
/openbmc/linux/include/video/
H A Dsh_mobile_lcdc.h187 struct platform_device *tx_dev; /* HDMI/DSI transmitter device */ member
/openbmc/linux/drivers/spi/
H A Dspi.c1120 struct device *tx_dev, *rx_dev; in __spi_map_msg() local
1128 tx_dev = ctlr->dma_tx->device->dev; in __spi_map_msg()
1130 tx_dev = ctlr->dma_map_dev; in __spi_map_msg()
1132 tx_dev = ctlr->dev.parent; in __spi_map_msg()
1150 ret = spi_map_buf_attrs(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
1163 spi_unmap_buf_attrs(ctlr, tx_dev, in __spi_map_msg()
1176 ctlr->cur_tx_dma_dev = tx_dev; in __spi_map_msg()
1185 struct device *tx_dev = ctlr->cur_tx_dma_dev; in __spi_unmap_msg() local
1200 spi_unmap_buf_attrs(ctlr, tx_dev, &xfer->tx_sg, in __spi_unmap_msg()
1213 struct device *tx_dev = ctlr->cur_tx_dma_dev; in spi_dma_sync_for_device() local
[all …]
H A Dspi-sh-msiof.c1189 struct device *tx_dev, *rx_dev; in sh_msiof_request_dma() local
1227 tx_dev = ctlr->dma_tx->device->dev; in sh_msiof_request_dma()
1228 p->tx_dma_addr = dma_map_single(tx_dev, p->tx_dma_page, PAGE_SIZE, in sh_msiof_request_dma()
1230 if (dma_mapping_error(tx_dev, p->tx_dma_addr)) in sh_msiof_request_dma()
1243 dma_unmap_single(tx_dev, p->tx_dma_addr, PAGE_SIZE, DMA_TO_DEVICE); in sh_msiof_request_dma()
/openbmc/linux/kernel/bpf/
H A Ddevmap.c325 struct net_device *tx_dev, in dev_map_bpf_prog_run() argument
328 struct xdp_txq_info txq = { .dev = tx_dev }; in dev_map_bpf_prog_run()
355 trace_xdp_exception(tx_dev, xdp_prog, act); in dev_map_bpf_prog_run()