Searched refs:tx_dev (Results 1 – 7 of 7) sorted by relevance
/drivers/staging/ks7010/ |
D | ks_wlan.h | 447 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()
|
D | ks7010_sdio.c | 303 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()
|
D | ks_wlan_net.c | 2509 netdev_dbg(dev, "head(%d) tail(%d)!!\n", priv->tx_dev.qhead, in ks_wlan_tx_timeout() 2510 priv->tx_dev.qtail); in ks_wlan_tx_timeout()
|
/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 507 if (ch->tx_dev) { in sh_mobile_lcdc_display_on() 510 ret = ch->tx_dev->ops->display_on(ch->tx_dev); in sh_mobile_lcdc_display_on() 530 if (ch->tx_dev) in sh_mobile_lcdc_display_off() 531 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() 2491 if (cfg->tx_dev) { in sh_mobile_lcdc_channel_init() 2492 if (!cfg->tx_dev->dev.driver || in sh_mobile_lcdc_channel_init() 2493 !try_module_get(cfg->tx_dev->dev.driver->owner)) { in sh_mobile_lcdc_channel_init() [all …]
|
D | sh_mobile_lcdcfb.h | 58 struct sh_mobile_lcdc_entity *tx_dev; member
|
/drivers/spi/ |
D | spi-sh-msiof.c | 1189 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()
|
D | spi.c | 1017 struct device *tx_dev, *rx_dev; in __spi_map_msg() local 1025 tx_dev = ctlr->dma_tx->device->dev; in __spi_map_msg() 1027 tx_dev = ctlr->dma_map_dev; in __spi_map_msg() 1029 tx_dev = ctlr->dev.parent; in __spi_map_msg() 1043 ret = spi_map_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg() 1055 spi_unmap_buf(ctlr, tx_dev, &xfer->tx_sg, in __spi_map_msg() 1070 struct device *tx_dev, *rx_dev; in __spi_unmap_msg() local 1076 tx_dev = ctlr->dma_tx->device->dev; in __spi_unmap_msg() 1078 tx_dev = ctlr->dma_map_dev; in __spi_unmap_msg() 1080 tx_dev = ctlr->dev.parent; in __spi_unmap_msg() [all …]
|