hscale            779 drivers/gpu/drm/drm_atomic_helper.c 	int hscale, vscale;
hscale            805 drivers/gpu/drm/drm_atomic_helper.c 	hscale = drm_rect_calc_hscale(src, dst, min_scale, max_scale);
hscale            807 drivers/gpu/drm/drm_atomic_helper.c 	if (hscale < 0 || vscale < 0) {
hscale            170 drivers/gpu/drm/drm_rect.c 	int hscale = drm_calc_scale(src_w, dst_w);
hscale            172 drivers/gpu/drm/drm_rect.c 	if (hscale < 0 || dst_w == 0)
hscale            173 drivers/gpu/drm/drm_rect.c 		return hscale;
hscale            175 drivers/gpu/drm/drm_rect.c 	if (hscale < min_hscale || hscale > max_hscale)
hscale            178 drivers/gpu/drm/drm_rect.c 	return hscale;
hscale            221 drivers/gpu/drm/i915/display/dvo_ns2501.c 	u16 hscale;		/* horizontal scaling factor, b8/b9 */
hscale            248 drivers/gpu/drm/i915/display/dvo_ns2501.c 		.hscale	= 40960,
hscale            268 drivers/gpu/drm/i915/display/dvo_ns2501.c 		.hscale	= 51248,
hscale            287 drivers/gpu/drm/i915/display/dvo_ns2501.c 		.hscale	= 65535,
hscale            635 drivers/gpu/drm/i915/display/dvo_ns2501.c 	ns2501_writeb(dvo, NS2501_REGB8, conf->hscale & 0xff);
hscale            636 drivers/gpu/drm/i915/display/dvo_ns2501.c 	ns2501_writeb(dvo, NS2501_REGB9, conf->hscale >> 8);
hscale           5621 drivers/gpu/drm/i915/display/intel_display.c 		int pfit_w, pfit_h, hscale, vscale;
hscale           5630 drivers/gpu/drm/i915/display/intel_display.c 		hscale = (crtc_state->pipe_src_w << 16) / pfit_w;
hscale           5633 drivers/gpu/drm/i915/display/intel_display.c 		uv_rgb_hphase = skl_scaler_calc_phase(1, hscale, false);
hscale            374 drivers/gpu/drm/i915/display/intel_sprite.c 	int hscale, vscale;
hscale            376 drivers/gpu/drm/i915/display/intel_sprite.c 	hscale = drm_rect_calc_hscale(&plane_state->base.src,
hscale            386 drivers/gpu/drm/i915/display/intel_sprite.c 		y_hphase = skl_scaler_calc_phase(1, hscale, false);
hscale            390 drivers/gpu/drm/i915/display/intel_sprite.c 		uv_rgb_hphase = skl_scaler_calc_phase(2, hscale, true);
hscale            397 drivers/gpu/drm/i915/display/intel_sprite.c 		uv_rgb_hphase = skl_scaler_calc_phase(1, hscale, false);
hscale             57 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 	bool hscale = true, vscale = true;
hscale            115 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		hscale = false;
hscale            124 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 			hscale = false;
hscale            132 drivers/gpu/drm/radeon/radeon_legacy_crtc.c 		if (!hscale)
hscale            144 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		u32 hscale, vscale;
hscale            148 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 		hscale = state->src_w / state->crtc_w;
hscale            152 drivers/gpu/drm/sun4i/sun8i_ui_layer.c 				      dst_h, hscale, vscale, hphase, vphase);
hscale            150 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 			   u32 hscale, u32 vscale, u32 hphase, u32 vphase)
hscale            163 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	hscale <<= SUN8I_UI_SCALER_SCALE_FRAC - 16;
hscale            174 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 		     SUN8I_SCALER_GSU_HSTEP(base), hscale);
hscale            181 drivers/gpu/drm/sun4i/sun8i_ui_scaler.c 	offset = sun8i_ui_scaler_coef_index(hscale) *
hscale             41 drivers/gpu/drm/sun4i/sun8i_ui_scaler.h 			   u32 hscale, u32 vscale, u32 hphase, u32 vphase);
hscale            139 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		u32 hscale, vscale, fps;
hscale            170 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 		hscale = (src_w << 16) / dst_w;
hscale            174 drivers/gpu/drm/sun4i/sun8i_vi_layer.c 				      dst_h, hscale, vscale, hphase, vphase,
hscale            928 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 			   u32 hscale, u32 vscale, u32 hphase, u32 vphase,
hscale            939 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 	hscale <<= SUN8I_VI_SCALER_SCALE_FRAC - 16;
hscale            976 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 		     SUN8I_SCALER_VSU_YHSTEP(base), hscale);
hscale            989 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 		     hscale / format->hsub);
hscale            998 drivers/gpu/drm/sun4i/sun8i_vi_scaler.c 				  hscale, vscale, format);
hscale             75 drivers/gpu/drm/sun4i/sun8i_vi_scaler.h 			   u32 hscale, u32 vscale, u32 hphase, u32 vphase,
hscale             65 drivers/media/i2c/bt819.c 	int hscale;
hscale            186 drivers/media/i2c/bt819.c 	init[0x08 * 2 - 1] = timing->hscale >> 8;
hscale            187 drivers/media/i2c/bt819.c 	init[0x09 * 2 - 1] = timing->hscale & 0xff;
hscale            277 drivers/media/i2c/bt819.c 	bt819_write(decoder, 0x08, (timing->hscale >> 8) & 0xff);
hscale            278 drivers/media/i2c/bt819.c 	bt819_write(decoder, 0x09, timing->hscale & 0xff);
hscale            224 drivers/media/i2c/tw9910.c 	u16             hscale;
hscale            244 drivers/media/i2c/tw9910.c 		.hscale = 0x0100,
hscale            251 drivers/media/i2c/tw9910.c 		.hscale = 0x0100,
hscale            258 drivers/media/i2c/tw9910.c 		.hscale = 0x0200,
hscale            265 drivers/media/i2c/tw9910.c 		.hscale = 0x0200,
hscale            272 drivers/media/i2c/tw9910.c 		.hscale = 0x0400,
hscale            279 drivers/media/i2c/tw9910.c 		.hscale = 0x0400,
hscale            289 drivers/media/i2c/tw9910.c 		.hscale = 0x0100,
hscale            296 drivers/media/i2c/tw9910.c 		.hscale = 0x0100,
hscale            303 drivers/media/i2c/tw9910.c 		.hscale = 0x0200,
hscale            310 drivers/media/i2c/tw9910.c 		.hscale = 0x0200,
hscale            317 drivers/media/i2c/tw9910.c 		.hscale = 0x0400,
hscale            324 drivers/media/i2c/tw9910.c 		.hscale = 0x0400,
hscale            359 drivers/media/i2c/tw9910.c 					(scale->hscale & 0x0F00) >> 8);
hscale            364 drivers/media/i2c/tw9910.c 					scale->hscale & 0x00FF);
hscale            346 drivers/media/pci/bt8xx/bttv-risc.c 	geo->hscale =  ((totalwidth*4096UL)/xsf-4096);
hscale            399 drivers/media/pci/bt8xx/bttv-risc.c 	geo->hscale = (c_width * 4096U + (width >> 1)) / width - 4096;
hscale            436 drivers/media/pci/bt8xx/bttv-risc.c 	btwrite(geo->hscale >> 8,     BT848_E_HSCALE_HI+off);
hscale            437 drivers/media/pci/bt8xx/bttv-risc.c 	btwrite(geo->hscale & 0xff,   BT848_E_HSCALE_LO+off);
hscale            140 drivers/media/pci/bt8xx/bttvp.h 	u16 width,hscale,hdelay;
hscale            411 drivers/media/pci/cx25821/cx25821-medusa-video.c 	u32 hscale = 0x0;
hscale            432 drivers/media/pci/cx25821/cx25821-medusa-video.c 		hscale = 0x13E34B;
hscale            437 drivers/media/pci/cx25821/cx25821-medusa-video.c 		hscale = 0x10A273;
hscale            442 drivers/media/pci/cx25821/cx25821-medusa-video.c 		hscale = 0x3115B2;
hscale            447 drivers/media/pci/cx25821/cx25821-medusa-video.c 		hscale = 0x378D84;
hscale            452 drivers/media/pci/cx25821/cx25821-medusa-video.c 		hscale = 0x0;
hscale            460 drivers/media/pci/cx25821/cx25821-medusa-video.c 				HSCALE_CTRL + (0x200 * decoder), hscale);
hscale            255 drivers/media/pci/tw68/tw68-video.c 	int hactive, hdelay, hscale;
hscale            281 drivers/media/pci/tw68/tw68-video.c 	hscale = (hactive * 256) / (width);
hscale            294 drivers/media/pci/tw68/tw68-video.c 		hactive, hdelay, hscale, vactive, vdelay, vscale);
hscale            308 drivers/media/pci/tw68/tw68-video.c 	comb = ((vscale & 0xf00) >> 4) | ((hscale & 0xf00) >> 8);
hscale            310 drivers/media/pci/tw68/tw68-video.c 		 __func__, comb, vscale, hscale);
hscale            313 drivers/media/pci/tw68/tw68-video.c 	tw_writeb(TW68_HSCALE_LO, hscale);
hscale            266 drivers/media/platform/vsp1/vsp1_uds.c 	unsigned int hscale;
hscale            275 drivers/media/platform/vsp1/vsp1_uds.c 	hscale = uds_compute_ratio(input->width, output->width);
hscale            278 drivers/media/platform/vsp1/vsp1_uds.c 	dev_dbg(uds->entity.vsp1->dev, "hscale %u vscale %u\n", hscale, vscale);
hscale            285 drivers/media/platform/vsp1/vsp1_uds.c 	if (uds->scale_alpha && (hscale >= 8192 || vscale >= 8192))
hscale            295 drivers/media/platform/vsp1/vsp1_uds.c 		       (uds_passband_width(hscale)
hscale            302 drivers/media/platform/vsp1/vsp1_uds.c 		       (hscale << VI6_UDS_SCALE_HFRAC_SHIFT) |
hscale            338 drivers/media/platform/vsp1/vsp1_uds.c 	unsigned int hscale;
hscale            344 drivers/media/platform/vsp1/vsp1_uds.c 	hscale = output->width / input->width;
hscale            354 drivers/media/platform/vsp1/vsp1_uds.c 	if (hscale <= 2)
hscale            356 drivers/media/platform/vsp1/vsp1_uds.c 	else if (hscale <= 4)
hscale            358 drivers/media/platform/vsp1/vsp1_uds.c 	else if (hscale <= 8)
hscale            354 drivers/media/usb/em28xx/em28xx-video.c 	return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale);
hscale           1387 drivers/media/usb/em28xx/em28xx-video.c 			unsigned int *hscale, unsigned int *vscale)
hscale           1392 drivers/media/usb/em28xx/em28xx-video.c 	*hscale = (((unsigned long)maxw) << 12) / width - 4096L;
hscale           1393 drivers/media/usb/em28xx/em28xx-video.c 	if (*hscale > EM28XX_HVSCALE_MAX)
hscale           1394 drivers/media/usb/em28xx/em28xx-video.c 		*hscale = EM28XX_HVSCALE_MAX;
hscale           1402 drivers/media/usb/em28xx/em28xx-video.c 			  unsigned int hscale, unsigned int vscale,
hscale           1408 drivers/media/usb/em28xx/em28xx-video.c 	*width = (((unsigned long)maxw) << 12) / (hscale + 4096L);
hscale           1464 drivers/media/usb/em28xx/em28xx-video.c 	unsigned int          hscale, vscale;
hscale           1499 drivers/media/usb/em28xx/em28xx-video.c 	size_to_scale(dev, width, height, &hscale, &vscale);
hscale           1500 drivers/media/usb/em28xx/em28xx-video.c 	scale_to_size(dev, hscale, vscale, &width, &height);
hscale           1533 drivers/media/usb/em28xx/em28xx-video.c 		      &v4l2->hscale, &v4l2->vscale);
hscale           1596 drivers/media/usb/em28xx/em28xx-video.c 		      &v4l2->hscale, &v4l2->vscale);
hscale            588 drivers/media/usb/em28xx/em28xx.h 	unsigned int hscale;	/* horizontal scale factor (see datasheet) */