Searched refs:rx_dev (Results 1 – 4 of 4) sorted by relevance
/drivers/staging/ks7010/ |
D | ks_wlan.h | 448 struct rx_device rx_dev; member 536 priv->rx_dev.qhead = (priv->rx_dev.qhead + 1) % RX_DEVICE_BUFF_SIZE; in inc_rxqhead() 541 priv->rx_dev.qtail = (priv->rx_dev.qtail + 1) % RX_DEVICE_BUFF_SIZE; in inc_rxqtail() 546 return (CIRC_SPACE(priv->rx_dev.qhead, priv->rx_dev.qtail, in rxq_has_space() 558 return CIRC_CNT_TO_END(priv->rx_dev.qhead, priv->rx_dev.qtail, in rxq_count()
|
D | ks7010_sdio.c | 414 rp = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qhead]; in rx_event_task() 435 rx_buffer = &priv->rx_dev.rx_dev_buff[priv->rx_dev.qtail]; in ks_wlan_hw_rx() 615 priv->rx_dev.qhead = 0; in trx_device_init() 616 priv->rx_dev.qtail = 0; in trx_device_init() 619 spin_lock_init(&priv->rx_dev.rx_dev_lock); in trx_device_init()
|
/drivers/spi/ |
D | spi.c | 1129 struct device *tx_dev, *rx_dev; in __spi_map_msg() local 1144 rx_dev = ctlr->dma_rx->device->dev; in __spi_map_msg() 1146 rx_dev = ctlr->dma_map_dev; in __spi_map_msg() 1148 rx_dev = ctlr->dev.parent; in __spi_map_msg() 1167 ret = spi_map_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_map_msg() 1180 ctlr->cur_rx_dma_dev = rx_dev; in __spi_map_msg() 1189 struct device *rx_dev = ctlr->cur_rx_dma_dev; in __spi_unmap_msg() local 1203 spi_unmap_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_unmap_msg() 1217 struct device *rx_dev = ctlr->cur_rx_dma_dev; in spi_dma_sync_for_device() local 1226 dma_sync_sgtable_for_device(rx_dev, &xfer->rx_sg, DMA_FROM_DEVICE); in spi_dma_sync_for_device() [all …]
|
D | spi-sh-msiof.c | 1190 struct device *tx_dev, *rx_dev; in sh_msiof_request_dma() local 1234 rx_dev = ctlr->dma_rx->device->dev; in sh_msiof_request_dma() 1235 p->rx_dma_addr = dma_map_single(rx_dev, p->rx_dma_page, PAGE_SIZE, in sh_msiof_request_dma() 1237 if (dma_mapping_error(rx_dev, p->rx_dma_addr)) in sh_msiof_request_dma()
|