Searched refs:rx_token (Results 1 – 4 of 4) sorted by relevance
235 int rx_token; in mt76_dma_add_rx_buf() local256 rx_token = mt76_rx_token_consume(dev, data, txwi, buf->addr); in mt76_dma_add_rx_buf()257 if (rx_token < 0) { in mt76_dma_add_rx_buf()262 buf1 |= FIELD_PREP(MT_DMA_CTL_TOKEN, rx_token); in mt76_dma_add_rx_buf()
869 token = idr_alloc(&dev->rx_token, t, 0, dev->rx_token_size, in mt76_rx_token_consume()916 t = idr_remove(&dev->rx_token, token); in mt76_rx_token_release()
875 struct idr rx_token; member
684 idr_init(&dev->rx_token); in mt76_alloc_device()