Lines Matching refs:pattern_cmd
997 struct iwlagn_wowlan_patterns_cmd *pattern_cmd; in iwlagn_send_patterns() local
1007 cmd.len[0] = struct_size(pattern_cmd, patterns, wowlan->n_patterns); in iwlagn_send_patterns()
1009 pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL); in iwlagn_send_patterns()
1010 if (!pattern_cmd) in iwlagn_send_patterns()
1013 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwlagn_send_patterns()
1018 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns()
1020 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns()
1023 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns()
1024 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns()
1028 cmd.data[0] = pattern_cmd; in iwlagn_send_patterns()
1030 kfree(pattern_cmd); in iwlagn_send_patterns()