Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_power.c904 int32_t pattern_count, in ar9300_wow_apply_pattern() argument
935 if (pattern_count >= MAX_NUM_USER_PATTERN) { in ar9300_wow_apply_pattern()
940 pattern = pattern | (mask_bit << pattern_count); in ar9300_wow_apply_pattern()
949 OS_REG_WRITE(ah, (reg_pat[pattern_count] + i), pattern_val); in ar9300_wow_apply_pattern()
958 OS_REG_WRITE(ah, (reg_mask[pattern_count] + i), mask_val); in ar9300_wow_apply_pattern()
963 if (pattern_count < 4) { in ar9300_wow_apply_pattern()
966 val = ((val & (~AR_WOW_LENGTH1_MASK(pattern_count))) | in ar9300_wow_apply_pattern()
968 AR_WOW_LENGTH1_SHIFT(pattern_count))); in ar9300_wow_apply_pattern()
973 val = ((val & (~AR_WOW_LENGTH2_MASK(pattern_count))) | in ar9300_wow_apply_pattern()
975 AR_WOW_LENGTH2_SHIFT(pattern_count))); in ar9300_wow_apply_pattern()
[all …]
H A Dar9300.h1325 u_int8_t *p_ath_mask, int32_t pattern_count, u_int32_t ath_pattern_len);