Home
last modified time | relevance | path

Searched refs:bd_idx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dpci.c743 u32 bd_idx = rtw_read16(rtwdev, bd_idx_addr + 2); in __pci_get_hw_tx_ring_rp() local
745 return FIELD_GET(TRX_BD_IDX_MASK, bd_idx); in __pci_get_hw_tx_ring_rp()
810 u32 bd_idx; in rtw_pci_tx_kick_off_queue() local
813 bd_idx = rtw_pci_tx_queue_idx_addr[queue]; in rtw_pci_tx_kick_off_queue()
818 rtw_write16(rtwdev, bd_idx, ring->r.wp & TRX_BD_IDX_MASK); in rtw_pci_tx_kick_off_queue()
982 u32 bd_idx, cur_rp, rp_idx; in rtw_pci_tx_isr() local
988 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr()
989 cur_rp = bd_idx >> 16; in rtw_pci_tx_isr()
1001 count, hw_queue, bd_idx, ring->r.rp, cur_rp); in rtw_pci_tx_isr()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c201 u16 bd_idx = TX_BD(tx_buf->first_bd), new_cons; in bnx2x_free_tx_pkt() local
211 tx_start_bd = &txdata->tx_desc_ring[bd_idx].start_bd; in bnx2x_free_tx_pkt()
223 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
227 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
232 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
237 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
240 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()
251 tx_data_bd = &txdata->tx_desc_ring[bd_idx].reg_bd; in bnx2x_free_tx_pkt()
255 bd_idx = TX_BD(NEXT_TX_IDX(bd_idx)); in bnx2x_free_tx_pkt()