Searched refs:bd_ring (Results 1 – 4 of 4) sorted by relevance
62 struct rtw89_pci_dma_ring *bd_ring, in rtw89_pci_dma_recalc() argument68 rp = bd_ring->rp; in rtw89_pci_dma_recalc()69 wp = bd_ring->wp; in rtw89_pci_dma_recalc()70 len = bd_ring->len; in rtw89_pci_dma_recalc()82 bd_ring->rp = cur_rp; in rtw89_pci_dma_recalc()90 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc() local91 u32 addr_idx = bd_ring->addr.idx; in rtw89_pci_txbd_recalc()95 cnt = rtw89_pci_dma_recalc(rtwdev, bd_ring, idx, true); in rtw89_pci_txbd_recalc()149 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_recalc() local150 u32 addr_idx = bd_ring->addr.idx; in rtw89_pci_rxbd_recalc()[all …]
1453 struct rtw89_pci_dma_ring bd_ring; member1467 struct rtw89_pci_dma_ring bd_ring; member1517 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in RTW89_PCI_RX_BD() local1518 u8 *head = bd_ring->head; in RTW89_PCI_RX_BD()1519 u32 desc_size = bd_ring->desc_size; in RTW89_PCI_RX_BD()1528 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_increase() local1530 bd_ring->wp += cnt; in rtw89_pci_rxbd_increase()1532 if (bd_ring->wp >= bd_ring->len) in rtw89_pci_rxbd_increase()1533 bd_ring->wp -= bd_ring->len; in rtw89_pci_rxbd_increase()1546 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_get_next_txbd() local[all …]
179 rtw89_write16(rtwdev, R_BE_RXQ0_RXBD_IDX_V1, rx_ring->bd_ring.len - 1); in rtw89_pci_clr_idx_all_be()182 rtw89_write16(rtwdev, R_BE_RPQ0_RXBD_IDX_V1, rx_ring->bd_ring.len - 1); in rtw89_pci_clr_idx_all_be()
224 struct bcm_enet_desc *bd_ring; member614 iudma->write_bd = iudma->bd_ring; in iudma_write()687 d = iudma->bd_ring; in iudma_read()737 for (d = iudma->bd_ring; d <= iudma->end_bd; d++) in iudma_reset_channel()741 iudma->read_bd = iudma->write_bd = iudma->bd_ring; in iudma_reset_channel()782 iudma->bd_ring = dmam_alloc_coherent(udc->dev, in iudma_init_channel()785 if (!iudma->bd_ring) in iudma_init_channel()787 iudma->end_bd = &iudma->bd_ring[n_bds - 1]; in iudma_init_channel()2212 struct bcm_enet_desc *d = &iudma->bd_ring[i]; in bcm63xx_iudma_dbg_show()