Lines Matching refs:db_hw
207 struct sparx5_db_hw *db_hw; in sparx5_fdma_rx_get_frame() local
216 db_hw = &rx->dcb_entries[rx->dcb_index].db[rx->db_index]; in sparx5_fdma_rx_get_frame()
217 if (unlikely(!(db_hw->status & FDMA_DCB_STATUS_DONE))) in sparx5_fdma_rx_get_frame()
227 db_hw->dataptr = dma_addr; in sparx5_fdma_rx_get_frame()
228 packet_size = FDMA_DCB_STATUS_BLOCKL(db_hw->status); in sparx5_fdma_rx_get_frame()
314 struct sparx5_db_hw *db_hw; in sparx5_fdma_xmit() local
318 db_hw = &next_dcb_hw->db[0]; in sparx5_fdma_xmit()
319 if (!(db_hw->status & FDMA_DCB_STATUS_DONE)) in sparx5_fdma_xmit()
331 db_hw->status = FDMA_DCB_STATUS_SOF | in sparx5_fdma_xmit()
369 struct sparx5_db_hw *db_hw = &dcb->db[jdx]; in sparx5_fdma_rx_alloc() local
378 db_hw->dataptr = dma_addr; in sparx5_fdma_rx_alloc()
379 db_hw->status = 0; in sparx5_fdma_rx_alloc()
412 struct sparx5_db_hw *db_hw = &dcb->db[jdx]; in sparx5_fdma_tx_alloc() local
423 db_hw->dataptr = phys; in sparx5_fdma_tx_alloc()
424 db_hw->status = 0; in sparx5_fdma_tx_alloc()