Home
last modified time | relevance | path

Searched refs:sw_idx (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/crypto/caam/
Djr.c207 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
220 sw_idx = tail = jrp->tail; in caam_jr_dequeue()
224 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue()
227 caam_dma_to_cpu(jrp->entinfo[sw_idx].desc_addr_dma)) in caam_jr_dequeue()
237 jrp->entinfo[sw_idx].desc_size, in caam_jr_dequeue()
241 jrp->entinfo[sw_idx].desc_addr_dma = 0; in caam_jr_dequeue()
244 usercall = jrp->entinfo[sw_idx].callbk; in caam_jr_dequeue()
245 userarg = jrp->entinfo[sw_idx].cbkarg; in caam_jr_dequeue()
246 userdesc = jrp->entinfo[sw_idx].desc_addr_virt; in caam_jr_dequeue()
268 if (sw_idx == tail) { in caam_jr_dequeue()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2516 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2520 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2586 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all()
2670 u16 sw_idx) in ixgbe_update_ethtool_fdir_entry() argument
2683 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry()
2689 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry()
2694 sw_idx); in ixgbe_update_ethtool_fdir_entry()
2817 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2880 &input->filter, input->sw_idx, queue); in ixgbe_add_ethtool_fdir_entry()
2884 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_add_ethtool_fdir_entry()
Dixgbe.h854 u16 sw_idx; member
966 u16 sw_idx);
Dixgbe_main.c5286 &filter->filter, filter->sw_idx, queue); in ixgbe_fdir_filter_restore()
9709 input->sw_idx = loc; in ixgbe_configure_clsu32()
9725 input->sw_idx, queue); in ixgbe_configure_clsu32()
9729 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_configure_clsu32()
/Linux-v6.1/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2445 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2449 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2499 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()
2851 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument
2861 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()
2867 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()
2960 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
2978 igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
Digb.h519 u16 sw_idx; member
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c6536 u32 sw_idx = tnapi->tx_cons; in tg3_tx() local
6546 while (sw_idx != hw_idx) { in tg3_tx()
6547 struct tg3_tx_ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6556 if (tnapi->tx_ring[sw_idx].len_flags & TXD_FLAG_HWTSTAMP) { in tg3_tx()
6573 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6574 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6577 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6580 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6581 if (unlikely(ri->skb != NULL || sw_idx == hw_idx)) in tg3_tx()
6591 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3738 u16 sw_idx, in i40e_update_ethtool_fdir_entry() argument
3752 if (rule->fd_id >= sw_idx) in i40e_update_ethtool_fdir_entry()
3758 if (rule && (rule->fd_id == sw_idx)) { in i40e_update_ethtool_fdir_entry()