Home
last modified time | relevance | path

Searched refs:sampling_rate (Results 1 – 25 of 26) 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 store_sampling_rate()
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()
516 unsigned int sampling_rate, ignore_nice, j; in cpufreq_dbs_governor_start() local
525 sampling_rate = dbs_data->sampling_rate; in cpufreq_dbs_governor_start()
544 gov_set_update_util(policy_dbs, sampling_rate); in cpufreq_dbs_governor_start()
Dcpufreq_ondemand.c97 delay_hi_us = (freq_avg - freq_lo) * dbs_data->sampling_rate; in generic_powersave_bias_target()
102 dbs_info->freq_lo_delay_us = dbs_data->sampling_rate - delay_hi_us; in generic_powersave_bias_target()
197 return dbs_data->sampling_rate * policy_dbs->rate_mult; in od_dbs_update()
315 gov_show_one_common(sampling_rate);
322 gov_attr_rw(sampling_rate);
330 &sampling_rate.attr,
Dcpufreq_conservative.c142 return dbs_data->sampling_rate; in cs_dbs_update()
244 gov_show_one_common(sampling_rate);
251 gov_attr_rw(sampling_rate);
259 &sampling_rate.attr,
Dcpufreq_governor.h43 unsigned int sampling_rate; member
/drivers/iio/light/
Dvcnl4000.c116 ktime_t sampling_rate; member
243 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init()
245 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init()
250 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init()
252 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init()
340 chan->sampling_rate); in vcnl4200_measure()
/drivers/gpu/drm/msm/dp/
Ddp_link.c221 int sampling_rate = 0x0; in dp_link_parse_audio_mode() local
231 sampling_rate = data & 0xF; in dp_link_parse_audio_mode()
232 if (sampling_rate > max_audio_sampling_rate) { in dp_link_parse_audio_mode()
234 sampling_rate, max_audio_sampling_rate); in dp_link_parse_audio_mode()
248 link->dp_link.test_audio.test_audio_sampling_rate = sampling_rate; in dp_link_parse_audio_mode()
251 sampling_rate, channel_count); in dp_link_parse_audio_mode()
/drivers/media/pci/bt8xx/
Dbttv-vbi.c255 f->sampling_rate = tvnorm->Fsc; in try_fmt()
386 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap()
415 f->fmt.sampling_rate = tvnorm->Fsc; in bttv_vbi_fmt_reset()
/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.c988 unsigned int sampling_rate, unsigned int *clk_div) in get_clk_div_rate() argument
993 desired_clk = baud * sampling_rate; in get_clk_div_rate()
1019 u32 ver, sampling_rate; in qcom_geni_serial_set_termios() local
1027 sampling_rate = UART_OVERSAMPLING; in qcom_geni_serial_set_termios()
1031 sampling_rate /= 2; in qcom_geni_serial_set_termios()
1033 clk_rate = get_clk_div_rate(baud, sampling_rate, &clk_div); in qcom_geni_serial_set_termios()
Dsh-sci.c2953 sci_port->sampling_rate_mask = p->sampling_rate in sci_init_single()
2954 ? SCI_SR(p->sampling_rate) in sci_init_single()
/drivers/gpu/drm/amd/display/dc/
Ddc_dp_types.h597 unsigned char sampling_rate :4; member
623 uint8_t sampling_rate; member
/drivers/media/pci/cx23885/
Dcx23885-vbi.c41 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt()
/drivers/media/common/saa7146/
Dsaa7146_fops.c548 vbi->sampling_rate = 27000000; in saa7146_vv_init()
/drivers/media/pci/saa7164/
Dsaa7164-vbi.c401 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.c164 vbifmt->sampling_rate = 27000000; in cx18_g_fmt_vbi_cap()
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c92 .sampling_rate = 27000000,
/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_dp.c3140 switch (dpcd_test_mode.bits.sampling_rate) { in dp_test_get_audio_test_data()
3169 link->audio_test_data.sampling_rate = sampling_rate_in_hz; in dp_test_get_audio_test_data()
/drivers/media/pci/ivtv/
Divtv-ioctl.c359 vbifmt->sampling_rate = 27000000; in ivtv_g_fmt_vbi_cap()
/drivers/media/usb/au0828/
Dau0828-video.c1591 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()
/drivers/media/pci/saa7134/
Dsaa7134-video.c1234 f->fmt.vbi.sampling_rate = 6750000 * 4; in saa7134_try_get_set_fmt_vbi_cap()
/drivers/media/usb/em28xx/
Dem28xx-video.c2065 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()

12