Home
last modified time | relevance | path

Searched refs:pattern_count (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_wow.c122 u8 *user_mask, int pattern_count, in ath9k_hw_wow_apply_pattern() argument
129 if (pattern_count >= ah->wow.max_patterns) in ath9k_hw_wow_apply_pattern()
132 if (pattern_count < MAX_NUM_PATTERN_LEGACY) in ath9k_hw_wow_apply_pattern()
133 REG_SET_BIT(ah, AR_WOW_PATTERN, BIT(pattern_count)); in ath9k_hw_wow_apply_pattern()
135 REG_SET_BIT(ah, AR_MAC_PCU_WOW4, BIT(pattern_count - 8)); in ath9k_hw_wow_apply_pattern()
139 REG_WRITE(ah, (AR_WOW_TB_PATTERN(pattern_count) + i), in ath9k_hw_wow_apply_pattern()
146 REG_WRITE(ah, (AR_WOW_TB_MASK(pattern_count) + i), mask_val); in ath9k_hw_wow_apply_pattern()
150 if (pattern_count < MAX_NUM_PATTERN_LEGACY) in ath9k_hw_wow_apply_pattern()
152 BIT(pattern_count + AR_WOW_PAT_FOUND_SHIFT); in ath9k_hw_wow_apply_pattern()
155 BIT((pattern_count - 8) + AR_WOW_PAT_FOUND_SHIFT); in ath9k_hw_wow_apply_pattern()
[all …]
H A Dwow.c54 int pattern_count = 0; in ath9k_wow_add_disassoc_deauth_pattern() local
121 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
125 pattern_count++; in ath9k_wow_add_disassoc_deauth_pattern()
133 pattern_count, byte_cnt); in ath9k_wow_add_disassoc_deauth_pattern()
H A Dhw.h1203 u8 *user_mask, int pattern_count,
1211 int pattern_count, in ath9k_hw_wow_apply_pattern() argument
/openbmc/qemu/tests/unit/
H A Dtest-replication.c52 int64_t pattern_offset, int64_t pattern_count, in test_blk_read() argument
62 cmp_buf = g_malloc(pattern_count); in test_blk_read()
63 memset(cmp_buf, pattern, pattern_count); in test_blk_read()
87 cmp_buf, pattern_count) <= 0); in test_blk_read()
/openbmc/qemu/
H A Dqemu-io-cmds.c720 int64_t pattern_offset = 0, pattern_count = 0; in read_f() local
733 pattern_count = cvtnum(optarg); in read_f()
734 if (pattern_count < 0) { in read_f()
735 print_cvtnum_err(pattern_count, optarg); in read_f()
736 return pattern_count; in read_f()
800 pattern_count = count - pattern_offset; in read_f()
803 if ((pattern_count < 0) || (pattern_count + pattern_offset > count)) { in read_f()
845 void *cmp_buf = g_malloc(pattern_count); in read_f()
846 memset(cmp_buf, pattern, pattern_count); in read_f()
847 if (memcmp(buf + pattern_offset, cmp_buf, pattern_count)) { in read_f()
[all …]
/openbmc/linux/net/bluetooth/
H A Dmsft.c516 u8 pattern_count = 0; in msft_add_monitor_sync() local
524 pattern_count++; in msft_add_monitor_sync()
541 pattern_data->count = pattern_count; in msft_add_monitor_sync()
H A Dmgmt.c5346 static u8 parse_adv_monitor_pattern(struct adv_monitor *m, u8 pattern_count, in parse_adv_monitor_pattern() argument
5353 for (i = 0; i < pattern_count; i++) { in parse_adv_monitor_pattern()
5392 expected_size += cp->pattern_count * sizeof(struct mgmt_adv_pattern); in add_adv_patterns_monitor()
5407 status = parse_adv_monitor_pattern(m, cp->pattern_count, cp->patterns); in add_adv_patterns_monitor()
5429 expected_size += cp->pattern_count * sizeof(struct mgmt_adv_pattern); in add_adv_patterns_monitor_rssi()
5444 status = parse_adv_monitor_pattern(m, cp->pattern_count, cp->patterns); in add_adv_patterns_monitor_rssi()
/openbmc/linux/include/net/bluetooth/
H A Dmgmt.h782 __u8 pattern_count; member
840 __u8 pattern_count; member
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dfw.h177 u8 pattern_count; member
H A Dfw.c1112 pg_info_hdr->pattern_count = rtw_wow->pattern_cnt; in rtw_lps_pg_info_get()