Home
last modified time | relevance | path

Searched refs:bd_ring (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c64 struct rtw89_pci_dma_ring *bd_ring = &tx_ring->bd_ring; in rtw89_pci_txbd_recalc() local
123 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_recalc() local
232 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in rtw89_pci_rxbd_deliver_skbs() local
334 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() local
929 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 …]
H A Dpci.h925 struct rtw89_pci_dma_ring bd_ring; member
939 struct rtw89_pci_dma_ring bd_ring; member
987 struct rtw89_pci_dma_ring *bd_ring = &rx_ring->bd_ring; in RTW89_PCI_RX_BD() local
988 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() local
1000 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() local
1019 head = bd_ring->head; in rtw89_pci_get_next_txbd()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dbcm63xx_udc.c224 struct bcm_enet_desc *bd_ring; member
614 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()