Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/net/ethernet/intel/ixgbe/ !
Dixgbe_ethtool.c2520 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2524 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2590 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all()
2674 u16 sw_idx) in ixgbe_update_ethtool_fdir_entry() argument
2687 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry()
2693 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry()
2698 sw_idx); in ixgbe_update_ethtool_fdir_entry()
2821 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2884 &input->filter, input->sw_idx, queue); in ixgbe_add_ethtool_fdir_entry()
2888 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_add_ethtool_fdir_entry()
Dixgbe.h820 u16 sw_idx; member
932 u16 sw_idx);
Dixgbe_main.c5286 &filter->filter, filter->sw_idx, queue); in ixgbe_fdir_filter_restore()
9624 input->sw_idx = loc; in ixgbe_configure_clsu32()
9640 input->sw_idx, queue); in ixgbe_configure_clsu32()
9644 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_configure_clsu32()
/linux-5.19.10/drivers/net/ethernet/intel/igb/ !
Digb_ethtool.c2443 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2447 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2497 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()
2849 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument
2859 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()
2865 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()
2958 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
2976 igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
Digb.h519 u16 sw_idx; member
/linux-5.19.10/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-5.19.10/drivers/net/ethernet/intel/i40e/ !
Di40e_ethtool.c3631 u16 sw_idx, in i40e_update_ethtool_fdir_entry() argument
3645 if (rule->fd_id >= sw_idx) in i40e_update_ethtool_fdir_entry()
3651 if (rule && (rule->fd_id == sw_idx)) { in i40e_update_ethtool_fdir_entry()