/linux/tools/perf/arch/x86/tests/ |
H A D | amd-ibs-period.c | 247 attr->sample_period = sample_period; /* = ->sample_freq */ in fetch_prepare_attr() 262 attr->sample_period = sample_period; /* = ->sample_freq */ in op_prepare_attr() 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 768 unsigned long sample_freq; global() member [all...] |
/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/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/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() [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/tools/perf/tests/ |
H A D | sw-clock.c | 50 attr.sample_freq = 500; in __test__sw_clock_freq() 81 knob, (u64)attr.sample_freq); in __test__sw_clock_freq()
|
/linux/drivers/iio/adc/ |
H A D | stm32-dfsdm-adc.c | 89 unsigned int sample_freq; /* Sample frequency after filter decimation */ member 754 unsigned int sample_freq, in dfsdm_adc_set_samp_freq() argument 761 oversamp = DIV_ROUND_CLOSEST(spi_freq, sample_freq); in dfsdm_adc_set_samp_freq() 762 if (spi_freq % sample_freq) in dfsdm_adc_set_samp_freq() 765 sample_freq, spi_freq / oversamp); in dfsdm_adc_set_samp_freq() 771 adc->sample_freq = spi_freq / oversamp; in dfsdm_adc_set_samp_freq() 784 unsigned int sample_freq = adc->sample_freq; in dfsdm_adc_audio_set_spiclk() local 800 if (sample_freq) { in dfsdm_adc_audio_set_spiclk() 801 ret = dfsdm_adc_set_samp_freq(indio_dev, sample_freq, spi_fre in dfsdm_adc_audio_set_spiclk() [all...] |
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | perf_branches.c | 113 attr.sample_freq = 1000; in test_perf_branches_hw() 154 attr.sample_freq = 1000; in test_perf_branches_no_hw()
|
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 | unpriv_bpf_disabled.c | 286 attr.sample_freq = 1000; in test_unpriv_bpf_disabled()
|
/linux/tools/testing/selftests/bpf/ |
H A D | testing_helpers.c | 342 __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/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 rep=$(getopt -a -l cpu:,duration-us:,help,instance:,list-instances,kernel-debug-dir:,num_samples:,output-dir:,sample_freq:,trigger: -o c:d:hi:k:ln:o:s:t: -- "$@") || exit 1 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 | 72 const char *term = "sample_freq"; in evsel__fprintf() 78 term, (u64)evsel->core.attr.sample_freq); in evsel__fprintf()
|
/linux/tools/lib/perf/Documentation/ |
H A D | libperf-sampling.txt | 89 34 .sample_freq = 10,
|
/linux/include/uapi/linux/ |
H A D | perf_event.h | 411 __u64 sample_freq; member
|
/linux/tools/include/uapi/linux/ |
H A D | perf_event.h | 411 __u64 sample_freq; member
|
/linux/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 701 * interval := cpu_speed * 1000000 / sample_freq 718 if (!attr->sample_freq) in __hw_perf_event_init_rate() 720 rate = getrate(attr->freq, attr->sample_freq, si); in __hw_perf_event_init_rate()
|