/external/perfetto/test/trace_processor/parsing/ |
D | cpu_counters_b120487929.out | 9 0,"freq",300000.000000,26469061 10 0,"freq",364800.000000,1570207 11 0,"freq",441600.000000,574478 12 0,"freq",518400.000000,1582083 13 0,"freq",672000.000000,5274688 14 0,"freq",748800.000000,6291667 15 0,"freq",825600.000000,2777187 16 0,"freq",1171200.000000,1328958506 17 0,"freq",1248000.000000,25806259 18 0,"freq",1324800.000000,20621981 [all …]
|
/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/igt-gpu-tools/lib/ |
D | igt_audio.c | 65 int freq; member 118 struct audio_signal_freq *freq; in audio_signal_add_frequency() local 140 freq = &signal->freqs[index]; in audio_signal_add_frequency() 141 memset(freq, 0, sizeof(*freq)); in audio_signal_add_frequency() 142 freq->freq = frequency; in audio_signal_add_frequency() 143 freq->channel = channel; in audio_signal_add_frequency() 163 int freq; in audio_signal_synthesize() local 167 freq = signal->freqs[i].freq; in audio_signal_synthesize() 168 period_len = signal->sampling_rate / freq; in audio_signal_synthesize() 173 value = 2.0 * M_PI * freq / signal->sampling_rate * j; in audio_signal_synthesize() [all …]
|
/external/wpa_supplicant_8/src/common/ |
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 hw_mode_get_channel(struct hostapd_hw_modes *mode, int freq, int *chan) in hw_mode_get_channel() argument 51 if (ch->freq == freq) { in hw_mode_get_channel() 63 hw_get_channel_freq(enum hostapd_hw_mode mode, int freq, int *chan, in hw_get_channel_freq() argument 81 chan_data = hw_mode_get_channel(curr_mode, freq, chan); in hw_get_channel_freq() 92 int freq; in hw_get_freq() local [all …]
|
D | ieee802_11_common.c | 877 enum hostapd_hw_mode ieee80211_freq_to_chan(int freq, u8 *channel) in ieee80211_freq_to_chan() argument 881 return ieee80211_freq_to_channel_ext(freq, 0, CHANWIDTH_USE_HT, in ieee80211_freq_to_chan() 896 enum hostapd_hw_mode ieee80211_freq_to_channel_ext(unsigned int freq, in ieee80211_freq_to_channel_ext() argument 908 if (freq >= 2412 && freq <= 2472) { in ieee80211_freq_to_channel_ext() 909 if ((freq - 2407) % 5) in ieee80211_freq_to_channel_ext() 923 *channel = (freq - 2407) / 5; in ieee80211_freq_to_channel_ext() 928 if (freq == 2484) { in ieee80211_freq_to_channel_ext() 938 if (freq >= 4900 && freq < 5000) { in ieee80211_freq_to_channel_ext() 939 if ((freq - 4000) % 5) in ieee80211_freq_to_channel_ext() 941 *channel = (freq - 4000) / 5; in ieee80211_freq_to_channel_ext() [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() 164 chan = dfs_get_chan_data(mode, first_chan->freq + i * 20, in dfs_chan_range_available() 168 first_chan->freq + i * 20); in dfs_chan_range_available() 176 first_chan->freq + i * 20); in dfs_chan_range_available() 182 first_chan->freq + i * 20); in dfs_chan_range_available() 230 chan->freq, chan->chan); in dfs_find_channel() 238 chan->freq, chan->chan); in dfs_find_channel() 245 chan->freq, chan->chan); in dfs_find_channel() 251 chan->freq, chan->chan); in dfs_find_channel() [all …]
|
D | dpp_hostapd.c | 310 (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_tx_status() 314 hapd->dpp_auth->neg_freq, hapd->iface->freq); in hostapd_dpp_tx_status() 327 unsigned int freq; in hostapd_dpp_reply_wait_timeout() local 375 freq = auth->curr_freq; in hostapd_dpp_reply_wait_timeout() 377 freq = auth->neg_freq; in hostapd_dpp_reply_wait_timeout() 380 freq, wait_time); in hostapd_dpp_reply_wait_timeout() 383 if (freq != (unsigned int) hapd->iface->freq && hapd->iface->freq > 0) { in hostapd_dpp_reply_wait_timeout() 387 freq, hapd->iface->freq); in hostapd_dpp_reply_wait_timeout() 447 unsigned int wait_time, max_wait_time, freq, max_tries, used; in hostapd_dpp_auth_init_next() local 495 freq = auth->freq[auth->freq_idx++]; in hostapd_dpp_auth_init_next() [all …]
|
D | acs.c | 522 chan->freq); in is_in_freqlist() 545 chan->chan, chan->freq); in acs_survey_mode_interference_factor() 570 acs_find_chan_mode(struct hostapd_hw_modes *mode, int freq) in acs_find_chan_mode() argument 581 if (chan->freq == freq) in acs_find_chan_mode() 590 acs_find_chan(struct hostapd_iface *iface, int freq) in acs_find_chan() argument 599 chan = acs_find_chan_mode(mode, freq); in acs_find_chan() 716 adj_chan = acs_find_chan(iface, chan->freq + (j * 20)); in acs_find_ideal_chan_mode() 743 adj_chan = acs_find_chan(iface, chan->freq + in acs_find_ideal_chan_mode() 751 adj_chan = acs_find_chan(iface, chan->freq + in acs_find_ideal_chan_mode() 759 adj_chan = acs_find_chan(iface, chan->freq + in acs_find_ideal_chan_mode() [all …]
|
D | hw_features.c | 138 feature->channels[j].freq, in hostapd_get_hw_features() 232 pri_freq = iface->freq; in ieee80211n_allowed_ht40_channel_pair() 255 iface->freq += 20; in ieee80211n_switch_pri_sec() 259 iface->freq -= 20; in ieee80211n_switch_pri_sec() 272 pri_freq = iface->freq; in ieee80211n_check_40mhz_5g() 395 pri_freq = iface->freq; in ieee80211n_scan_channels_2g4() 420 if (chan->freq < affected_start || in ieee80211n_scan_channels_2g4() 421 chan->freq > affected_end) in ieee80211n_scan_channels_2g4() 423 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 440 pri_freq = iface->freq; in ieee80211n_scan_channels_5g() [all …]
|
/external/adhd/cras-config/ |
D | dsp.ini.sample | 58 input_5=380 ; freq 62 input_9=450 ; freq 66 input_13=720 ; freq 70 input_17=721 ; freq 74 input_21=1705 ; freq 78 input_25=1800 ; freq 82 input_29=218 ; freq 86 input_33=580 ; freq 90 input_37=580 ; freq 94 input_41=250 ; freq [all …]
|
/external/arm-trusted-firmware/drivers/renesas/common/emmc/ |
D | emmc_mount.c | 22 static uint32_t emmc_set_timeout_register_value(uint32_t freq); 24 static uint32_t emmc_calc_tran_speed(uint32_t *freq); 54 uint32_t freq = MMC_400KHZ; /* 390KHz */ in emmc_card_init() local 70 result = emmc_set_request_mmc_clock(&freq); in emmc_card_init() 168 result_calc = emmc_calc_tran_speed(&freq); in emmc_card_init() 174 mmc_drv_obj.max_freq = freq; /* max frequency (card spec) */ in emmc_card_init() 176 result = emmc_set_request_mmc_clock(&freq); in emmc_card_init() 183 mmc_drv_obj.data_timeout = emmc_set_timeout_register_value(freq); in emmc_card_init() 224 uint32_t freq; /* High speed mode clock frequency */ in emmc_high_speed() local 237 freq = MMC_52MHZ; in emmc_high_speed() [all …]
|
/external/linux-kselftest/tools/testing/selftests/intel_pstate/ |
D | run.sh | 95 [ $EVALUATE_ONLY -eq 0 ] && for freq in `seq $max_freq -100 $min_freq` 97 echo "Setting maximum frequency to $freq" 98 cpupower frequency-set -g powersave --max=${freq}MHz >& /dev/null 99 run_test $freq 111 for freq in `seq $max_freq -100 $min_freq` 113 …result_freq=$(cat /tmp/result.${freq} | grep "cpu MHz" | awk ' { print $4 } ' | awk -F "." ' { pri… 114 msr=$(cat /tmp/result.${freq} | grep "msr" | awk ' { print $3 } ') 115 max_perf_pct=$(cat /tmp/result.${freq} | grep "max_perf_pct" | awk ' { print $2 } ' ) 117 $freq 119 $((result_freq - freq))
|
/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 …]
|
/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/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/synth/ |
D | SawOscillatorDPW.java | 30 public void setFrequency(float freq) { in setFrequency() argument 32 freq = Math.abs(freq); in setFrequency() 33 super.setFrequency(freq); in setFrequency() 34 if (freq < VERY_LOW_FREQ) { in setFrequency() 37 mScaler = (float) (0.125 * 44100 / freq); in setFrequency()
|
/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() 328 if (freq) { in offchannel_send_action() 331 if (tx_iface->assoc_freq == freq) { in offchannel_send_action() 335 freq = 0; in offchannel_send_action() 339 if (wpa_s->off_channel_freq == freq || freq == 0) { in offchannel_send_action() 351 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 | dpp_supplicant.c | 34 unsigned int freq); 39 unsigned int freq, const u8 *dst, 47 unsigned int freq, const u8 *dst, 264 unsigned int freq, in wpas_dpp_stop_listen_for_tx() argument 280 if (wpa_s->dpp_listen_freq == freq && remaining > wait_time) in wpas_dpp_stop_listen_for_tx() 285 wpa_s->dpp_listen_freq, remaining, freq, wait_time); in wpas_dpp_stop_listen_for_tx() 428 unsigned int freq, const u8 *dst, in wpas_dpp_tx_status() argument 440 " result=%s", freq, MAC2STR(dst), res_txt); in wpas_dpp_tx_status() 442 " freq=%u result=%s", MAC2STR(dst), freq, res_txt); in wpas_dpp_tx_status() 549 unsigned int freq; in wpas_dpp_reply_wait_timeout() local [all …]
|
/external/autotest/client/site_tests/power_CPUFreq/ |
D | power_CPUFreq.py | 75 for freq in available_frequencies: 76 cpu.set_frequency(freq) 77 if not self.compare_freqs(freq, cpu): 98 for freq in available_frequencies: 100 cpu.set_frequency(freq) 102 if not self.compare_freqs(freq, cpu): 109 freq = cpu.get_current_frequency() 113 freq = cpu.get_current_frequency() 116 set_freq, freq) 123 return set_freq == freq [all …]
|
/external/llvm-project/llvm/test/MC/ELF/ |
D | cgprofile.ll | 12 define void @freq(i1 %cond) { 27 !3 = !{void (i1)* @freq, void ()* @a, i64 11} 28 !4 = !{void (i1)* @freq, void ()* @b, i64 20} 29 !5 = !{void (i1)* @freq, null, i64 20} 32 ; CHECK: .cg_profile freq, a, 11 33 ; CHECK: .cg_profile freq, b, 20 42 ; OBJ: From: freq 47 ; OBJ: From: freq
|
/external/llvm-project/llvm/test/MC/COFF/ |
D | cgprofile.ll | 12 define void @freq(i1 %cond) { 27 !3 = !{void (i1)* @freq, void ()* @a, i64 11} 28 !4 = !{void (i1)* @freq, void ()* @b, i64 20} 29 !5 = !{void (i1)* @freq, null, i64 20} 32 ; CHECK: .cg_profile freq, a, 11 33 ; CHECK: .cg_profile freq, b, 20 42 ; OBJ: From: freq 47 ; OBJ: From: freq
|
/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/llvm-project/llvm/test/Instrumentation/ |
D | cgprofile.ll | 18 define void @freq(i1 %cond) !prof !1 { 38 ; CHECK: ![[e1]] = !{void (i1)* @freq, i32 ()* @func4, i64 1030} 39 ; CHECK: ![[e2]] = !{void (i1)* @freq, i32 ()* @func2, i64 410} 40 ; CHECK: ![[e3]] = !{void (i1)* @freq, i32 ()* @func3, i64 150} 41 ; CHECK: ![[e4]] = !{void (i1)* @freq, i32 ()* @func1, i64 10} 42 ; CHECK: ![[e5]] = !{void (i1)* @freq, void ()* @a, i64 11} 43 ; CHECK: ![[e6]] = !{void (i1)* @freq, void ()* @b, i64 21} 44 ; CHECK-NOT: !{void (i1)* @freq, void ()* @func5, i64 0}
|
/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/arm-optimized-routines/string/bench/ |
D | memcpy.c | 46 typedef struct { uint16_t size; uint16_t freq; } freq_data_t; member 47 typedef struct { uint8_t align; uint16_t freq; } align_data_t; member 119 int i, j, freq, size, n; in init_copy_distribution() local 121 for (n = i = 0; (freq = size_freq[i].freq) != 0; i++) in init_copy_distribution() 122 for (j = 0, size = size_freq[i].size; j < freq; j++) in init_copy_distribution() 126 for (n = i = 0; (freq = src_align_freq[i].freq) != 0; i++) in init_copy_distribution() 127 for (j = 0, size = src_align_freq[i].align; j < freq; j++) in init_copy_distribution() 131 for (n = i = 0; (freq = dst_align_freq[i].freq) != 0; i++) in init_copy_distribution() 132 for (j = 0, size = dst_align_freq[i].align; j < freq; j++) in init_copy_distribution()
|