/openbmc/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);
|
/openbmc/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);
|
/openbmc/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()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | tda10048.c | 142 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 D | bma400_core.c | 104 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 D | testing_helpers.c | 313 __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 D | stm32-dfsdm-adc.c | 86 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 D | task-exit.c | 92 evsel->core.attr.sample_freq = 1000000; in test__task_exit() 94 evsel->core.attr.sample_freq = 1; in test__task_exit()
|
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()
|
/openbmc/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_link.c | 42 attr.sample_freq = 1000; in serial_test_perf_link()
|
H A D | perf_event_stackmap.c | 67 .sample_freq = read_perf_max_sample_freq(), in test_perf_event_stackmap()
|
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 | send_signal.c | 160 .sample_freq = 1000, in test_send_signal_perf()
|
H A D | unpriv_bpf_disabled.c | 285 attr.sample_freq = 1000; in test_unpriv_bpf_disabled()
|
/openbmc/linux/tools/perf/tests/attr/ |
H A D | test-record-group-sampling | 36 sample_freq=0
|
/openbmc/linux/tools/lib/perf/Documentation/examples/ |
H A D | sampling.c | 34 .sample_freq = 10, in main()
|
/openbmc/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()
|
/openbmc/linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 784 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 D | perf_event.h | 404 __u64 sample_freq; member
|
/openbmc/linux/tools/lib/perf/Documentation/ |
H A D | libperf-sampling.txt | 89 34 .sample_freq = 10,
|