Home
last modified time | relevance | path

Searched refs:pattern_len (Results 1 – 17 of 17) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9003_wow.c123 int pattern_len) in ath9k_hw_wow_apply_pattern() argument
158 set = (pattern_len & AR_WOW_LENGTH_MAX) << in ath9k_hw_wow_apply_pattern()
163 set = (pattern_len & AR_WOW_LENGTH_MAX) << in ath9k_hw_wow_apply_pattern()
168 set = (pattern_len & AR_WOW_LENGTH_MAX) << in ath9k_hw_wow_apply_pattern()
173 set = (pattern_len & AR_WOW_LENGTH_MAX) << in ath9k_hw_wow_apply_pattern()
Dwow.c149 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in ath9k_wow_add_pattern()
152 memcpy(wow_pattern, patterns[i].pattern, patterns[i].pattern_len); in ath9k_wow_add_pattern()
159 patterns[i].pattern_len); in ath9k_wow_add_pattern()
Dhw.h1193 int pattern_len);
1201 int pattern_len) in ath9k_hw_wow_apply_pattern() argument
/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_buffer.c225 u16 fifo_len, pattern_len = hw->sip * ST_LSM6DSX_SAMPLE_SIZE; in st_lsm6dsx_read_fifo() local
230 u8 buff[pattern_len]; in st_lsm6dsx_read_fifo()
244 fifo_len = (fifo_len / pattern_len) * pattern_len; in st_lsm6dsx_read_fifo()
261 for (read_len = 0; read_len < fifo_len; read_len += pattern_len) { in st_lsm6dsx_read_fifo()
/drivers/net/wireless/ath/ath10k/
Dwow.c121 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath10k_vif_wow_set_wakeups()
125 for (j = 0; j < patterns[i].pattern_len; j++) in ath10k_vif_wow_set_wakeups()
133 patterns[i].pattern_len, in ath10k_vif_wow_set_wakeups()
Dwmi-ops.h170 int pattern_len,
1225 int pattern_len, int pattern_offset) in ath10k_wmi_wow_add_pattern() argument
1234 pattern, mask, pattern_len, in ath10k_wmi_wow_add_pattern()
Dwmi-tlv.c2969 const u8 *bitmask, int pattern_len, in ath10k_wmi_tlv_op_gen_wow_add_pattern() argument
3018 memcpy(bitmap->patternbuf, pattern, pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern()
3019 memcpy(bitmap->bitmaskbuf, bitmask, pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern()
3021 bitmap->pattern_len = __cpu_to_le32(pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern()
3022 bitmap->bitmask_len = __cpu_to_le32(pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern()
Dwmi-tlv.h1533 __le32 pattern_len; member
/drivers/mtd/nand/
Dnand_bbt.c1103 u32 pattern_len; in verify_bbt_descr() local
1110 pattern_len = bd->len; in verify_bbt_descr()
1118 pattern_len++; in verify_bbt_descr()
1136 table_size += pattern_len; in verify_bbt_descr()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dlib.c1040 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns()
1046 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns()
1049 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns()
/drivers/staging/rtlwifi/
Dcore.c452 if (patterns[i].pattern_len > MAX_WOL_PATTERN_SIZE) { in _rtl_add_wowlan_patterns()
458 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns()
462 patterns[i].pattern_len); in _rtl_add_wowlan_patterns()
522 for (j = 12; j < patterns[i].pattern_len; j++) { in _rtl_add_wowlan_patterns()
/drivers/net/wireless/realtek/rtlwifi/
Dcore.c455 if (patterns[i].pattern_len > MAX_WOL_PATTERN_SIZE) { in _rtl_add_wowlan_patterns()
461 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns()
465 patterns[i].pattern_len); in _rtl_add_wowlan_patterns()
525 for (j = 12; j < patterns[i].pattern_len; j++) { in _rtl_add_wowlan_patterns()
/drivers/net/wireless/ti/wlcore/
Dmain.c1337 int i, pattern_len = 0; in wl1271_validate_wowlan_pattern() local
1353 for (i = 0; i < p->pattern_len; i++) { in wl1271_validate_wowlan_pattern()
1357 pattern_len = 1; in wl1271_validate_wowlan_pattern()
1361 fields_size += pattern_len + in wl1271_validate_wowlan_pattern()
1363 pattern_len = 1; in wl1271_validate_wowlan_pattern()
1365 pattern_len++; in wl1271_validate_wowlan_pattern()
1370 fields_size += pattern_len + in wl1271_validate_wowlan_pattern()
1378 fields_size += pattern_len + RX_FILTER_FIELD_OVERHEAD; in wl1271_validate_wowlan_pattern()
1494 while (i < p->pattern_len) { in wl1271_convert_wowlan_pattern_to_rx_filter()
1500 for (j = i; j < p->pattern_len; j++) { in wl1271_convert_wowlan_pattern_to_rx_filter()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c414 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns()
420 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns()
423 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns()
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1923 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) { in ath6kl_wow_usr()
1935 wow->patterns[i].pattern_len, in ath6kl_wow_usr()
/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c3176 for (j = 0; j < DIV_ROUND_UP(pat->pattern_len, 8); j++) { in mwifiex_is_pattern_supported()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c3734 wowl->patterns[i].pattern_len, in brcmf_configure_wowl()