Lines Matching refs:dcbs
120 rx->dcbs = dma_alloc_coherent(lan966x->dev, size, &rx->dma, GFP_KERNEL); in lan966x_fdma_rx_alloc()
121 if (!rx->dcbs) in lan966x_fdma_rx_alloc()
124 rx->last_entry = rx->dcbs; in lan966x_fdma_rx_alloc()
130 dcb = &rx->dcbs[i]; in lan966x_fdma_rx_alloc()
164 dma_free_coherent(lan966x->dev, size, rx->dcbs, rx->dma); in lan966x_fdma_rx_free()
256 tx->dcbs = dma_alloc_coherent(lan966x->dev, size, &tx->dma, GFP_KERNEL); in lan966x_fdma_tx_alloc()
257 if (!tx->dcbs) in lan966x_fdma_tx_alloc()
262 dcb = &tx->dcbs[i]; in lan966x_fdma_tx_alloc()
289 dma_free_coherent(lan966x->dev, size, tx->dcbs, tx->dma); in lan966x_fdma_tx_free()
411 db = &tx->dcbs[i].db[0]; in lan966x_fdma_tx_clear_buf()
457 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_more_frames()
471 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_check_frame()
503 db = &rx->dcbs[rx->dcb_index].db[rx->db_index]; in lan966x_fdma_rx_get_frame()
598 db = &rx->dcbs[dcb_reload].db[rx->db_index]; in lan966x_fdma_napi_poll()
604 old_dcb = &rx->dcbs[dcb_reload]; in lan966x_fdma_napi_poll()
609 (unsigned long)rx->dcbs); in lan966x_fdma_napi_poll()
671 next_dcb = &tx->dcbs[next_to_use]; in lan966x_fdma_tx_setup_dcb()
690 dcb = &tx->dcbs[tx->last_in_use]; in lan966x_fdma_tx_start()
918 rx_dcbs = lan966x->rx.dcbs; in lan966x_fdma_reload()
947 lan966x->rx.dcbs = rx_dcbs; in lan966x_fdma_reload()