Home
last modified time | relevance | path

Searched refs:hratio (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/media/video/
Dmt9v032.c289 unsigned int hratio; in mt9v032_s_stream() local
297 hratio = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9v032_s_stream()
301 (hratio - 1) << MT9V032_READ_MODE_ROW_BIN_SHIFT | in mt9v032_s_stream()
377 unsigned int hratio; in mt9v032_set_format() local
391 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9v032_set_format()
396 __format->width = __crop->width / hratio; in mt9v032_set_format()
Dmt9t001.c201 unsigned int hratio; in mt9t001_s_stream() local
209 hratio = DIV_ROUND_CLOSEST(crop->width, format->width); in mt9t001_s_stream()
212 ret = mt9t001_write(client, MT9T001_ROW_ADDRESS_MODE, hratio - 1); in mt9t001_s_stream()
286 unsigned int hratio; in mt9t001_set_format() local
300 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9t001_set_format()
305 __format->width = __crop->width / hratio; in mt9t001_set_format()
Dmt9p031.c473 unsigned int hratio; in mt9p031_set_format() local
487 hratio = DIV_ROUND_CLOSEST(__crop->width, width); in mt9p031_set_format()
492 __format->width = __crop->width / hratio; in mt9p031_set_format()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnv17_tv_modes.c553 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local
569 hratio = crtc_mode->hdisplay * 0x800 / in nv17_ctv_update_rescaler()
582 XLATE(hratio, 0, NV_PRAMDAC_FP_DEBUG_1_XSCALE_VALUE); in nv17_ctv_update_rescaler()