Searched refs:rx_dev (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/staging/ks7010/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/spi/ |
H A D | spi.c | 1120 struct device *tx_dev, *rx_dev; in __spi_map_msg() local 1135 rx_dev = ctlr->dma_rx->device->dev; in __spi_map_msg() 1137 rx_dev = ctlr->dma_map_dev; in __spi_map_msg() 1139 rx_dev = ctlr->dev.parent; in __spi_map_msg() 1159 ret = spi_map_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_map_msg() 1175 ctlr->cur_rx_dma_dev = rx_dev; in __spi_map_msg() 1184 struct device *rx_dev = ctlr->cur_rx_dma_dev; in __spi_unmap_msg() local 1198 spi_unmap_buf_attrs(ctlr, rx_dev, &xfer->rx_sg, in __spi_unmap_msg() 1212 struct device *rx_dev = ctlr->cur_rx_dma_dev; in spi_dma_sync_for_device() local 1221 dma_sync_sgtable_for_device(rx_dev, &xfer->rx_sg, DMA_FROM_DEVICE); in spi_dma_sync_for_device() [all …]
|
H A D | spi-sh-msiof.c | 1189 struct device *tx_dev, *rx_dev; in sh_msiof_request_dma() local 1233 rx_dev = ctlr->dma_rx->device->dev; in sh_msiof_request_dma() 1234 p->rx_dma_addr = dma_map_single(rx_dev, p->rx_dma_page, PAGE_SIZE, in sh_msiof_request_dma() 1236 if (dma_mapping_error(rx_dev, p->rx_dma_addr)) in sh_msiof_request_dma()
|
/openbmc/linux/kernel/bpf/ |
H A D | devmap.c | 326 struct net_device *rx_dev) in dev_map_bpf_prog_run() argument 329 struct xdp_rxq_info rxq = { .dev = rx_dev }; in dev_map_bpf_prog_run()
|