Searched refs:sw_idx (Results 1 – 4 of 4) sorted by relevance
72 int sw_idx, sw_bitpos; in vcap_iter_update() local75 sw_idx = itr->offset / itr->sw_width; in vcap_iter_update()78 itr->reg_idx = (sw_idx * itr->regs_per_sw) + (sw_bitpos / 32); in vcap_iter_update()313 int sw_idx, res; in vcap_find_keystream_typegroup_sw() local317 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_keystream_typegroup_sw()318 if (!tgt[sw_idx]) in vcap_find_keystream_typegroup_sw()322 tgt[sw_idx], mask, sw_max); in vcap_find_keystream_typegroup_sw()324 return sw_idx; in vcap_find_keystream_typegroup_sw()1367 int sw_idx, res; in vcap_find_actionstream_typegroup_sw() local1371 for (sw_idx = vctrl->vcaps[vt].sw_count; sw_idx >= 0; sw_idx--) { in vcap_find_actionstream_typegroup_sw()[all …]
2437 if (fsp->location <= rule->sw_idx) in igb_get_ethtool_nfc_entry()2441 if (!rule || fsp->location != rule->sw_idx) in igb_get_ethtool_nfc_entry()2491 rule_locs[cnt] = rule->sw_idx; in igb_get_ethtool_nfc_all()2846 u16 sw_idx) in igb_update_ethtool_nfc_entry() argument2856 if (rule->sw_idx >= sw_idx) in igb_update_ethtool_nfc_entry()2862 if (rule && (rule->sw_idx == sw_idx)) { in igb_update_ethtool_nfc_entry()2955 input->sw_idx = fsp->location; in igb_add_ethtool_nfc_entry()2973 err = igb_update_ethtool_nfc_entry(adapter, input, input->sw_idx); in igb_add_ethtool_nfc_entry()
897 u16 sw_idx; member1012 u16 sw_idx);
6555 u32 sw_idx = tnapi->tx_cons; in tg3_tx() local6565 while (sw_idx != hw_idx) { in tg3_tx()6566 struct tg3_tx_ring_info *ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()6576 if (tnapi->tx_ring[sw_idx].len_flags & TXD_FLAG_HWTSTAMP) { in tg3_tx()6598 sw_idx = NEXT_TX(sw_idx); in tg3_tx()6599 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()6602 sw_idx = NEXT_TX(sw_idx); in tg3_tx()6605 ri = &tnapi->tx_buffers[sw_idx]; in tg3_tx()6606 if (unlikely(ri->skb != NULL || sw_idx == hw_idx)) in tg3_tx()6616 sw_idx = NEXT_TX(sw_idx); in tg3_tx()[all …]