/external/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_FREQUENCY.c | 37 struct v4l2_frequency freq; in test_VIDIOC_G_FREQUENCY() local 41 memset(&freq, 0xff, sizeof(freq)); in test_VIDIOC_G_FREQUENCY() 42 freq.tuner = tuner; in test_VIDIOC_G_FREQUENCY() 43 ret_get = ioctl(get_video_fd(), VIDIOC_G_FREQUENCY, &freq); in test_VIDIOC_G_FREQUENCY() 52 CU_ASSERT_EQUAL(freq.tuner, tuner); in test_VIDIOC_G_FREQUENCY() 57 CU_ASSERT_EQUAL(freq.reserved[0], 0); in test_VIDIOC_G_FREQUENCY() 58 CU_ASSERT_EQUAL(freq.reserved[1], 0); in test_VIDIOC_G_FREQUENCY() 59 CU_ASSERT_EQUAL(freq.reserved[2], 0); in test_VIDIOC_G_FREQUENCY() 60 CU_ASSERT_EQUAL(freq.reserved[3], 0); in test_VIDIOC_G_FREQUENCY() 61 CU_ASSERT_EQUAL(freq.reserved[4], 0); in test_VIDIOC_G_FREQUENCY() [all …]
|
/external/trappy/doc/ |
D | trace.txt | 9 …kworker/4:1-51 [004] 1583.767518: thermal_power_devfreq_get_power: type=devfreq freq=525000000… 10 …kworker/4:1-51 [004] 1583.767538: thermal_power_cpu_get_power: cpus=00000000,00000006 freq=110… 11 …kworker/4:1-51 [004] 1583.767553: thermal_power_cpu_get_power: cpus=00000000,00000039 freq=850… 13 …kworker/4:1-51 [004] 1583.767563: thermal_power_devfreq_limit: type=devfreq freq=525000000 cde… 15 …kworker/4:1-51 [004] 1583.767577: thermal_power_cpu_limit: cpus=00000000,00000006 freq=1100000… 17 …kworker/4:1-51 [004] 1583.767583: thermal_power_cpu_limit: cpus=00000000,00000039 freq=850000 … 21 …kworker/4:1-51 [004] 1583.866201: thermal_power_devfreq_get_power: type=devfreq freq=525000000… 22 …kworker/4:1-51 [004] 1583.866223: thermal_power_cpu_get_power: cpus=00000000,00000006 freq=110… 23 …kworker/4:1-51 [004] 1583.866244: thermal_power_cpu_get_power: cpus=00000000,00000039 freq=850… 25 …kworker/4:1-51 [004] 1583.866256: thermal_power_devfreq_limit: type=devfreq freq=525000000 cde… [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.c | 695 enum hostapd_hw_mode ieee80211_freq_to_chan(int freq, u8 *channel) in ieee80211_freq_to_chan() argument 699 return ieee80211_freq_to_channel_ext(freq, 0, VHT_CHANWIDTH_USE_HT, in ieee80211_freq_to_chan() 714 enum hostapd_hw_mode ieee80211_freq_to_channel_ext(unsigned int freq, in ieee80211_freq_to_channel_ext() argument 725 if (freq >= 2412 && freq <= 2472) { in ieee80211_freq_to_channel_ext() 726 if ((freq - 2407) % 5) in ieee80211_freq_to_channel_ext() 740 *channel = (freq - 2407) / 5; in ieee80211_freq_to_channel_ext() 745 if (freq == 2484) { in ieee80211_freq_to_channel_ext() 755 if (freq >= 4900 && freq < 5000) { in ieee80211_freq_to_channel_ext() 756 if ((freq - 4000) % 5) in ieee80211_freq_to_channel_ext() 758 *channel = (freq - 4000) / 5; in ieee80211_freq_to_channel_ext() [all …]
|
D | hw_features_common.c | 20 int chan, int *freq) in hw_get_channel_chan() argument 24 if (freq) in hw_get_channel_chan() 25 *freq = 0; in hw_get_channel_chan() 33 if (freq) in hw_get_channel_chan() 34 *freq = ch->freq; in hw_get_channel_chan() 44 int freq, int *chan) in hw_get_channel_freq() argument 56 if (ch->freq == freq) { in hw_get_channel_freq() 69 int freq; in hw_get_freq() local 71 hw_get_channel_chan(mode, chan, &freq); in hw_get_freq() 73 return freq; in hw_get_freq() [all …]
|
/external/linux-kselftest/tools/testing/selftests/intel_pstate/ |
D | run.sh | 85 for freq in `seq $max_freq -100 $min_freq` 87 echo "Setting maximum frequency to $freq" 88 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null 89 [ $EVALUATE_ONLY -eq 0 ] && run_test $freq 102 for freq in `seq $max_freq -100 $min_freq` 104 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri… 105 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ') 106 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' ) 107 if [ $result_freq -eq $freq ]; then 108 echo " $freq $result_freq 0 $msr $(($max_perf_pct*3300))" [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | dfs.c | 126 dfs_get_chan_data(struct hostapd_hw_modes *mode, int freq, int first_chan_idx) in dfs_get_chan_data() argument 131 if (mode->channels[i].freq == freq) in dfs_get_chan_data() 152 chan = dfs_get_chan_data(mode, first_chan->freq + i * 20, in dfs_chan_range_available() 472 static int set_dfs_state_freq(struct hostapd_iface *iface, int freq, u32 state) in set_dfs_state_freq() argument 482 wpa_printf(MSG_DEBUG, "set_dfs_state 0x%X for %d MHz", state, freq); in set_dfs_state_freq() 485 if (chan->freq == freq) { in set_dfs_state_freq() 493 wpa_printf(MSG_WARNING, "Can't set DFS state for freq %d MHz", freq); in set_dfs_state_freq() 498 static int set_dfs_state(struct hostapd_iface *iface, int freq, int ht_enabled, in set_dfs_state() argument 504 int frequency = freq; in set_dfs_state() 553 static int dfs_are_channels_overlapped(struct hostapd_iface *iface, int freq, in dfs_are_channels_overlapped() argument [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_utils.c | 69 int p2p_freq_to_channel(unsigned int freq, u8 *op_class, u8 *channel) in p2p_freq_to_channel() argument 71 if (ieee80211_freq_to_channel_ext(freq, 0, 0, op_class, channel) == in p2p_freq_to_channel() 225 int freq = p2p_channel_to_freq(op->reg_class, in p2p_channels_remove_freqs() local 227 if (freq > 0 && freq_range_list_includes(list, freq)) { in p2p_channels_remove_freqs() 272 unsigned int freq) in p2p_channels_includes_freq() argument 279 reg->channel[j]) == (int) freq) in p2p_channels_includes_freq() 287 int p2p_supported_freq(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq() argument 290 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq() 297 int p2p_supported_freq_go(struct p2p_data *p2p, unsigned int freq) in p2p_supported_freq_go() argument 300 if (p2p_freq_to_channel(freq, &op_reg_class, &op_channel) < 0) in p2p_supported_freq_go() [all …]
|
D | p2p.h | 96 int freq; member 624 int (*p2p_scan)(void *ctx, enum p2p_scan_type type, int freq, 651 unsigned int freq); 671 int (*send_action)(void *ctx, unsigned int freq, const u8 *dst, 705 int (*start_listen)(void *ctx, unsigned int freq, 819 void (*sd_request)(void *ctx, int freq, const u8 *sa, u8 dialog_token, 976 const u8 *addr, int freq, int peer_oper_freq); 1051 unsigned int *freq); 1077 unsigned int freq, const u8 *group_ssid, 1238 u8 seek_count, const char **seek_string, int freq); [all …]
|
/external/deqp/framework/delibs/deutil/ |
D | deClock.c | 40 LARGE_INTEGER freq; in deGetMicroseconds() local 43 QueryPerformanceFrequency(&freq); in deGetMicroseconds() 44 DE_ASSERT(freq.LowPart != 0 || freq.HighPart != 0); in deGetMicroseconds() 49 DE_ASSERT(freq.QuadPart != 0); in deGetMicroseconds() 50 return count.QuadPart * 1000000 / freq.QuadPart; in deGetMicroseconds() 54 DE_ASSERT(freq.QuadPart >= 1000000); in deGetMicroseconds() 55 return count.QuadPart / (freq.QuadPart / 1000000); in deGetMicroseconds()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | offchannel.c | 259 int offchannel_send_action(struct wpa_supplicant *wpa_s, unsigned int freq, in offchannel_send_action() argument 263 unsigned int freq, const u8 *dst, in offchannel_send_action() 272 freq, MAC2STR(dst), MAC2STR(src), MAC2STR(bssid), in offchannel_send_action() 298 wpa_s->pending_action_freq = freq; in offchannel_send_action() 307 if (freq != 0 && wpa_s->drv_flags & WPA_DRIVER_FLAGS_OFFCHANNEL_TX) { in offchannel_send_action() 326 if (freq) { in offchannel_send_action() 329 if (tx_iface->assoc_freq == freq) { in offchannel_send_action() 333 freq = 0; in offchannel_send_action() 337 if (wpa_s->off_channel_freq == freq || freq == 0) { in offchannel_send_action() 349 if (wpa_s->roc_waiting_drv_freq == freq) { in offchannel_send_action() [all …]
|
D | p2p_supplicant.c | 125 static int wpas_p2p_join_start(struct wpa_supplicant *wpa_s, int freq, 127 static int wpas_p2p_setup_freqs(struct wpa_supplicant *wpa_s, int freq, 131 static void wpas_p2p_join_scan_req(struct wpa_supplicant *wpa_s, int freq, 136 int auto_join, int freq, 159 static int wpas_p2p_go_is_peer_freq(struct wpa_supplicant *wpa_s, int freq); 213 if (p2p_supported_freq(wpa_s->global->p2p, freqs[i].freq)) in wpas_p2p_valid_oper_freqs() 226 int freq) in wpas_p2p_set_own_freq_preference() argument 235 freq > 0 && wpa_s->num_multichan_concurrent > 1 && in wpas_p2p_set_own_freq_preference() 238 freq); in wpas_p2p_set_own_freq_preference() 239 freq = 0; in wpas_p2p_set_own_freq_preference() [all …]
|
D | bgscan_learn.c | 25 int freq; member 134 bss->freq = atoi(buf + 4 + 18); in bgscan_learn_load() 138 MAC2STR(bss->bssid), bss->freq); in bgscan_learn_load() 179 MAC2STR(bss->bssid), bss->freq); in bgscan_learn_save() 220 if (in_array(freqs, bss->freq)) in bgscan_learn_get_freqs() 226 freqs[*count] = bss->freq; in bgscan_learn_get_freqs() 363 if (in_array(freqs, modes[i].channels[j].freq)) in bgscan_learn_get_supp_freqs() 370 freqs[count] = modes[i].channels[j].freq; in bgscan_learn_get_supp_freqs() 518 if (bss && bss->freq != res->freq) { in bgscan_learn_notify_scan() 521 MAC2STR(res->bssid), bss->freq, res->freq); in bgscan_learn_notify_scan() [all …]
|
D | p2p_supplicant.h | 38 int go_intent, int freq, unsigned int vht_center_freq2, 43 int freq, struct wpa_ssid *ssid); 45 int freq, int vht_center_freq2, int ht40, int vht, 76 u8 seek_cnt, const char **seek_string, int freq); 92 void wpas_p2p_sd_response(struct wpa_supplicant *wpa_s, int freq, 112 void wpas_sd_request(void *ctx, int freq, const u8 *sa, u8 dialog_token, 118 struct wpa_ssid *ssid, const u8 *go_dev_addr, int freq, 189 u8 category, const u8 *data, size_t len, int freq); 191 unsigned int freq, unsigned int duration); 193 unsigned int freq); [all …]
|
/external/libnl/python/examples/ |
D | wiphy.py | 11 def freq_to_ch(freq): argument 12 if freq == 2484: 15 if freq < 2484: 16 return (freq - 2407) / 5; 19 if freq < 45000: 20 return freq/5 - 1000; 22 if freq >= 58320 and freq <= 64800: 23 return (freq - 56160) / 2160; 30 freq = nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_FREQ]) 31 sys.stdout.write("\t\tfreq %d MHz [%d]" % (freq, freq_to_ch(freq)))
|
/external/autotest/client/site_tests/kernel_Delay/ |
D | kernel_Delay.py | 130 def _set_freq(self, freq): argument 146 self._set_file(str(freq), p) 150 self._check_freq(freq) 153 def _check_freq(self, freq): argument 167 if speed != freq: 169 freq, speed)) 172 if f != freq: 174 f, freq)) 214 for freq in freqs: 215 self._set_freq(freq) [all …]
|
/external/syslinux/gpxe/src/drivers/net/ath5k/ |
D | ath5k_eeprom.c | 341 ee->ee_pwr_cal_b[0].freq = in ath5k_eeprom_read_modes() 343 if (ee->ee_pwr_cal_b[0].freq != AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_read_modes() 346 ee->ee_pwr_cal_b[1].freq = in ath5k_eeprom_read_modes() 348 if (ee->ee_pwr_cal_b[1].freq != AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_read_modes() 352 ee->ee_pwr_cal_b[2].freq = in ath5k_eeprom_read_modes() 354 if (ee->ee_pwr_cal_b[2].freq != AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_read_modes() 363 ee->ee_pwr_cal_g[0].freq = in ath5k_eeprom_read_modes() 365 if (ee->ee_pwr_cal_g[0].freq != AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_read_modes() 368 ee->ee_pwr_cal_g[1].freq = in ath5k_eeprom_read_modes() 370 if (ee->ee_pwr_cal_g[1].freq != AR5K_EEPROM_CHANNEL_DIS) in ath5k_eeprom_read_modes() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | time_util.h | 20 inline uint32_t NtpToRtp(NtpTime ntp, uint32_t freq) { in NtpToRtp() argument 21 uint32_t tmp = (static_cast<uint64_t>(ntp.fractions()) * freq) >> 32; in NtpToRtp() 22 return ntp.seconds() * freq + tmp; in NtpToRtp() 26 inline uint32_t CurrentRtp(const Clock& clock, uint32_t freq) { in CurrentRtp() argument 27 return NtpToRtp(NtpTime(clock), freq); in CurrentRtp()
|
/external/webp/src/utils/ |
D | quant_levels_utils.c | 29 int freq[NUM_SYMBOLS] = { 0 }; in QuantizeLevels() local 54 num_levels_in += (freq[data[n]] == 0); in QuantizeLevels() 57 ++freq[data[n]]; in QuantizeLevels() 87 if (freq[s] > 0) { in QuantizeLevels() 88 q_sum[slot] += s * freq[s]; in QuantizeLevels() 89 q_count[slot] += freq[s]; in QuantizeLevels() 108 err += freq[s] * error * error; in QuantizeLevels()
|
/external/autotest/client/site_tests/power_CPUFreq/ |
D | power_CPUFreq.py | 72 for freq in available_frequencies: 73 cpu.set_frequency(freq) 74 if freq != cpu.get_current_frequency(): 103 for freq in available_frequencies: 105 cpu.set_frequency(freq) 107 if freq != cpu.get_current_frequency(): 185 freq = int(self.__read_file('scaling_cur_freq')) 186 logging.info('current frequency: %s' % freq) 187 return freq
|
/external/libopus/silk/float/ |
D | apply_sine_window_FLP.c | 46 silk_float freq, c, S0, S1; in silk_apply_sine_window_FLP() local 53 freq = PI / ( length + 1 ); in silk_apply_sine_window_FLP() 56 c = 2.0f - freq * freq; in silk_apply_sine_window_FLP() 63 S1 = freq; in silk_apply_sine_window_FLP()
|
/external/autotest/client/site_tests/kernel_CpufreqMinMax/ |
D | kernel_CpufreqMinMax.py | 39 for freq in freqs: 40 logging.info('setting %s to %d' % (filename, freq)) 42 f.write(str(freq)) 49 if (cur_freq != freq): 51 (filename, cur_freq, freq)) 53 (filename, freq))
|
/external/autotest/server/site_tests/network_WiFi_ChannelHop/ |
D | network_WiFi_ChannelHop.py | 21 freq = network_WiFi_ChannelHop.ORIGINAL_FREQUENCY 24 frequency=freq, 35 freq) 40 for freq, bssid in ((2437, network_WiFi_ChannelHop.ORIGINAL_BSSID), 54 frequency=freq, 77 freq)
|
/external/iw/ |
D | phy.c | 48 uint32_t freq; in handle_freqs() local 73 freq = strtoul(argv[1], &end, 10); in handle_freqs() 76 NLA_PUT_U32(msg, NL80211_ATTR_CENTER_FREQ1, freq); in handle_freqs() 84 freq = strtoul(argv[2], &end, 10); in handle_freqs() 87 NLA_PUT_U32(msg, NL80211_ATTR_CENTER_FREQ2, freq); in handle_freqs() 107 unsigned int freq; in handle_freqchan() local 115 freq = strtoul(argv[0], &end, 10); in handle_freqchan() 121 band = freq <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; in handle_freqchan() 122 freq = ieee80211_channel_to_frequency(freq, band); in handle_freqchan() 125 NLA_PUT_U32(msg, NL80211_ATTR_WIPHY_FREQ, freq); in handle_freqchan() [all …]
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | valid-adjtimex.c | 140 tx.freq = valid_freq[i]; in validate_freq() 152 if (tx.freq != valid_freq[i]) { in validate_freq() 154 tx.freq, valid_freq[i]); in validate_freq() 159 tx.freq = outofrange_freq[i]; in validate_freq() 171 if (tx.freq == outofrange_freq[i]) { in validate_freq() 174 tx.freq); in validate_freq() 184 tx.freq = invalid_freq[i]; in validate_freq() 200 tx.freq = 0; in validate_freq()
|
/external/lisa/tests/eas/ |
D | load_tracking.py | 87 freq = cpufreq['freqs'][cpu] 90 freq = None 91 cpu_capacity = self.te.nrg_model.get_cpu_capacity(cpu, freq) 194 for freq in cls.freqs: 196 'tag' : 'freq_{}'.format(freq), 199 'freqs' : {cpu: freq}, 215 [freq] = experiment.conf['cpufreq']['freqs'].values() 218 signal_name, signal_mean, exp_util, freq)
|