Home
last modified time | relevance | path

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

12

/linux/tools/perf/arch/x86/tests/
H A Damd-ibs-period.c415 unsigned long sample_freq; member
423 { .freq = 0, .sample_freq = 0, .ret = FD_ERROR, .period = -1 },
424 { .freq = 0, .sample_freq = 1, .ret = FD_ERROR, .period = -1 },
425 { .freq = 0, .sample_freq = 0xf, .ret = FD_ERROR, .period = -1 },
426 { .freq = 0, .sample_freq = 0x10, .ret = FD_SUCCESS, .period = 0x10 },
427 { .freq = 0, .sample_freq = 0x11, .ret = FD_SUCCESS, .period = 0x10 },
428 { .freq = 0, .sample_freq = 0x8f, .ret = FD_SUCCESS, .period = 0x80 },
429 { .freq = 0, .sample_freq = 0x90, .ret = FD_SUCCESS, .period = 0x90 },
430 { .freq = 0, .sample_freq = 0x91, .ret = FD_SUCCESS, .period = 0x90 },
431 { .freq = 0, .sample_freq = 0x4d2, .ret = FD_SUCCESS, .period = 0x4d0 },
[all …]
/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);
/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);
/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()
/linux/drivers/iio/accel/
H A Dbma400_core.c105 struct bma400_sample_freq sample_freq; member
533 &data->sample_freq.hz, in bma400_get_accel_output_data_rate()
534 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate()
552 bma400_output_data_rate_from_raw(odr, &data->sample_freq.hz, in bma400_get_accel_output_data_rate()
553 &data->sample_freq.uhz); in bma400_get_accel_output_data_rate()
556 data->sample_freq.hz = 0; in bma400_get_accel_output_data_rate()
557 data->sample_freq.uhz = 0; in bma400_get_accel_output_data_rate()
564 data->sample_freq.hz = -1; in bma400_get_accel_output_data_rate()
565 data->sample_freq.uhz = -1; in bma400_get_accel_output_data_rate()
605 bma400_output_data_rate_from_raw(idx, &data->sample_freq.hz, in bma400_set_accel_output_data_rate()
[all …]
/linux/tools/perf/tests/
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()
H A Dtask-exit.c91 evsel->core.attr.sample_freq = 1000000; in test__task_exit()
93 evsel->core.attr.sample_freq = 1; in test__task_exit()
/linux/drivers/iio/adc/
H A Dstm32-dfsdm-adc.c89 unsigned int sample_freq; /* Sample frequency after filter decimation */ member
753 unsigned int sample_freq, in dfsdm_adc_set_samp_freq() argument
760 oversamp = DIV_ROUND_CLOSEST(spi_freq, sample_freq); in dfsdm_adc_set_samp_freq()
761 if (spi_freq % sample_freq) in dfsdm_adc_set_samp_freq()
764 sample_freq, spi_freq / oversamp); in dfsdm_adc_set_samp_freq()
770 adc->sample_freq = spi_freq / oversamp; in dfsdm_adc_set_samp_freq()
783 unsigned int sample_freq = adc->sample_freq; in dfsdm_adc_audio_set_spiclk() local
799 if (sample_freq) { in dfsdm_adc_audio_set_spiclk()
800 ret = dfsdm_adc_set_samp_freq(indio_dev, sample_freq, spi_freq); in dfsdm_adc_audio_set_spiclk()
1285 adc->sample_freq, spi_freq / val); in stm32_dfsdm_write_raw()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dperf_branches.c125 attr.sample_freq = 1000; in test_perf_branches_hw()
166 attr.sample_freq = 1000; in test_perf_branches()
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 Dunpriv_bpf_disabled.c286 attr.sample_freq = 1000; in test_unpriv_bpf_disabled()
H A Dfill_link_info.c217 .sample_freq = 1, in test_event_fill_link_info()
H A Dbpf_cookie.c
/linux/tools/testing/selftests/bpf/
H A Dtesting_helpers.c342 __u64 sample_freq = 5000; /* fallback to 5000 on error */ in read_perf_max_sample_freq() local
349 return sample_freq; in read_perf_max_sample_freq()
351 if (fscanf(f, "%llu", &sample_freq) != 1) { in read_perf_max_sample_freq()
357 return sample_freq; in read_perf_max_sample_freq()
/linux/tools/lib/perf/Documentation/examples/
H A Dsampling.c34 .sample_freq = 10, in main()
/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()
/linux/tools/lib/perf/Documentation/
H A Dlibperf-sampling.txt89 34 .sample_freq = 10,
/linux/arch/powerpc/perf/
H A Dvpa-dtl.c419 long freq = event->attr.sample_freq; in vpa_dtl_event_init()
/linux/tools/include/uapi/linux/
H A Dperf_event.h412 __u64 sample_freq; member
/linux/include/uapi/linux/
H A Dperf_event.h412 __u64 sample_freq; member

12