Searched refs:bd_ring (Results 1 – 3 of 3) sorted by relevance
41 struct rtw89_pci_dma_ring *bd_ring, in rtw89_pci_dma_recalc() argument46 rp = bd_ring->rp; in rtw89_pci_dma_recalc()47 wp = bd_ring->wp; in rtw89_pci_dma_recalc()48 len = bd_ring->len; in rtw89_pci_dma_recalc()56 bd_ring->rp = cur_rp; in rtw89_pci_dma_recalc()64 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc() local65 u32 addr_idx = bd_ring->addr.idx; in rtw89_pci_txbd_recalc()69 cnt = rtw89_pci_dma_recalc(rtwdev, bd_ring, idx, true); in rtw89_pci_txbd_recalc()123 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_recalc() local124 u32 addr_idx = bd_ring->addr.idx; in rtw89_pci_rxbd_recalc()[all …]
911 struct rtw89_pci_dma_ring bd_ring; member925 struct rtw89_pci_dma_ring bd_ring; member973 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in RTW89_PCI_RX_BD() local974 u8 *head = bd_ring->head; in RTW89_PCI_RX_BD()975 u32 desc_size = bd_ring->desc_size; in RTW89_PCI_RX_BD()984 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_increase() local986 bd_ring->wp += cnt; in rtw89_pci_rxbd_increase()988 if (bd_ring->wp >= bd_ring->len) in rtw89_pci_rxbd_increase()989 bd_ring->wp -= bd_ring->len; in rtw89_pci_rxbd_increase()1002 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_get_next_txbd() local[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()2218 struct bcm_enet_desc *d = &iudma->bd_ring[i]; in bcm63xx_iudma_dbg_show()