Home
last modified time | relevance | path

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

/Linux-v4.19/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()
611 priv->tx_dev.qhead = 0; in trx_device_init()
612 priv->tx_dev.qtail = 0; in trx_device_init()
617 spin_lock_init(&priv->tx_dev.tx_dev_lock); in trx_device_init()
631 sp = &priv->tx_dev.tx_dev_buff[priv->tx_dev.qhead]; in trx_device_exit()
Dks_wlan_net.c2505 netdev_dbg(dev, "head(%d) tail(%d)!!\n", priv->tx_dev.qhead, in ks_wlan_tx_timeout()
2506 priv->tx_dev.qtail); in ks_wlan_tx_timeout()
/Linux-v4.19/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()
2402 if (ch->tx_dev) { in sh_mobile_lcdc_remove()
2403 ch->tx_dev->lcdc = NULL; in sh_mobile_lcdc_remove()
2404 module_put(ch->cfg->tx_dev->dev.driver->owner); in sh_mobile_lcdc_remove()
2620 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init()
2621 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init()
2622 !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
/Linux-v4.19/include/video/
Dsh_mobile_lcdc.h187 struct platform_device *tx_dev; /* HDMI/DSI transmitter device */ member
/Linux-v4.19/drivers/spi/
Dspi-sh-msiof.c1209 struct device *tx_dev, *rx_dev; in sh_msiof_request_dma() local
1249 tx_dev = master->dma_tx->device->dev; in sh_msiof_request_dma()
1250 p->tx_dma_addr = dma_map_single(tx_dev, p->tx_dma_page, PAGE_SIZE, in sh_msiof_request_dma()
1252 if (dma_mapping_error(tx_dev, p->tx_dma_addr)) in sh_msiof_request_dma()
1265 dma_unmap_single(tx_dev, p->tx_dma_addr, PAGE_SIZE, DMA_TO_DEVICE); in sh_msiof_request_dma()
Dspi.c839 struct device *tx_dev, *rx_dev; in __spi_map_msg() local
847 tx_dev = ctlr->dma_tx->device->dev; in __spi_map_msg()
849 tx_dev = ctlr->dev.parent; in __spi_map_msg()
861 ret = spi_map_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
873 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg()
888 struct device *tx_dev, *rx_dev; in __spi_unmap_msg() local
894 tx_dev = ctlr->dma_tx->device->dev; in __spi_unmap_msg()
896 tx_dev = ctlr->dev.parent; in __spi_unmap_msg()
908 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, DMA_TO_DEVICE); in __spi_unmap_msg()