Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c2525 if (fsp->location <= rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2529 if (!rule || fsp->location != rule->sw_idx) in ixgbe_get_ethtool_fdir_entry()
2595 rule_locs[cnt] = rule->sw_idx; in ixgbe_get_ethtool_fdir_all()
2679 u16 sw_idx) in ixgbe_update_ethtool_fdir_entry() argument
2692 if (rule->sw_idx >= sw_idx) in ixgbe_update_ethtool_fdir_entry()
2698 if (rule && (rule->sw_idx == sw_idx)) { in ixgbe_update_ethtool_fdir_entry()
2703 sw_idx); in ixgbe_update_ethtool_fdir_entry()
2826 input->sw_idx = fsp->location; in ixgbe_add_ethtool_fdir_entry()
2889 &input->filter, input->sw_idx, queue); in ixgbe_add_ethtool_fdir_entry()
2893 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_add_ethtool_fdir_entry()
Dixgbe.h800 u16 sw_idx; member
912 u16 sw_idx);
Dixgbe_main.c5286 &filter->filter, filter->sw_idx, queue); in ixgbe_fdir_filter_restore()
9604 input->sw_idx = loc; in ixgbe_configure_clsu32()
9620 input->sw_idx, queue); in ixgbe_configure_clsu32()
9624 ixgbe_update_ethtool_fdir_entry(adapter, input, input->sw_idx); in ixgbe_configure_clsu32()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
Digb_ethtool.c2454 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()
2458 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()
2508 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()
2860 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument
2870 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()
2876 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()
2969 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()
2987 igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
Digb.h519 u16 sw_idx; member
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c3585 u16 sw_idx, in i40e_update_ethtool_fdir_entry() argument
3599 if (rule->fd_id >= sw_idx) in i40e_update_ethtool_fdir_entry()
3605 if (rule && (rule->fd_id == sw_idx)) { in i40e_update_ethtool_fdir_entry()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch6418 int hw_idx, sw_idx, i, head, tail;