| /linux/tools/perf/arch/x86/tests/ |
| H A D | amd-ibs-period.c | 415 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 D | hdmi_common.c | 52 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 D | hdmi.h | 317 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | hdmi_common.c | 52 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 D | hdmi.h | 336 int hdmi_compute_acr(u32 pclk, u32 sample_freq, u32 *n, u32 *cts);
|
| /linux/samples/bpf/ |
| H A D | trace_event_user.c | 219 .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/media/dvb-frontends/ |
| H A D | tda10048.c | 142 u32 sample_freq; member 400 tda10048_set_wref(fe, state->sample_freq, bw); in tda10048_set_bandwidth() 401 tda10048_set_invwref(fe, state->sample_freq, bw); in tda10048_set_bandwidth() 419 u64 sample_freq; in tda10048_set_if() local 461 sample_freq = state->xtal_hz; in tda10048_set_if() 462 sample_freq *= state->pll_mfactor + 45; in tda10048_set_if() 463 do_div(sample_freq, state->pll_nfactor + 1); in tda10048_set_if() 464 do_div(sample_freq, state->pll_pfactor + 4); in tda10048_set_if() 465 state->sample_freq = sample_freq; in tda10048_set_if() 466 dprintk(1, "- sample_freq = %d\n", state->sample_freq); in tda10048_set_if() [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | bma400_core.c | 105 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/shell/attr/ |
| H A D | test-record-group-sampling2 | 30 sample_freq=0 58 sample_freq=0
|
| H A D | test-record-group-sampling | 37 sample_freq=0
|
| /linux/drivers/iio/adc/ |
| H A D | stm32-dfsdm-adc.c | 89 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/perf/tests/ |
| H A D | sw-clock.c | 51 attr.sample_freq = 500; in __test__sw_clock_freq() 82 knob, (u64)attr.sample_freq); in __test__sw_clock_freq()
|
| H A D | task-exit.c | 91 evsel->core.attr.sample_freq = 1000000; in test__task_exit() 93 evsel->core.attr.sample_freq = 1; in test__task_exit()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | testing_helpers.c | 343 __u64 sample_freq = 5000; /* fallback to 5000 on error */ in read_perf_max_sample_freq() local 350 return sample_freq; in read_perf_max_sample_freq() 352 if (fscanf(f, "%llu", &sample_freq) != 1) { in read_perf_max_sample_freq() 358 return sample_freq; in read_perf_max_sample_freq()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | perf_branches.c | 125 attr.sample_freq = 1000; in test_perf_branches_hw() 166 attr.sample_freq = 1000; in test_perf_branches_no_hw()
|
| H A D | send_signal.c | 226 .sample_freq = 1000, in test_send_signal_perf() 238 .sample_freq = 1000, in test_send_signal_nmi()
|
| H A D | perf_event_stackmap.c | 67 .sample_freq = read_perf_max_sample_freq(), in test_perf_event_stackmap()
|
| H A D | perf_link.c | 47 attr.sample_freq = 1000; in serial_test_perf_link()
|
| H A D | find_vma.c | 35 attr.sample_freq = 1000; in open_pe()
|
| H A D | stacktrace_build_id_nmi.c | 21 attr.sample_freq = read_perf_max_sample_freq(); in test_stacktrace_build_id_nmi()
|
| H A D | unpriv_bpf_disabled.c | 286 attr.sample_freq = 1000; in test_unpriv_bpf_disabled()
|
| /linux/tools/gpio/ |
| H A D | gpio-sloppy-logic-analyzer.sh | 42 -s|--sample_freq <SI-n>: desired sampling frequency. Might be capped if too large. 176 …lp,instance:,list-instances,kernel-debug-dir:,num_samples:,output-dir:,sample_freq:,trigger: -o c:… 188 -s|--sample_freq) parse_si $2; samplefreq=$si_val; shift;;
|
| /linux/tools/lib/perf/Documentation/examples/ |
| H A D | sampling.c | 34 .sample_freq = 10, in main()
|
| /linux/tools/perf/util/ |
| H A D | record.c | 77 attr->sample_freq = 0; in evsel__config_leader_sampling()
|
| H A D | evsel_fprintf.c | 78 term, (u64)evsel->core.attr.sample_freq); in evsel__fprintf()
|