Lines Matching refs:bd_va
231 struct buf_desc *bd_va; in hif_rx_desc_dump() local
241 bd_va = rx_desc->rx_base; in hif_rx_desc_dump()
247 readl(&bd_va->status), in hif_rx_desc_dump()
248 readl(&bd_va->ctrl), in hif_rx_desc_dump()
249 readl(&bd_va->data), in hif_rx_desc_dump()
250 readl(&bd_va->next)); in hif_rx_desc_dump()
251 bd_va++; in hif_rx_desc_dump()
262 struct buf_desc *bd_va; in hif_rx_desc_disable() local
270 bd_va = rx_desc->rx_base; in hif_rx_desc_disable()
273 writel(readl(&bd_va->ctrl) | BD_CTRL_LAST_BD, &bd_va->ctrl); in hif_rx_desc_disable()
274 bd_va++; in hif_rx_desc_disable()
284 struct buf_desc *bd_va; in hif_rx_desc_init() local
307 bd_va = (struct buf_desc *)(pfe_addr->ddr_pfe_baseaddr in hif_rx_desc_init()
312 rx_desc->rx_base = bd_va; in hif_rx_desc_init()
321 memset(bd_va, 0, sizeof(struct buf_desc) * rx_desc->rx_ring_size); in hif_rx_desc_init()
326 writel((unsigned long)(bd_pa + 1), &bd_va->next); in hif_rx_desc_init()
327 writel(ctrl, &bd_va->ctrl); in hif_rx_desc_init()
328 writel(rx_buf_pa + (i * MAX_FRAME_SIZE), &bd_va->data); in hif_rx_desc_init()
329 bd_va++; in hif_rx_desc_init()
332 --bd_va; in hif_rx_desc_init()
333 writel((u32)rx_desc->rx_base_pa, &bd_va->next); in hif_rx_desc_init()
350 struct buf_desc *bd_va; in hif_tx_desc_dump() local
358 bd_va = tx_desc->tx_base; in hif_tx_desc_dump()
364 bd_va++; in hif_tx_desc_dump()
372 struct buf_desc *bd_va; in hif_tx_desc_init() local
396 bd_va = (struct buf_desc *)(pfe_addr->ddr_pfe_baseaddr in hif_tx_desc_init()
402 tx_desc->tx_base = bd_va; in hif_tx_desc_init()
408 memset(bd_va, 0, sizeof(struct buf_desc) * tx_desc->tx_ring_size); in hif_tx_desc_init()
413 writel((unsigned long)(bd_pa + 1), &bd_va->next); in hif_tx_desc_init()
414 writel(tx_buf_pa + (i * MAX_FRAME_SIZE), &bd_va->data); in hif_tx_desc_init()
415 bd_va++; in hif_tx_desc_init()
418 --bd_va; in hif_tx_desc_init()
419 writel((u32)tx_desc->tx_base_pa, &bd_va->next); in hif_tx_desc_init()