Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/caam/
Djr.c206 int hw_idx, sw_idx, i, head, tail; in caam_jr_dequeue() local
219 sw_idx = tail = jrp->tail; in caam_jr_dequeue()
223 sw_idx = (tail + i) & (JOBR_DEPTH - 1); in caam_jr_dequeue()
226 caam_dma_to_cpu(jrp->entinfo[sw_idx].desc_addr_dma)) in caam_jr_dequeue()
236 jrp->entinfo[sw_idx].desc_size, in caam_jr_dequeue()
240 jrp->entinfo[sw_idx].desc_addr_dma = 0; in caam_jr_dequeue()
243 usercall = jrp->entinfo[sw_idx].callbk; in caam_jr_dequeue()
244 userarg = jrp->entinfo[sw_idx].cbkarg; in caam_jr_dequeue()
245 userdesc = jrp->entinfo[sw_idx].desc_addr_virt; in caam_jr_dequeue()
267 if (sw_idx == tail) { in caam_jr_dequeue()
/Linux-v5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2523 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2527 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2593 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all()
2677 u16 sw_idx) in ixgbe_update_ethtool_fdir_entry() argument
2690 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry()
2696 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry()
2701 sw_idx); in ixgbe_update_ethtool_fdir_entry()
2824 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2887 &input->filter, input->sw_idx, queue); in ixgbe_add_ethtool_fdir_entry()
2891 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_add_ethtool_fdir_entry()
Dixgbe.h793 u16 sw_idx; member
905 u16 sw_idx);
Dixgbe_main.c5285 &filter->filter, filter->sw_idx, queue); in ixgbe_fdir_filter_restore()
9568 input->sw_idx = loc; in ixgbe_configure_clsu32()
9584 input->sw_idx, queue); in ixgbe_configure_clsu32()
9586 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_configure_clsu32()
/Linux-v5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2452 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2456 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2506 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()
2858 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument
2868 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()
2874 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()
2967 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
2985 igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
Digb.h519 u16 sw_idx; member
/Linux-v5.10/drivers/net/ethernet/broadcom/
Dtg3.c6543 u32 sw_idx = tnapi->tx_cons; in tg3_tx() local
6553 while (sw_idx != hw_idx) { in tg3_tx()
6554 struct tg3_tx_ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6563 if (tnapi->tx_ring[sw_idx].len_flags & TXD_FLAG_HWTSTAMP) { in tg3_tx()
6582 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6583 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6586 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6589 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()
6590 if (unlikely(ri->skb != NULL || sw_idx == hw_idx)) in tg3_tx()
6600 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
[all …]
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3518 u16 sw_idx, in i40e_update_ethtool_fdir_entry() argument
3532 if (rule->fd_id >= sw_idx) in i40e_update_ethtool_fdir_entry()
3538 if (rule && (rule->fd_id == sw_idx)) { in i40e_update_ethtool_fdir_entry()