Searched refs:tpf (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/media/i2c/ |
| H A D | ov7670.c | 789 struct v4l2_fract *tpf) in ov7675_get_framerate() argument 804 tpf->numerator = 1; in ov7675_get_framerate() 805 tpf->denominator = (5 * pll_factor * info->clock_speed) / in ov7675_get_framerate() 823 struct v4l2_fract *tpf) in ov7675_set_framerate() argument 836 if (tpf->numerator == 0 || tpf->denominator == 0) { in ov7675_set_framerate() 840 clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) / in ov7675_set_framerate() 841 (4 * tpf->denominator); in ov7675_set_framerate() 859 ov7675_get_framerate(sd, tpf); in ov7675_set_framerate() 873 struct v4l2_fract *tpf) in ov7670_get_framerate_legacy() argument 877 tpf->numerator = 1; in ov7670_get_framerate_legacy() [all …]
|
| H A D | ov772x.c | 616 struct v4l2_fract *tpf) in ov772x_select_fps() argument 618 unsigned int fps = tpf->numerator ? in ov772x_select_fps() 619 tpf->denominator / tpf->numerator : in ov772x_select_fps() 620 tpf->denominator; in ov772x_select_fps() 725 struct v4l2_fract *tpf = &ival->interval; in ov772x_get_frame_interval() local 734 tpf->numerator = 1; in ov772x_get_frame_interval() 735 tpf->denominator = priv->fps; in ov772x_get_frame_interval() 745 struct v4l2_fract *tpf = &ival->interval; in ov772x_set_frame_interval() local 763 fps = ov772x_select_fps(priv, tpf); in ov772x_set_frame_interval() 776 tpf->numerator = 1; in ov772x_set_frame_interval() [all …]
|
| H A D | mt9v011.c | 387 struct v4l2_fract *tpf = &ival->interval; in mt9v011_set_frame_interval() local 397 speed = calc_speed(sd, tpf->numerator, tpf->denominator); in mt9v011_set_frame_interval() 403 calc_fps(sd, &tpf->numerator, &tpf->denominator); in mt9v011_set_frame_interval()
|
| /linux/drivers/media/usb/gspca/ |
| H A D | topro.c | 4768 struct v4l2_fract *tpf = &cp->timeperframe; in sd_get_streamparm() local 4771 tpf->numerator = 1; in sd_get_streamparm() 4781 tpf->denominator = fr; in sd_get_streamparm() 4790 struct v4l2_fract *tpf = &cp->timeperframe; in sd_set_streamparm() local 4793 if (tpf->numerator == 0 || tpf->denominator == 0) in sd_set_streamparm() 4796 sd->framerate = tpf->denominator / tpf->numerator; in sd_set_streamparm() 4807 tpf->numerator = 1; in sd_set_streamparm() 4808 tpf->denominator = fr; in sd_set_streamparm()
|
| /linux/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-cap.c | 1729 struct v4l2_fract tpf; in vivid_vid_cap_s_parm() local 1739 tpf = parm->parm.capture.timeperframe; in vivid_vid_cap_s_parm() 1741 if (tpf.denominator == 0) in vivid_vid_cap_s_parm() 1742 tpf = webcam_intervals[ival_sz - 1]; in vivid_vid_cap_s_parm() 1744 if (V4L2_FRACT_COMPARE(tpf, >=, webcam_intervals[i])) in vivid_vid_cap_s_parm() 1749 tpf = webcam_intervals[dev->webcam_ival_idx]; in vivid_vid_cap_s_parm() 1753 dev->timeperframe_vid_cap = tpf; in vivid_vid_cap_s_parm() 1755 parm->parm.capture.timeperframe = tpf; in vivid_vid_cap_s_parm()
|
| /linux/kernel/sched/ |
| H A D | sched.h | 3238 unsigned long tpf, unsigned long gsf, unsigned long gpf);
|
| H A D | fair.c | 13949 unsigned long tsf = 0, tpf = 0, gsf = 0, gpf = 0; in show_numa_stats() local 13957 tpf = p->numa_faults[task_faults_idx(NUMA_MEM, node, 1)]; in show_numa_stats() 13963 print_numa_stats(m, node, tsf, tpf, gsf, gpf); in show_numa_stats()
|