Lines Matching refs:spectrum
666 struct il_spectrum_cmd spectrum; in il3945_get_measurement() local
670 .data = (void *)&spectrum, in il3945_get_measurement()
685 memset(&spectrum, 0, sizeof(spectrum)); in il3945_get_measurement()
687 spectrum.channel_count = cpu_to_le16(1); in il3945_get_measurement()
688 spectrum.flags = in il3945_get_measurement()
690 spectrum.filter_flags = MEASUREMENT_FILTER_FLAG; in il3945_get_measurement()
691 cmd.len = sizeof(spectrum); in il3945_get_measurement()
692 spectrum.len = cpu_to_le16(cmd.len - sizeof(spectrum.len)); in il3945_get_measurement()
695 spectrum.start_time = in il3945_get_measurement()
699 spectrum.start_time = 0; in il3945_get_measurement()
701 spectrum.channels[0].duration = cpu_to_le32(duration * TIME_UNIT); in il3945_get_measurement()
702 spectrum.channels[0].channel = params->channel; in il3945_get_measurement()
703 spectrum.channels[0].type = type; in il3945_get_measurement()
705 spectrum.flags |= in il3945_get_measurement()
719 spectrum_resp_status = le16_to_cpu(pkt->u.spectrum.status); in il3945_get_measurement()
722 if (pkt->u.spectrum.id != 0xff) { in il3945_get_measurement()
724 pkt->u.spectrum.id); in il3945_get_measurement()