Home
last modified time | relevance | path

Searched refs:new_pattern (Results 1 – 5 of 5) sorted by relevance

/linux-6.14.4/drivers/net/wireless/ath/ath10k/
Dwow.c328 struct cfg80211_pkt_pattern new_pattern = {}; in ath10k_vif_wow_set_wakeups() local
332 new_pattern.pattern = ath_pattern; in ath10k_vif_wow_set_wakeups()
333 new_pattern.mask = ath_bitmask; in ath10k_vif_wow_set_wakeups()
344 ath10k_wow_convert_8023_to_80211(&new_pattern, in ath10k_vif_wow_set_wakeups()
347 new_pattern = old_pattern; in ath10k_vif_wow_set_wakeups()
348 new_pattern.pkt_offset += WOW_HDR_LEN - ETH_HLEN; in ath10k_vif_wow_set_wakeups()
352 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath10k_vif_wow_set_wakeups()
357 new_pattern.pattern, in ath10k_vif_wow_set_wakeups()
358 new_pattern.mask, in ath10k_vif_wow_set_wakeups()
359 new_pattern.pattern_len, in ath10k_vif_wow_set_wakeups()
[all …]
/linux-6.14.4/drivers/net/wireless/ath/ath11k/
Dwow.c407 struct cfg80211_pkt_pattern new_pattern = {}; in ath11k_vif_wow_set_wakeups() local
409 new_pattern.pattern = ath_pattern; in ath11k_vif_wow_set_wakeups()
410 new_pattern.mask = ath_bitmask; in ath11k_vif_wow_set_wakeups()
417 ath11k_wow_convert_8023_to_80211(&new_pattern, in ath11k_vif_wow_set_wakeups()
422 new_pattern = patterns[i]; in ath11k_vif_wow_set_wakeups()
423 new_pattern.mask = ath_bitmask; in ath11k_vif_wow_set_wakeups()
430 new_pattern.pkt_offset += WOW_HDR_LEN - ETH_HLEN; in ath11k_vif_wow_set_wakeups()
434 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath11k_vif_wow_set_wakeups()
439 new_pattern.pattern, in ath11k_vif_wow_set_wakeups()
440 new_pattern.mask, in ath11k_vif_wow_set_wakeups()
[all …]
/linux-6.14.4/drivers/net/wireless/ath/ath12k/
Dwow.c417 struct ath12k_pkt_pattern new_pattern = {}; in ath12k_wow_vif_set_wakeups() local
425 &new_pattern); in ath12k_wow_vif_set_wakeups()
427 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath12k_wow_vif_set_wakeups()
430 memcpy(new_pattern.pattern, eth_pattern->pattern, in ath12k_wow_vif_set_wakeups()
436 new_pattern.bytemask[j] = 0xff; in ath12k_wow_vif_set_wakeups()
438 new_pattern.pattern_len = eth_pattern->pattern_len; in ath12k_wow_vif_set_wakeups()
439 new_pattern.pkt_offset = eth_pattern->pkt_offset; in ath12k_wow_vif_set_wakeups()
444 new_pattern.pattern, in ath12k_wow_vif_set_wakeups()
445 new_pattern.bytemask, in ath12k_wow_vif_set_wakeups()
446 new_pattern.pattern_len, in ath12k_wow_vif_set_wakeups()
[all …]
/linux-6.14.4/tools/testing/selftests/kvm/x86/
Dprivate_mem_conversions_test.c74 uint8_t current_pattern, uint8_t new_pattern) in guest_sync_shared() argument
76 GUEST_SYNC5(SYNC_SHARED, gpa, size, current_pattern, new_pattern); in guest_sync_shared()
/linux-6.14.4/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Daction.c1193 __be64 *new_pattern; in hws_action_create_modify_header_hws() local
1198 new_pattern = kcalloc(num_of_patterns, size_in_bytes, GFP_KERNEL); in hws_action_create_modify_header_hws()
1199 if (!new_pattern) in hws_action_create_modify_header_hws()
1213 &new_pattern[i * pat_max_sz]); in hws_action_create_modify_header_hws()
1269 &new_pattern[i * pat_max_sz], in hws_action_create_modify_header_hws()
1295 kfree(new_pattern); in hws_action_create_modify_header_hws()
1308 kfree(new_pattern); in hws_action_create_modify_header_hws()