/linux-6.1.9/lib/ |
D | ts_kmp.c | 38 unsigned int pattern_len; member 62 if (unlikely(q == kmp->pattern_len)) { in kmp_find() 64 return state->offset - kmp->pattern_len; in kmp_find() 106 kmp->pattern_len = len; in kmp_init() 127 return kmp->pattern_len; in kmp_get_pattern_len()
|
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211() 149 new->pattern_len = hdr_80211_end_offset - new->pkt_offset; in ath10k_wow_convert_8023_to_80211() 153 new->pattern_len); in ath10k_wow_convert_8023_to_80211() 156 new->pattern_len); in ath10k_wow_convert_8023_to_80211() 160 memcpy((u8 *)new->pattern + new->pattern_len, in ath10k_wow_convert_8023_to_80211() 163 memcpy((u8 *)new->mask + new->pattern_len, in ath10k_wow_convert_8023_to_80211() 167 new->pattern_len += total_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211() 333 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath10k_vif_wow_set_wakeups() 336 for (j = 0; j < patterns[i].pattern_len; j++) in ath10k_vif_wow_set_wakeups() 351 if (WARN_ON(new_pattern.pattern_len > WOW_MAX_PATTERN_SIZE)) in ath10k_vif_wow_set_wakeups() [all …]
|
D | wmi-ops.h | 186 int pattern_len, 1396 int pattern_len, int pattern_offset) in ath10k_wmi_wow_add_pattern() argument 1405 pattern, mask, pattern_len, in ath10k_wmi_wow_add_pattern()
|
D | wmi-tlv.c | 3720 const u8 *bitmask, int pattern_len, in ath10k_wmi_tlv_op_gen_wow_add_pattern() argument 3769 memcpy(bitmap->patternbuf, pattern, pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern() 3770 memcpy(bitmap->bitmaskbuf, bitmask, pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern() 3772 bitmap->pattern_len = __cpu_to_le32(pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern() 3773 bitmap->bitmask_len = __cpu_to_le32(pattern_len); in ath10k_wmi_tlv_op_gen_wow_add_pattern()
|
D | wmi-tlv.h | 2270 __le32 pattern_len; member
|
/linux-6.1.9/net/sched/ |
D | em_text.c | 51 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change() 63 conf->pattern_len, GFP_KERNEL, flags); in em_text_change() 114 conf.pattern_len = textsearch_get_pattern_len(tm->config); in em_text_dump() 119 if (nla_append(skb, conf.pattern_len, in em_text_dump()
|
/linux-6.1.9/drivers/net/wireless/ath/ath11k/ |
D | wow.c | 159 int total_len = old->pkt_offset + old->pattern_len; in ath11k_wow_convert_8023_to_80211() 220 new->pattern_len = hdr_80211_end_offset - new->pkt_offset; in ath11k_wow_convert_8023_to_80211() 224 new->pattern_len); in ath11k_wow_convert_8023_to_80211() 227 new->pattern_len); in ath11k_wow_convert_8023_to_80211() 231 memcpy((u8 *)new->pattern + new->pattern_len, in ath11k_wow_convert_8023_to_80211() 234 memcpy((u8 *)new->mask + new->pattern_len, in ath11k_wow_convert_8023_to_80211() 238 new->pattern_len += total_len - ETH_HLEN; in ath11k_wow_convert_8023_to_80211() 405 if (patterns[i].pattern_len > WOW_MAX_PATTERN_SIZE) in ath11k_vif_wow_set_wakeups() 408 for (j = 0; j < patterns[i].pattern_len; j++) in ath11k_vif_wow_set_wakeups() 419 old_pattern.pattern_len); in ath11k_vif_wow_set_wakeups() [all …]
|
D | wmi.c | 8553 int pattern_len, int pattern_offset) in ath11k_wmi_wow_add_pattern() argument 8601 memcpy(bitmap->patternbuf, pattern, pattern_len); in ath11k_wmi_wow_add_pattern() 8602 ath11k_ce_byte_swap(bitmap->patternbuf, roundup(pattern_len, 4)); in ath11k_wmi_wow_add_pattern() 8603 memcpy(bitmap->bitmaskbuf, mask, pattern_len); in ath11k_wmi_wow_add_pattern() 8604 ath11k_ce_byte_swap(bitmap->bitmaskbuf, roundup(pattern_len, 4)); in ath11k_wmi_wow_add_pattern() 8606 bitmap->pattern_len = pattern_len; in ath11k_wmi_wow_add_pattern() 8607 bitmap->bitmask_len = pattern_len; in ath11k_wmi_wow_add_pattern()
|
D | wmi.h | 5634 u32 pattern_len; member 6137 int pattern_len, int pattern_offset);
|
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 355 u16 fifo_len, pattern_len = hw->sip * ST_LSM6DSX_SAMPLE_SIZE; in st_lsm6dsx_read_fifo() local 375 fifo_len = (fifo_len / pattern_len) * pattern_len; in st_lsm6dsx_read_fifo() 382 for (read_len = 0; read_len < fifo_len; read_len += pattern_len) { in st_lsm6dsx_read_fifo() 384 hw->buff, pattern_len, in st_lsm6dsx_read_fifo() 560 u16 pattern_len = hw->sip * ST_LSM6DSX_TAGGED_SAMPLE_SIZE; in st_lsm6dsx_read_tagged_fifo() local 590 for (read_len = 0; read_len < fifo_len; read_len += pattern_len) { in st_lsm6dsx_read_tagged_fifo() 593 hw->buff, pattern_len, in st_lsm6dsx_read_tagged_fifo() 602 for (i = 0; i < pattern_len; in st_lsm6dsx_read_tagged_fifo()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | ar9003_wow.c | 123 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()
|
D | wow.c | 149 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()
|
D | hw.h | 1204 int pattern_len); 1212 int pattern_len) in ath9k_hw_wow_apply_pattern() argument
|
/linux-6.1.9/include/uapi/linux/tc_ematch/ |
D | tc_em_text.h | 14 __u16 pattern_len; member
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 1195 u32 pattern_len; in verify_bbt_descr() local 1202 pattern_len = bd->len; in verify_bbt_descr() 1210 pattern_len++; in verify_bbt_descr() 1228 table_size += pattern_len; in verify_bbt_descr()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | lib.c | 1016 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwlagn_send_patterns() 1022 wowlan->patterns[i].pattern_len); in iwlagn_send_patterns() 1025 wowlan->patterns[i].pattern_len; in iwlagn_send_patterns()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/ |
D | core.c | 438 if (patterns[i].pattern_len < 0 || in _rtl_add_wowlan_patterns() 439 patterns[i].pattern_len > MAX_WOL_PATTERN_SIZE) { in _rtl_add_wowlan_patterns() 445 mask_len = DIV_ROUND_UP(patterns[i].pattern_len, 8); in _rtl_add_wowlan_patterns() 449 patterns[i].pattern_len); in _rtl_add_wowlan_patterns() 509 for (j = 12; j < patterns[i].pattern_len; j++) { in _rtl_add_wowlan_patterns()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 645 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1() 651 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns_v1() 654 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns_v1() 692 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns() 701 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns() 704 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns()
|
/linux-6.1.9/drivers/net/wireless/ti/wlcore/ |
D | main.c | 1345 int i, pattern_len = 0; in wl1271_validate_wowlan_pattern() local 1361 for (i = 0; i < p->pattern_len; i++) { in wl1271_validate_wowlan_pattern() 1365 pattern_len = 1; in wl1271_validate_wowlan_pattern() 1369 fields_size += pattern_len + in wl1271_validate_wowlan_pattern() 1371 pattern_len = 1; in wl1271_validate_wowlan_pattern() 1373 pattern_len++; in wl1271_validate_wowlan_pattern() 1378 fields_size += pattern_len + in wl1271_validate_wowlan_pattern() 1386 fields_size += pattern_len + RX_FILTER_FIELD_OVERHEAD; in wl1271_validate_wowlan_pattern() 1501 while (i < p->pattern_len) { in wl1271_convert_wowlan_pattern_to_rx_filter() 1507 for (j = i; j < p->pattern_len; j++) { in wl1271_convert_wowlan_pattern_to_rx_filter()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | wow.c | 178 len = pkt_pattern->pattern_len; in rtw_wow_pattern_generate()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mcu.c | 2416 ptlv->data_len = pattern->pattern_len; in mt76_connac_mcu_set_wow_pattern() 2420 memcpy(ptlv->pattern, pattern->pattern, pattern->pattern_len); in mt76_connac_mcu_set_wow_pattern() 2421 memcpy(ptlv->mask, pattern->mask, DIV_ROUND_UP(pattern->pattern_len, 8)); in mt76_connac_mcu_set_wow_pattern()
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1923 for (pos = 0; pos < wow->patterns[i].pattern_len; pos++) { in ath6kl_wow_usr() 1935 wow->patterns[i].pattern_len, in ath6kl_wow_usr()
|
/linux-6.1.9/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 2692 wowl->patterns[count].pattern_len); in qtnf_cmd_send_wowlan_set()
|
/linux-6.1.9/include/net/ |
D | cfg80211.h | 3215 int pattern_len; member
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | cfg80211.c | 3250 for (j = 0; j < DIV_ROUND_UP(pat->pattern_len, 8); j++) { in mwifiex_is_pattern_supported()
|