Searched refs:bd_idx (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/ |
D | pci.c | 706 u32 bd_idx = rtw_read16(rtwdev, bd_idx_addr + 2); in __pci_get_hw_tx_ring_rp() local 708 return FIELD_GET(TRX_BD_IDX_MASK, bd_idx); in __pci_get_hw_tx_ring_rp() 775 u32 bd_idx; in rtw_pci_tx_kick_off_queue() local 778 bd_idx = rtw_pci_tx_queue_idx_addr[queue]; in rtw_pci_tx_kick_off_queue() 783 rtw_write16(rtwdev, bd_idx, ring->r.wp & TRX_BD_IDX_MASK); in rtw_pci_tx_kick_off_queue() 948 u32 bd_idx, cur_rp, rp_idx; in rtw_pci_tx_isr() local 954 bd_idx = rtw_read32(rtwdev, bd_idx_addr); in rtw_pci_tx_isr() 955 cur_rp = bd_idx >> 16; in rtw_pci_tx_isr() 967 count, hw_queue, bd_idx, ring->r.rp, cur_rp); in rtw_pci_tx_isr()
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 201 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()
|
/Linux-v6.6/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 1621 int bd_idx, cnt_idx; in hns_roce_hw_v2_query_counter() local 1650 bd_idx = i / CNT_PER_DESC; in hns_roce_hw_v2_query_counter() 1651 if (!(desc[bd_idx].flag & HNS_ROCE_CMD_FLAG_NEXT) && in hns_roce_hw_v2_query_counter() 1652 bd_idx != HNS_ROCE_HW_CNT_TOTAL / CNT_PER_DESC) in hns_roce_hw_v2_query_counter() 1655 cnt_data = (__le64 *)&desc[bd_idx].data[0]; in hns_roce_hw_v2_query_counter()
|