Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/staging/ks7010/
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()
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(&priv->tx_dev.tx_dev_lock); in ks_wlan_hw_tx()
400 spin_unlock(&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()
Dks_wlan_net.c2507 netdev_dbg(dev, "head(%d) tail(%d)!!\n", priv->tx_dev.qhead, in ks_wlan_tx_timeout()
2508 priv->tx_dev.qtail); in ks_wlan_tx_timeout()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c510 if (ch->tx_dev) { in sh_mobile_lcdc_display_on()
513 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on()
533 if (ch->tx_dev) in sh_mobile_lcdc_display_off()
534 ch->tx_dev->ops->display_off(ch->tx_dev); in sh_mobile_lcdc_display_off()
2278 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2279 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2280 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2494 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2495 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2496 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init()
[all …]
Dsh_mobile_lcdcfb.h58 struct sh_mobile_lcdc_entity *tx_dev; member
/kernel/linux/linux-5.10/include/video/
Dsh_mobile_lcdc.h187 struct platform_device *tx_dev; /* HDMI/DSI transmitter device */ member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sh-msiof.c1171 struct device *tx_dev, *rx_dev; in sh_msiof_request_dma() local
1209 tx_dev = ctlr->dma_tx->device->dev; in sh_msiof_request_dma()
1210 p->tx_dma_addr = dma_map_single(tx_dev, p->tx_dma_page, PAGE_SIZE, in sh_msiof_request_dma()
1212 if (dma_mapping_error(tx_dev, p->tx_dma_addr)) in sh_msiof_request_dma()
1225 dma_unmap_single(tx_dev, p->tx_dma_addr, PAGE_SIZE, DMA_TO_DEVICE); in sh_msiof_request_dma()
Dspi.c956 struct device *tx_dev, *rx_dev; in __spi_map_msg() local
964 tx_dev = ctlr->dma_tx->device->dev; in __spi_map_msg()
966 tx_dev = ctlr->dev.parent; in __spi_map_msg()
978 ret = spi_map_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
990 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
1005 struct device *tx_dev, *rx_dev; in __spi_unmap_msg() local
1011 tx_dev = ctlr->dma_tx->device->dev; in __spi_unmap_msg()
1013 tx_dev = ctlr->dev.parent; in __spi_unmap_msg()
1025 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, DMA_TO_DEVICE); in __spi_unmap_msg()