Lines Matching refs:patterns
641 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwl_mvm_send_patterns_v1()
650 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns_v1()
652 memcpy(&pattern_cmd->patterns[i].mask, in iwl_mvm_send_patterns_v1()
653 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns_v1()
654 memcpy(&pattern_cmd->patterns[i].pattern, in iwl_mvm_send_patterns_v1()
655 wowlan->patterns[i].pattern, in iwl_mvm_send_patterns_v1()
656 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns_v1()
657 pattern_cmd->patterns[i].mask_size = mask_len; in iwl_mvm_send_patterns_v1()
658 pattern_cmd->patterns[i].pattern_size = in iwl_mvm_send_patterns_v1()
659 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns_v1()
697 int mask_len = DIV_ROUND_UP(wowlan->patterns[i].pattern_len, 8); in iwl_mvm_send_patterns()
699 pattern_cmd->patterns[i].pattern_type = in iwl_mvm_send_patterns()
702 memcpy(&pattern_cmd->patterns[i].u.bitmask.mask, in iwl_mvm_send_patterns()
703 wowlan->patterns[i].mask, mask_len); in iwl_mvm_send_patterns()
704 memcpy(&pattern_cmd->patterns[i].u.bitmask.pattern, in iwl_mvm_send_patterns()
705 wowlan->patterns[i].pattern, in iwl_mvm_send_patterns()
706 wowlan->patterns[i].pattern_len); in iwl_mvm_send_patterns()
707 pattern_cmd->patterns[i].u.bitmask.mask_size = mask_len; in iwl_mvm_send_patterns()
708 pattern_cmd->patterns[i].u.bitmask.pattern_size = in iwl_mvm_send_patterns()
709 wowlan->patterns[i].pattern_len; in iwl_mvm_send_patterns()