/drivers/media/test-drivers/vivid/ |
D | vivid-vbi-gen.c | 23 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_wss_raw() argument 41 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_wss_raw() 49 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_teletext_raw() argument 58 sampling_rate /= 10; in vivid_vbi_gen_teletext_raw() 61 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_teletext_raw() 84 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_cc_raw() argument 102 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_cc_raw() 132 vivid_vbi_gen_cc_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw() 134 vivid_vbi_gen_wss_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw() 136 vivid_vbi_gen_teletext_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw()
|
D | vivid-vbi-out.c | 146 vbi->sampling_rate = 25000000; in vidioc_g_fmt_vbi_out()
|
D | vivid-vbi-cap.c | 70 vbi->sampling_rate = 27000000; in vivid_g_fmt_vbi_cap()
|
/drivers/cpufreq/ |
D | cpufreq_governor.c | 56 dbs_data->sampling_rate = sampling_interval; in sampling_rate_store() 120 unsigned int sampling_rate, io_busy, j; in dbs_update() local 128 sampling_rate = dbs_data->sampling_rate * policy_dbs->rate_mult; in dbs_update() 165 } else if (unlikely((int)idle_time > 2 * sampling_rate && in dbs_update() 215 if (unlikely((int)idle_time > 2 * sampling_rate)) { in dbs_update() 216 unsigned int periods = idle_time / sampling_rate; in dbs_update() 449 dbs_data->sampling_rate = max_t(unsigned int, in cpufreq_dbs_governor_init() 518 unsigned int sampling_rate, ignore_nice, j; in cpufreq_dbs_governor_start() local 527 sampling_rate = dbs_data->sampling_rate; in cpufreq_dbs_governor_start() 546 gov_set_update_util(policy_dbs, sampling_rate); in cpufreq_dbs_governor_start()
|
D | cpufreq_ondemand.c | 99 delay_hi_us = (freq_avg - freq_lo) * dbs_data->sampling_rate; in generic_powersave_bias_target() 104 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target() 199 return dbs_data->sampling_rate * policy_dbs->rate_mult; in od_dbs_update() 317 gov_show_one_common(sampling_rate); 324 gov_attr_rw(sampling_rate); 332 &sampling_rate.attr,
|
D | cpufreq_conservative.c | 144 return dbs_data->sampling_rate; in cs_dbs_update() 246 gov_show_one_common(sampling_rate); 253 gov_attr_rw(sampling_rate); 261 &sampling_rate.attr,
|
D | cpufreq_governor.h | 43 unsigned int sampling_rate; member
|
/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 201 f->sampling_rate = tvnorm->Fsc; in try_fmt() 326 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap() 354 f->fmt.sampling_rate = tvnorm->Fsc; in bttv_vbi_fmt_reset()
|
/drivers/gpu/drm/msm/dp/ |
D | dp_link.c | 225 int sampling_rate = 0x0; in dp_link_parse_audio_mode() local 235 sampling_rate = data & 0xF; in dp_link_parse_audio_mode() 236 if (sampling_rate > max_audio_sampling_rate) { in dp_link_parse_audio_mode() 238 sampling_rate, max_audio_sampling_rate); in dp_link_parse_audio_mode() 252 link->dp_link.test_audio.test_audio_sampling_rate = sampling_rate; in dp_link_parse_audio_mode() 256 sampling_rate, channel_count); in dp_link_parse_audio_mode()
|
/drivers/media/pci/cx88/ |
D | cx88-vbi.c | 34 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt() 42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt()
|
/drivers/tty/serial/ |
D | qcom_geni_serial.c | 1190 unsigned int sampling_rate, unsigned int *clk_div) in get_clk_div_rate() argument 1195 desired_clk = baud * sampling_rate; in get_clk_div_rate() 1224 u32 ver, sampling_rate; in qcom_geni_serial_set_termios() local 1232 sampling_rate = UART_OVERSAMPLING; in qcom_geni_serial_set_termios() 1236 sampling_rate /= 2; in qcom_geni_serial_set_termios() 1239 sampling_rate, &clk_div); in qcom_geni_serial_set_termios() 1243 baud * sampling_rate); in qcom_geni_serial_set_termios() 1248 baud * sampling_rate, clk_rate, clk_div); in qcom_geni_serial_set_termios()
|
D | sh-sci.c | 2991 sci_port->sampling_rate_mask = p->sampling_rate in sci_init_single() 2992 ? SCI_SR(p->sampling_rate) in sci_init_single()
|
/drivers/iio/light/ |
D | vcnl4000.c | 189 ktime_t sampling_rate; member 377 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init() 379 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init() 383 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init() 385 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init() 473 chan->sampling_rate); in vcnl4200_measure() 590 data->vcnl4200_al.sampling_rate = ktime_set(0, val * 1200); in vcnl4040_write_als_it() 647 data->vcnl4200_ps.sampling_rate = ktime_set(0, val * 60 * NSEC_PER_USEC); in vcnl4040_write_ps_it()
|
/drivers/media/pci/cx23885/ |
D | cx23885-vbi.c | 41 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt()
|
/drivers/accel/ivpu/ |
D | vpu_jsm_api.h | 412 u64 sampling_rate; member
|
/drivers/gpu/drm/amd/display/dc/ |
D | dc_dp_types.h | 698 unsigned char sampling_rate :4; member 724 uint8_t sampling_rate; member
|
/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_cts.c | 175 switch (dpcd_test_mode.bits.sampling_rate) { in dp_test_get_audio_test_data() 204 link->audio_test_data.sampling_rate = sampling_rate_in_hz; in dp_test_get_audio_test_data()
|
/drivers/media/common/saa7146/ |
D | saa7146_fops.c | 307 vbi->sampling_rate = 27000000; in saa7146_vv_init()
|
/drivers/media/pci/saa7164/ |
D | saa7164-vbi.c | 400 f->fmt.vbi.sampling_rate = 27000000; in saa7164_vbi_fmt()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-video.c | 1416 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_g_fmt_vbi_cap() 1438 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_try_fmt_vbi_cap()
|
/drivers/media/pci/cx18/ |
D | cx18-ioctl.c | 267 vbifmt->sampling_rate = 27000000; in cx18_g_fmt_vbi_cap()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 92 .sampling_rate = 27000000,
|
/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1023 f->fmt.vbi.sampling_rate = 6750000 * 4; in saa7134_try_get_set_fmt_vbi_cap()
|
/drivers/media/usb/au0828/ |
D | au0828-video.c | 1592 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()
|
/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 359 vbifmt->sampling_rate = 27000000; in ivtv_g_fmt_vbi_cap()
|