Searched refs:sample_freq (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Dhdmi_common.c51 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) hdmi_compute_acr() argument
68 switch (sample_freq) { hdmi_compute_acr()
92 switch (sample_freq) { hdmi_compute_acr()
118 switch (sample_freq) { hdmi_compute_acr()
145 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); hdmi_compute_acr()
H A Dhdmi.h327 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/linux-4.1.27/tools/perf/tests/
H A Dsw-clock.c38 attr.sample_freq = 500; __test__sw_clock_freq()
67 knob, (u64)attr.sample_freq); __test__sw_clock_freq()
H A Dtask-exit.c78 evsel->attr.sample_freq = 0; test__task_exit()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dtda10048.c154 u32 sample_freq; member in struct:tda10048_state
406 tda10048_set_wref(fe, state->sample_freq, bw); tda10048_set_bandwidth()
407 tda10048_set_invwref(fe, state->sample_freq, bw); tda10048_set_bandwidth()
466 state->sample_freq = state->xtal_hz * (state->pll_mfactor + 45); tda10048_set_if()
467 state->sample_freq /= (state->pll_nfactor + 1); tda10048_set_if()
468 state->sample_freq /= (state->pll_pfactor + 4); tda10048_set_if()
469 dprintk(1, "- sample_freq = %d\n", state->sample_freq); tda10048_set_if()
472 tda10048_set_phy2(fe, state->sample_freq, state->freq_if_hz); tda10048_set_if()
/linux-4.1.27/tools/perf/util/
H A Dpython.c518 "sample_freq", pyrf_evsel__init()
569 &attr.type, &attr.config, &attr.sample_freq, pyrf_evsel__init()
583 if (attr.sample_freq != 0) pyrf_evsel__init()
H A Devsel.c656 attr->sample_freq = opts->freq; perf_evsel__config()
667 attr->sample_freq = 0; perf_evsel__config()
672 attr->sample_freq = 0; perf_evsel__config()
1086 PRINT_ATTRn("{ sample_period, sample_freq }", sample_period, p_unsigned); perf_event_attr__fprintf()
2094 printed += comma_fprintf(fp, &first, " sample_freq=%" PRIu64, perf_evsel__fprintf()
2095 (u64)evsel->attr.sample_freq); perf_evsel__fprintf()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_amd_ibs.c257 if (!event->attr.sample_freq && hwc->sample_period & 0x0f) perf_ibs_init()
/linux-4.1.27/include/uapi/linux/
H A Dperf_event.h288 __u64 sample_freq; member in union:perf_event_attr::__anon13540
/linux-4.1.27/drivers/net/wireless/ath/ath5k/
H A Dphy.c1962 * spur_freq_sigma_delta -> spur_offset / sample_freq << 21 ath5k_hw_set_spur_mitigation_filter()
1968 /* Both sample_freq and chip_freq are 80MHz */ ath5k_hw_set_spur_mitigation_filter()
1974 /* Both sample_freq and chip_freq are 20MHz (?) */ ath5k_hw_set_spur_mitigation_filter()
1980 /* Both sample_freq and chip_freq are 10MHz (?) */ ath5k_hw_set_spur_mitigation_filter()
1987 /* Both sample_freq and chip_freq are 40MHz */ ath5k_hw_set_spur_mitigation_filter()
1994 /* sample_freq -> 40MHz chip_freq -> 44MHz ath5k_hw_set_spur_mitigation_filter()
/linux-4.1.27/kernel/events/
H A Dcore.c1578 if (event->attr.freq && event->attr.sample_freq) event_sched_out()
1906 if (event->attr.freq && event->attr.sample_freq) event_sched_in()
2858 u64 frequency = event->attr.sample_freq; perf_calculate_period()
2870 * We got @count in @nsec, with a target of sample_freq HZ perf_calculate_period()
2875 * @nsec * sample_freq perf_calculate_period()
3002 if (!event->attr.freq || !event->attr.sample_freq) perf_adjust_freq_unthr_context()
3994 event->attr.sample_freq = value; __perf_event_period()
6934 long freq = event->attr.sample_freq; perf_swevent_init_hrtimer()
7603 if (attr->freq && attr->sample_freq) perf_event_alloc()
7943 if (attr.sample_freq > sysctl_perf_event_sample_rate) SYSCALL_DEFINE5()
/linux-4.1.27/sound/soc/codecs/
H A Dsgtl5000.c619 * calculate the divider of mclk/sample_freq, sgtl5000_set_clock()
/linux-4.1.27/arch/s390/kernel/
H A Dperf_cpum_sf.c747 rate = freq_to_sample_rate(&si, attr->sample_freq); __hw_perf_event_init()

Completed in 594 milliseconds