Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 – 25 of 27) sorted by relevance

12

/drivers/media/test-drivers/vivid/
Dvivid-vbi-gen.c23 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()
Dvivid-vbi-out.c146 vbi->sampling_rate = 25000000; in vidioc_g_fmt_vbi_out()
Dvivid-vbi-cap.c70 vbi->sampling_rate = 27000000; in vivid_g_fmt_vbi_cap()
/drivers/cpufreq/
Dcpufreq_governor.c56 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()
Dcpufreq_ondemand.c99 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,
Dcpufreq_conservative.c144 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,
Dcpufreq_governor.h43 unsigned int sampling_rate; member
/drivers/media/pci/bt8xx/
Dbttv-vbi.c201 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/
Ddp_link.c225 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/
Dcx88-vbi.c34 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt()
42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt()
/drivers/tty/serial/
Dqcom_geni_serial.c1190 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()
Dsh-sci.c2991 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/
Dvcnl4000.c189 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/
Dcx23885-vbi.c41 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt()
/drivers/accel/ivpu/
Dvpu_jsm_api.h412 u64 sampling_rate; member
/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h698 unsigned char sampling_rate :4; member
724 uint8_t sampling_rate; member
/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_dp_cts.c175 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/
Dsaa7146_fops.c307 vbi->sampling_rate = 27000000; in saa7146_vv_init()
/drivers/media/pci/saa7164/
Dsaa7164-vbi.c400 f->fmt.vbi.sampling_rate = 27000000; in saa7164_vbi_fmt()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c1416 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/
Dcx18-ioctl.c267 vbifmt->sampling_rate = 27000000; in cx18_g_fmt_vbi_cap()
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c92 .sampling_rate = 27000000,
/drivers/media/pci/saa7134/
Dsaa7134-video.c1023 f->fmt.vbi.sampling_rate = 6750000 * 4; in saa7134_try_get_set_fmt_vbi_cap()
/drivers/media/usb/au0828/
Dau0828-video.c1592 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()
/drivers/media/pci/ivtv/
Divtv-ioctl.c359 vbifmt->sampling_rate = 27000000; in ivtv_g_fmt_vbi_cap()

12