Lines Matching refs:pattern_cmd
1084 struct iwlagn_wowlan_patterns_cmd *pattern_cmd; in iwlagn_send_patterns() local
1095 cmd.len[0] = sizeof(*pattern_cmd) + in iwlagn_send_patterns()
1098 pattern_cmd = kmalloc(cmd.len[0], GFP_KERNEL); in iwlagn_send_patterns()
1099 if (!pattern_cmd) in iwlagn_send_patterns()
1102 pattern_cmd->n_patterns = cpu_to_le32(wowlan->n_patterns); in iwlagn_send_patterns()
1107 memcpy(&pattern_cmd->patterns[i].mask, in iwlagn_send_patterns()
1109 memcpy(&pattern_cmd->patterns[i].pattern, in iwlagn_send_patterns()
1112 pattern_cmd->patterns[i].mask_size = mask_len; in iwlagn_send_patterns()
1113 pattern_cmd->patterns[i].pattern_size = in iwlagn_send_patterns()
1117 cmd.data[0] = pattern_cmd; in iwlagn_send_patterns()
1119 kfree(pattern_cmd); in iwlagn_send_patterns()