Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dcpufreq_governor.c39 unsigned int sampling_rate; in dbs_check_cpu() local
54 sampling_rate = od_tuners->sampling_rate; in dbs_check_cpu()
55 sampling_rate *= od_dbs_info->rate_mult; in dbs_check_cpu()
59 sampling_rate = cs_tuners->sampling_rate; in dbs_check_cpu()
140 if (unlikely(wall_time > (2 * sampling_rate) && in dbs_check_cpu()
213 unsigned int sampling_rate) in need_load_eval() argument
220 if (delta_us < (s64)(sampling_rate / 2)) in need_load_eval()
231 unsigned int sampling_rate) in set_sampling_rate() argument
235 cs_tuners->sampling_rate = sampling_rate; in set_sampling_rate()
238 od_tuners->sampling_rate = sampling_rate; in set_sampling_rate()
[all …]
Dcpufreq_governor.h175 unsigned int sampling_rate; member
184 unsigned int sampling_rate; member
241 static inline int delay_for_sampling_rate(unsigned int sampling_rate) in delay_for_sampling_rate() argument
243 int delay = usecs_to_jiffies(sampling_rate); in delay_for_sampling_rate()
271 unsigned int sampling_rate);
Dcpufreq_conservative.c114 int delay = delay_for_sampling_rate(cs_tuners->sampling_rate); in cs_dbs_timer()
118 if (!need_load_eval(&core_dbs_info->cdbs, cs_tuners->sampling_rate)) in cs_dbs_timer()
180 cs_tuners->sampling_rate = max(input, dbs_data->min_sampling_rate); in store_sampling_rate()
270 show_store_one(cs, sampling_rate);
278 gov_sys_pol_attr_rw(sampling_rate);
Dcpufreq_ondemand.c116 jiffies_total = usecs_to_jiffies(od_tuners->sampling_rate); in generic_powersave_bias_target()
207 if (!need_load_eval(&core_dbs_info->cdbs, od_tuners->sampling_rate)) { in od_dbs_timer()
229 delay = delay_for_sampling_rate(od_tuners->sampling_rate in od_dbs_timer()
258 od_tuners->sampling_rate = new_rate = max(new_rate, in update_sampling_rate()
428 show_store_one(od, sampling_rate);
436 gov_sys_pol_attr_rw(sampling_rate);
/drivers/media/platform/vivid/
Dvivid-vbi-gen.c35 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_wss_raw() argument
53 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_wss_raw()
61 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_teletext_raw() argument
70 sampling_rate /= 10; in vivid_vbi_gen_teletext_raw()
73 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_teletext_raw()
96 u8 *buf, unsigned sampling_rate) in vivid_vbi_gen_cc_raw() argument
114 unsigned n = ((bit + 1) * sampling_rate) / rate; in vivid_vbi_gen_cc_raw()
144 vivid_vbi_gen_cc_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw()
146 vivid_vbi_gen_wss_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw()
148 vivid_vbi_gen_teletext_raw(data, linebuf, vbi_fmt->sampling_rate); in vivid_vbi_gen_raw()
Dvivid-vbi-out.c148 vbi->sampling_rate = 25000000; in vidioc_g_fmt_vbi_out()
Dvivid-vbi-cap.c82 vbi->sampling_rate = 27000000; in vivid_g_fmt_vbi_cap()
/drivers/tty/serial/
Dsh-sci.c86 unsigned int sampling_rate; member
1771 if (s->sampling_rate) in sci_scbrr_calc()
1772 return DIV_ROUND_CLOSEST(freq, s->sampling_rate * bps) - 1; in sci_scbrr_calc()
2141 unsigned int sampling_rate; in sci_init_single() local
2184 sampling_rate = 16; in sci_init_single()
2188 sampling_rate = 0; in sci_init_single()
2194 sampling_rate = 16; in sci_init_single()
2200 sampling_rate = 16; in sci_init_single()
2203 sampling_rate = 32; in sci_init_single()
2209 sampling_rate = 32; in sci_init_single()
[all …]
/drivers/media/pci/bt8xx/
Dbttv-vbi.c267 f->sampling_rate = tvnorm->Fsc; in try_fmt()
398 frt->fmt.vbi.sampling_rate = tvnorm->Fsc; in bttv_g_fmt_vbi_cap()
427 f->fmt.sampling_rate = tvnorm->Fsc; in bttv_vbi_fmt_reset()
/drivers/media/pci/cx88/
Dcx88-vbi.c36 f->fmt.vbi.sampling_rate = 28636363; in cx8800_vbi_fmt()
42 f->fmt.vbi.sampling_rate = 35468950; in cx8800_vbi_fmt()
/drivers/media/pci/cx23885/
Dcx23885-vbi.c50 f->fmt.vbi.sampling_rate = 27000000; in cx23885_vbi_fmt()
/drivers/media/common/saa7146/
Dsaa7146_fops.c551 vbi->sampling_rate = 27000000; in saa7146_vv_init()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c1478 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_g_fmt_vbi_cap()
1501 f->fmt.vbi.sampling_rate = 6750000 * 4; in vidioc_try_fmt_vbi_cap()
/drivers/media/pci/cx18/
Dcx18-ioctl.c177 vbifmt->sampling_rate = 27000000; in cx18_g_fmt_vbi_cap()
/drivers/media/pci/saa7164/
Dsaa7164-vbi.c1003 f->fmt.vbi.sampling_rate = 27000000; in saa7164_vbi_fmt()
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c141 .sampling_rate = 27000000,
/drivers/media/usb/tlg2300/
Dpd-video.c786 vbi_fmt->sampling_rate = 6750000 * 4; in vidioc_g_fmt_vbi()
/drivers/media/pci/ivtv/
Divtv-ioctl.c372 vbifmt->sampling_rate = 27000000; in ivtv_g_fmt_vbi_cap()
/drivers/media/usb/au0828/
Dau0828-video.c1635 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()
/drivers/media/usb/em28xx/
Dem28xx-video.c1804 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2; in vidioc_g_fmt_vbi_cap()
/drivers/media/pci/saa7134/
Dsaa7134-video.c1211 f->fmt.vbi.sampling_rate = 6750000 * 4; in saa7134_try_get_set_fmt_vbi_cap()
/drivers/media/v4l2-core/
Dv4l2-ioctl.c305 vbi->sampling_rate, vbi->offset, in v4l_print_format()