Searched refs:bd_ring (Results 1 – 3 of 3) sorted by relevance
64 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc() local123 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_recalc() local232 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_deliver_skbs() local334 rtw89_write16(rtwdev, bd_ring->addr.idx, bd_ring->wp); in rtw89_pci_rxbd_deliver()628 bd_ring = &rx_ring->bd_ring; in rtw89_pci_isr_rxd_unavail()926 struct rtw89_pci_dma_ring *bd_ring = &ring->bd_ring; in rtw89_pci_get_avail_txbd_num() local929 if (bd_ring->rp > bd_ring->wp) in rtw89_pci_get_avail_txbd_num()930 return bd_ring->rp - bd_ring->wp - 1; in rtw89_pci_get_avail_txbd_num()932 return bd_ring->len - (bd_ring->wp - bd_ring->rp) - 1; in rtw89_pci_get_avail_txbd_num()1437 bd_ring = &tx_ring->bd_ring; in rtw89_pci_reset_trx_rings()[all …]
925 struct rtw89_pci_dma_ring bd_ring; member939 struct rtw89_pci_dma_ring bd_ring; member987 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in RTW89_PCI_RX_BD() local988 u8 *head = bd_ring->head; in RTW89_PCI_RX_BD()998 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_increase() local1000 bd_ring->wp += cnt; in rtw89_pci_rxbd_increase()1002 if (bd_ring->wp >= bd_ring->len) in rtw89_pci_rxbd_increase()1003 bd_ring->wp -= bd_ring->len; in rtw89_pci_rxbd_increase()1016 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_get_next_txbd() local1019 head = bd_ring->head; in rtw89_pci_get_next_txbd()[all …]
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()