Lines Matching refs:dcb
80 struct sparx5_rx_dcb_hw *dcb, in sparx5_fdma_rx_add_dcb() argument
87 struct sparx5_db_hw *db = &dcb->db[idx]; in sparx5_fdma_rx_add_dcb()
91 dcb->nextptr = FDMA_DCB_INVALID_DATA; in sparx5_fdma_rx_add_dcb()
92 dcb->info = FDMA_DCB_INFO_DATAL(FDMA_XTR_BUFFER_SIZE); in sparx5_fdma_rx_add_dcb()
94 rx->last_entry = dcb; in sparx5_fdma_rx_add_dcb()
98 struct sparx5_tx_dcb_hw *dcb, in sparx5_fdma_tx_add_dcb() argument
105 struct sparx5_db_hw *db = &dcb->db[idx]; in sparx5_fdma_tx_add_dcb()
109 dcb->nextptr = FDMA_DCB_INVALID_DATA; in sparx5_fdma_tx_add_dcb()
110 dcb->info = FDMA_DCB_INFO_DATAL(FDMA_XTR_BUFFER_SIZE); in sparx5_fdma_tx_add_dcb()
296 struct sparx5_tx_dcb_hw *dcb) in sparx5_fdma_next_dcb() argument
300 next_dcb = dcb; in sparx5_fdma_next_dcb()
304 ((unsigned long)tx->first_entry + FDMA_DCB_MAX * sizeof(*dcb))) in sparx5_fdma_next_dcb()
347 struct sparx5_rx_dcb_hw *dcb; in sparx5_fdma_rx_alloc() local
362 dcb = &rx->dcb_entries[idx]; in sparx5_fdma_rx_alloc()
363 dcb->info = 0; in sparx5_fdma_rx_alloc()
369 struct sparx5_db_hw *db_hw = &dcb->db[jdx]; in sparx5_fdma_rx_alloc()
382 sparx5_fdma_rx_add_dcb(rx, dcb, rx->dma + sizeof(*dcb) * idx); in sparx5_fdma_rx_alloc()
394 struct sparx5_tx_dcb_hw *dcb; in sparx5_fdma_tx_alloc() local
408 dcb = &tx->curr_entry[idx]; in sparx5_fdma_tx_alloc()
409 dcb->info = 0; in sparx5_fdma_tx_alloc()
412 struct sparx5_db_hw *db_hw = &dcb->db[jdx]; in sparx5_fdma_tx_alloc()
431 sparx5_fdma_tx_add_dcb(tx, dcb, tx->dma + sizeof(*dcb) * idx); in sparx5_fdma_tx_alloc()
434 tx->curr_entry = dcb; in sparx5_fdma_tx_alloc()