Home
last modified time | relevance | path

Searched refs:sample_freq (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
69 switch (sample_freq) { in hdmi_compute_acr()
93 switch (sample_freq) { in hdmi_compute_acr()
119 switch (sample_freq) { in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
H A Dhdmi.h317 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_common.c52 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts) in hdmi_compute_acr() argument
69 switch (sample_freq) { in hdmi_compute_acr()
93 switch (sample_freq) { in hdmi_compute_acr()
119 switch (sample_freq) { in hdmi_compute_acr()
146 *cts = (pclk/1000) * (*n / 128) * deep_color / (sample_freq / 10); in hdmi_compute_acr()
H A Dhdmi.h336 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
/openbmc/linux/samples/bpf/
H A Dtrace_event_user.c219 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
225 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
231 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
240 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
249 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
256 .sample_freq = SAMPLE_FREQ, in test_bpf_perf_event()
/openbmc/linux/drivers/media/dvb-frontends/
H A Dtda10048.c142 u32 sample_freq; member
394 tda10048_set_wref(fe, state->sample_freq, bw); in tda10048_set_bandwidth()
395 tda10048_set_invwref(fe, state->sample_freq, bw); in tda10048_set_bandwidth()
413 u64 sample_freq; in tda10048_set_if() local
455 sample_freq = state->xtal_hz; in tda10048_set_if()
456 sample_freq *= state->pll_mfactor + 45; in tda10048_set_if()
457 do_div(sample_freq, state->pll_nfactor + 1); in tda10048_set_if()
458 do_div(sample_freq, state->pll_pfactor + 4); in tda10048_set_if()
459 state->sample_freq = sample_freq; in tda10048_set_if()
460 dprintk(1, "- sample_freq = %d\n", state->sample_freq); in tda10048_set_if()
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dbma400_core.c104 struct bma400_sample_freq sample_freq; member
497 &data->sample_freq.hz, in bma400_get_accel_output_data_rate()
498 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate()
516 bma400_output_data_rate_from_raw(odr, &data->sample_freq.hz, in bma400_get_accel_output_data_rate()
517 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate()
520 data->sample_freq.hz = 0; in bma400_get_accel_output_data_rate()
521 data->sample_freq.uhz = 0; in bma400_get_accel_output_data_rate()
528 data->sample_freq.hz = -1; in bma400_get_accel_output_data_rate()
529 data->sample_freq.uhz = -1; in bma400_get_accel_output_data_rate()
569 bma400_output_data_rate_from_raw(idx, &data->sample_freq.hz, in bma400_set_accel_output_data_rate()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.c313 __u64 sample_freq = 5000; /* fallback to 5000 on error */ in read_perf_max_sample_freq() local
320 return sample_freq; in read_perf_max_sample_freq()
322 if (fscanf(f, "%llu", &sample_freq) != 1) { in read_perf_max_sample_freq()
328 return sample_freq; in read_perf_max_sample_freq()
/openbmc/linux/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c86 unsigned int sample_freq; /* Sample frequency after filter decimation */ member
680 unsigned int sample_freq, in dfsdm_adc_set_samp_freq() argument
687 oversamp = DIV_ROUND_CLOSEST(spi_freq, sample_freq); in dfsdm_adc_set_samp_freq()
688 if (spi_freq % sample_freq) in dfsdm_adc_set_samp_freq()
691 sample_freq, spi_freq / oversamp); in dfsdm_adc_set_samp_freq()
697 adc->sample_freq = spi_freq / oversamp; in dfsdm_adc_set_samp_freq()
710 unsigned int sample_freq = adc->sample_freq; in dfsdm_adc_audio_set_spiclk() local
726 if (sample_freq) { in dfsdm_adc_audio_set_spiclk()
727 ret = dfsdm_adc_set_samp_freq(indio_dev, sample_freq, spi_freq); in dfsdm_adc_audio_set_spiclk()
1199 adc->sample_freq, spi_freq / val); in stm32_dfsdm_write_raw()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dtask-exit.c92 evsel->core.attr.sample_freq = 1000000; in test__task_exit()
94 evsel->core.attr.sample_freq = 1; in test__task_exit()
H A Dsw-clock.c50 attr.sample_freq = 500; in __test__sw_clock_freq()
81 knob, (u64)attr.sample_freq); in __test__sw_clock_freq()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c113 attr.sample_freq = 1000; in test_perf_branches_hw()
154 attr.sample_freq = 1000; in test_perf_branches_no_hw()
H A Dperf_link.c42 attr.sample_freq = 1000; in serial_test_perf_link()
H A Dperf_event_stackmap.c67 .sample_freq = read_perf_max_sample_freq(), in test_perf_event_stackmap()
H A Dfind_vma.c35 attr.sample_freq = 1000; in open_pe()
H A Dstacktrace_build_id_nmi.c21 attr.sample_freq = read_perf_max_sample_freq(); in test_stacktrace_build_id_nmi()
H A Dsend_signal.c160 .sample_freq = 1000, in test_send_signal_perf()
H A Dunpriv_bpf_disabled.c285 attr.sample_freq = 1000; in test_unpriv_bpf_disabled()
/openbmc/linux/tools/perf/tests/attr/
H A Dtest-record-group-sampling36 sample_freq=0
/openbmc/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c34 .sample_freq = 10, in main()
/openbmc/linux/tools/perf/util/
H A Drecord.c77 attr->sample_freq = 0; in evsel__config_leader_sampling()
H A Devsel_fprintf.c78 term, (u64)evsel->core.attr.sample_freq); in evsel__fprintf()
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi.c784 int sample_freq = 0x2, org_sample_freq = 0xD; in dw_hdmi_gp_audio_enable() local
789 sample_freq = 0x03; in dw_hdmi_gp_audio_enable()
793 sample_freq = 0x00; in dw_hdmi_gp_audio_enable()
797 sample_freq = 0x02; in dw_hdmi_gp_audio_enable()
801 sample_freq = 0x08; in dw_hdmi_gp_audio_enable()
805 sample_freq = 0x0A; in dw_hdmi_gp_audio_enable()
809 sample_freq = 0x0C; in dw_hdmi_gp_audio_enable()
813 sample_freq = 0x0E; in dw_hdmi_gp_audio_enable()
829 hdmi_writeb(hdmi, (0x3 << 4) | sample_freq, HDMI_FC_AUDSCHNLS7); in dw_hdmi_gp_audio_enable()
/openbmc/linux/include/uapi/linux/
H A Dperf_event.h404 __u64 sample_freq; member
/openbmc/linux/tools/lib/perf/Documentation/
H A Dlibperf-sampling.txt89 34 .sample_freq = 10,

12