tpf               380 drivers/media/i2c/mt9v011.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               383 drivers/media/i2c/mt9v011.c 	speed = calc_speed(sd, tpf->numerator, tpf->denominator);
tpf               389 drivers/media/i2c/mt9v011.c 	calc_fps(sd, &tpf->numerator, &tpf->denominator);
tpf               449 drivers/media/i2c/mt9v111.c 				   struct v4l2_fract *tpf)
tpf               451 drivers/media/i2c/mt9v111.c 	unsigned int fps = tpf->numerator ?
tpf               452 drivers/media/i2c/mt9v111.c 			   tpf->denominator / tpf->numerator :
tpf               453 drivers/media/i2c/mt9v111.c 			   tpf->denominator;
tpf               528 drivers/media/i2c/mt9v111.c 	tpf->numerator = 1;
tpf               529 drivers/media/i2c/mt9v111.c 	tpf->denominator = best_fps;
tpf               728 drivers/media/i2c/mt9v111.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               729 drivers/media/i2c/mt9v111.c 	unsigned int fps = tpf->numerator ?
tpf               730 drivers/media/i2c/mt9v111.c 			   tpf->denominator / tpf->numerator :
tpf               731 drivers/media/i2c/mt9v111.c 			   tpf->denominator;
tpf               734 drivers/media/i2c/mt9v111.c 	if (!tpf->numerator)
tpf               735 drivers/media/i2c/mt9v111.c 		tpf->numerator = 1;
tpf               766 drivers/media/i2c/mt9v111.c 	mt9v111_calc_frame_rate(mt9v111, tpf);
tpf               780 drivers/media/i2c/mt9v111.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               784 drivers/media/i2c/mt9v111.c 	tpf->numerator = 1;
tpf               785 drivers/media/i2c/mt9v111.c 	tpf->denominator = mt9v111->fps;
tpf              1110 drivers/media/i2c/mt9v111.c 	struct v4l2_fract tpf;
tpf              1195 drivers/media/i2c/mt9v111.c 	tpf.numerator		= 1;
tpf              1196 drivers/media/i2c/mt9v111.c 	tpf.denominator		= mt9v111->fps;
tpf              1197 drivers/media/i2c/mt9v111.c 	mt9v111_calc_frame_rate(mt9v111, &tpf);
tpf               781 drivers/media/i2c/ov2680.c 	struct v4l2_fract tpf;
tpf               788 drivers/media/i2c/ov2680.c 	tpf.denominator = OV2680_FRAME_RATE;
tpf               789 drivers/media/i2c/ov2680.c 	tpf.numerator = 1;
tpf               791 drivers/media/i2c/ov2680.c 	fie->interval = tpf;
tpf              2752 drivers/media/i2c/ov5640.c 	struct v4l2_fract tpf;
tpf              2760 drivers/media/i2c/ov5640.c 	tpf.numerator = 1;
tpf              2761 drivers/media/i2c/ov5640.c 	tpf.denominator = ov5640_framerates[fie->index];
tpf              2763 drivers/media/i2c/ov5640.c 	ret = ov5640_try_frame_interval(sensor, &tpf,
tpf              2768 drivers/media/i2c/ov5640.c 	fie->interval = tpf;
tpf               202 drivers/media/i2c/ov6650.c 	struct v4l2_fract	tpf;		/* as requested with s_frame_interval */
tpf               659 drivers/media/i2c/ov6650.c 	clkrc |= to_clkrc(&priv->tpf, priv->pclk_limit, priv->pclk_max);
tpf               758 drivers/media/i2c/ov6650.c 	ival->interval.numerator = GET_CLKRC_DIV(to_clkrc(&priv->tpf,
tpf               773 drivers/media/i2c/ov6650.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               777 drivers/media/i2c/ov6650.c 	if (tpf->numerator == 0 || tpf->denominator == 0)
tpf               780 drivers/media/i2c/ov6650.c 		div = (tpf->numerator * FRAME_RATE_MAX) / tpf->denominator;
tpf               787 drivers/media/i2c/ov6650.c 	tpf->numerator = div;
tpf               788 drivers/media/i2c/ov6650.c 	tpf->denominator = FRAME_RATE_MAX;
tpf               790 drivers/media/i2c/ov6650.c 	clkrc = to_clkrc(tpf, priv->pclk_limit, priv->pclk_max);
tpf               794 drivers/media/i2c/ov6650.c 		priv->tpf.numerator = GET_CLKRC_DIV(clkrc);
tpf               795 drivers/media/i2c/ov6650.c 		priv->tpf.denominator = FRAME_RATE_MAX;
tpf               797 drivers/media/i2c/ov6650.c 		*tpf = priv->tpf;
tpf              1041 drivers/media/i2c/ov6650.c 	priv->tpf.numerator   = GET_CLKRC_DIV(DEF_CLKRC);
tpf              1042 drivers/media/i2c/ov6650.c 	priv->tpf.denominator = FRAME_RATE_MAX;
tpf               793 drivers/media/i2c/ov7670.c 				 struct v4l2_fract *tpf)
tpf               808 drivers/media/i2c/ov7670.c 	tpf->numerator = 1;
tpf               809 drivers/media/i2c/ov7670.c 	tpf->denominator = (5 * pll_factor * info->clock_speed) /
tpf               827 drivers/media/i2c/ov7670.c 				 struct v4l2_fract *tpf)
tpf               840 drivers/media/i2c/ov7670.c 	if (tpf->numerator == 0 || tpf->denominator == 0) {
tpf               844 drivers/media/i2c/ov7670.c 		clkrc = (5 * pll_factor * info->clock_speed * tpf->numerator) /
tpf               845 drivers/media/i2c/ov7670.c 			(4 * tpf->denominator);
tpf               863 drivers/media/i2c/ov7670.c 	ov7675_get_framerate(sd, tpf);
tpf               877 drivers/media/i2c/ov7670.c 				 struct v4l2_fract *tpf)
tpf               881 drivers/media/i2c/ov7670.c 	tpf->numerator = 1;
tpf               882 drivers/media/i2c/ov7670.c 	tpf->denominator = info->clock_speed;
tpf               884 drivers/media/i2c/ov7670.c 		tpf->denominator /= (info->clkrc & CLK_SCALE);
tpf               888 drivers/media/i2c/ov7670.c 					struct v4l2_fract *tpf)
tpf               893 drivers/media/i2c/ov7670.c 	if (tpf->numerator == 0 || tpf->denominator == 0)
tpf               896 drivers/media/i2c/ov7670.c 		div = (tpf->numerator * info->clock_speed) / tpf->denominator;
tpf               902 drivers/media/i2c/ov7670.c 	tpf->numerator = 1;
tpf               903 drivers/media/i2c/ov7670.c 	tpf->denominator = info->clock_speed / div;
tpf              1174 drivers/media/i2c/ov7670.c 	struct v4l2_fract *tpf = &ival->interval;
tpf              1178 drivers/media/i2c/ov7670.c 	return info->devtype->set_framerate(sd, tpf);
tpf              1837 drivers/media/i2c/ov7670.c 	struct v4l2_fract tpf;
tpf              1924 drivers/media/i2c/ov7670.c 	tpf.numerator = 1;
tpf              1925 drivers/media/i2c/ov7670.c 	tpf.denominator = 30;
tpf              1926 drivers/media/i2c/ov7670.c 	info->devtype->set_framerate(sd, &tpf);
tpf               602 drivers/media/i2c/ov772x.c 				      struct v4l2_fract *tpf)
tpf               604 drivers/media/i2c/ov772x.c 	unsigned int fps = tpf->numerator ?
tpf               605 drivers/media/i2c/ov772x.c 			   tpf->denominator / tpf->numerator :
tpf               606 drivers/media/i2c/ov772x.c 			   tpf->denominator;
tpf               710 drivers/media/i2c/ov772x.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               712 drivers/media/i2c/ov772x.c 	tpf->numerator = 1;
tpf               713 drivers/media/i2c/ov772x.c 	tpf->denominator = priv->fps;
tpf               722 drivers/media/i2c/ov772x.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               733 drivers/media/i2c/ov772x.c 	fps = ov772x_select_fps(priv, tpf);
tpf               746 drivers/media/i2c/ov772x.c 	tpf->numerator = 1;
tpf               747 drivers/media/i2c/ov772x.c 	tpf->denominator = fps;
tpf               655 drivers/media/i2c/ov7740.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               658 drivers/media/i2c/ov7740.c 	tpf->numerator = 1;
tpf               659 drivers/media/i2c/ov7740.c 	tpf->denominator = 60;
tpf               667 drivers/media/i2c/ov7740.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               670 drivers/media/i2c/ov7740.c 	tpf->numerator = 1;
tpf               671 drivers/media/i2c/ov7740.c 	tpf->denominator = 60;
tpf               666 drivers/media/i2c/vs6624.c 	struct v4l2_fract *tpf = &ival->interval;
tpf               669 drivers/media/i2c/vs6624.c 	if (tpf->numerator == 0 || tpf->denominator == 0
tpf               670 drivers/media/i2c/vs6624.c 		|| (tpf->denominator > tpf->numerator * MAX_FRAME_RATE)) {
tpf               672 drivers/media/i2c/vs6624.c 		tpf->numerator = 1;
tpf               673 drivers/media/i2c/vs6624.c 		tpf->denominator = MAX_FRAME_RATE;
tpf               675 drivers/media/i2c/vs6624.c 	sensor->frame_rate.numerator = tpf->denominator;
tpf               676 drivers/media/i2c/vs6624.c 	sensor->frame_rate.denominator = tpf->numerator;
tpf              1225 drivers/media/platform/coda/coda-common.c 	struct v4l2_fract *tpf;
tpf              1231 drivers/media/platform/coda/coda-common.c 	tpf = &a->parm.output.timeperframe;
tpf              1232 drivers/media/platform/coda/coda-common.c 	tpf->denominator = ctx->params.framerate & CODA_FRATE_RES_MASK;
tpf              1233 drivers/media/platform/coda/coda-common.c 	tpf->numerator = 1 + (ctx->params.framerate >>
tpf              1308 drivers/media/platform/coda/coda-common.c 	struct v4l2_fract *tpf;
tpf              1314 drivers/media/platform/coda/coda-common.c 	tpf = &a->parm.output.timeperframe;
tpf              1315 drivers/media/platform/coda/coda-common.c 	coda_approximate_timeperframe(tpf);
tpf              1316 drivers/media/platform/coda/coda-common.c 	ctx->params.framerate = coda_timeperframe_to_frate(tpf);
tpf              1886 drivers/media/platform/vivid/vivid-vid-cap.c 	struct v4l2_fract tpf;
tpf              1896 drivers/media/platform/vivid/vivid-vid-cap.c 	tpf = parm->parm.capture.timeperframe;
tpf              1898 drivers/media/platform/vivid/vivid-vid-cap.c 	if (tpf.denominator == 0)
tpf              1899 drivers/media/platform/vivid/vivid-vid-cap.c 		tpf = webcam_intervals[ival_sz - 1];
tpf              1901 drivers/media/platform/vivid/vivid-vid-cap.c 		if (V4L2_FRACT_COMPARE(tpf, >=, webcam_intervals[i]))
tpf              1906 drivers/media/platform/vivid/vivid-vid-cap.c 	tpf = webcam_intervals[dev->webcam_ival_idx];
tpf              1910 drivers/media/platform/vivid/vivid-vid-cap.c 	dev->timeperframe_vid_cap = tpf;
tpf              1912 drivers/media/platform/vivid/vivid-vid-cap.c 	parm->parm.capture.timeperframe = tpf;
tpf               508 drivers/media/usb/cpia2/cpia2_v4l.c 	struct v4l2_fract tpf = cap->timeperframe;
tpf               514 drivers/media/usb/cpia2/cpia2_v4l.c 	if (ret || !tpf.denominator || !tpf.numerator)
tpf               522 drivers/media/usb/cpia2/cpia2_v4l.c 		struct v4l2_fract f1 = tpf;
tpf              1539 drivers/media/usb/gspca/ov534.c 	struct v4l2_fract *tpf = &cp->timeperframe;
tpf              1542 drivers/media/usb/gspca/ov534.c 	tpf->numerator = 1;
tpf              1543 drivers/media/usb/gspca/ov534.c 	tpf->denominator = sd->frame_rate;
tpf              1551 drivers/media/usb/gspca/ov534.c 	struct v4l2_fract *tpf = &cp->timeperframe;
tpf              1554 drivers/media/usb/gspca/ov534.c 	if (tpf->numerator == 0 || tpf->denominator == 0)
tpf              1557 drivers/media/usb/gspca/ov534.c 		sd->frame_rate = tpf->denominator / tpf->numerator;
tpf              1563 drivers/media/usb/gspca/ov534.c 	tpf->numerator = 1;
tpf              1564 drivers/media/usb/gspca/ov534.c 	tpf->denominator = sd->frame_rate;
tpf              4768 drivers/media/usb/gspca/topro.c 	struct v4l2_fract *tpf = &cp->timeperframe;
tpf              4771 drivers/media/usb/gspca/topro.c 	tpf->numerator = 1;
tpf              4781 drivers/media/usb/gspca/topro.c 	tpf->denominator = fr;
tpf              4790 drivers/media/usb/gspca/topro.c 	struct v4l2_fract *tpf = &cp->timeperframe;
tpf              4793 drivers/media/usb/gspca/topro.c 	if (tpf->numerator == 0 || tpf->denominator == 0)
tpf              4796 drivers/media/usb/gspca/topro.c 		sd->framerate = tpf->denominator / tpf->numerator;
tpf              4807 drivers/media/usb/gspca/topro.c 	tpf->numerator = 1;
tpf              4808 drivers/media/usb/gspca/topro.c 	tpf->denominator = fr;
tpf              1389 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	struct v4l2_fract tpf;
tpf              1394 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	tpf = parm->parm.capture.timeperframe;
tpf              1397 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	tpf = tpf.denominator ? tpf : tpf_default;
tpf              1398 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	tpf = V4L2_FRACT_COMPARE(tpf, <, tpf_min) ? tpf_min : tpf;
tpf              1399 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	tpf = V4L2_FRACT_COMPARE(tpf, >, tpf_max) ? tpf_max : tpf;
tpf              1401 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	dev->capture.timeperframe = tpf;
tpf              1402 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	parm->parm.capture.timeperframe = tpf;
tpf               822 kernel/sched/debug.c 		unsigned long tpf, unsigned long gsf, unsigned long gpf)
tpf               825 kernel/sched/debug.c 	SEQ_printf(m, "task_private=%lu task_shared=%lu ", tpf, tsf);
tpf              10525 kernel/sched/fair.c 	unsigned long tsf = 0, tpf = 0, gsf = 0, gpf = 0;
tpf              10533 kernel/sched/fair.c 			tpf = p->numa_faults[task_faults_idx(NUMA_MEM, node, 1)];
tpf              10539 kernel/sched/fair.c 		print_numa_stats(m, node, tsf, tpf, gsf, gpf);
tpf              2195 kernel/sched/sched.h 	unsigned long tpf, unsigned long gsf, unsigned long gpf);