Lines Matching refs:spectrum
641 struct il_spectrum_cmd spectrum; in il3945_get_measurement() local
645 .data = (void *)&spectrum, in il3945_get_measurement()
660 memset(&spectrum, 0, sizeof(spectrum)); in il3945_get_measurement()
662 spectrum.channel_count = cpu_to_le16(1); in il3945_get_measurement()
663 spectrum.flags = in il3945_get_measurement()
665 spectrum.filter_flags = MEASUREMENT_FILTER_FLAG; in il3945_get_measurement()
666 cmd.len = sizeof(spectrum); in il3945_get_measurement()
667 spectrum.len = cpu_to_le16(cmd.len - sizeof(spectrum.len)); in il3945_get_measurement()
670 spectrum.start_time = in il3945_get_measurement()
674 spectrum.start_time = 0; in il3945_get_measurement()
676 spectrum.channels[0].duration = cpu_to_le32(duration * TIME_UNIT); in il3945_get_measurement()
677 spectrum.channels[0].channel = params->channel; in il3945_get_measurement()
678 spectrum.channels[0].type = type; in il3945_get_measurement()
680 spectrum.flags |= in il3945_get_measurement()
694 spectrum_resp_status = le16_to_cpu(pkt->u.spectrum.status); in il3945_get_measurement()
697 if (pkt->u.spectrum.id != 0xff) { in il3945_get_measurement()
699 pkt->u.spectrum.id); in il3945_get_measurement()