Lines Matching refs:dcbs
44 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_free_pages()
89 rx->dcbs = dma_alloc_coherent(lan966x->dev, size, &rx->dma, GFP_KERNEL); in lan966x_fdma_rx_alloc()
90 if (!rx->dcbs) in lan966x_fdma_rx_alloc()
93 rx->last_entry = rx->dcbs; in lan966x_fdma_rx_alloc()
99 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_alloc()
127 dma_free_coherent(lan966x->dev, size, rx->dcbs, rx->dma); in lan966x_fdma_rx_free()
219 tx->dcbs = dma_alloc_coherent(lan966x->dev, size, &tx->dma, GFP_KERNEL); in lan966x_fdma_tx_alloc()
220 if (!tx->dcbs) in lan966x_fdma_tx_alloc()
225 dcb = &tx->dcbs[i]; in lan966x_fdma_tx_alloc()
252 dma_free_coherent(lan966x->dev, size, tx->dcbs, tx->dma); in lan966x_fdma_tx_free()
370 db = &tx->dcbs[i].db[0]; in lan966x_fdma_tx_clear_buf()
399 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_more_frames()
415 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_get_frame()
505 db = &rx->dcbs[dcb_reload].db[rx->db_index]; in lan966x_fdma_napi_poll()
511 old_dcb = &rx->dcbs[dcb_reload]; in lan966x_fdma_napi_poll()
516 (unsigned long)rx->dcbs); in lan966x_fdma_napi_poll()
621 next_dcb = &tx->dcbs[next_to_use]; in lan966x_fdma_xmit()
646 dcb = &tx->dcbs[tx->last_in_use]; in lan966x_fdma_xmit()
706 rx_dcbs = lan966x->rx.dcbs; in lan966x_fdma_reload()
730 lan966x->rx.dcbs = rx_dcbs; in lan966x_fdma_reload()