Searched refs:vratio (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/drivers/media/video/ |
D | mt9v032.c | 290 unsigned int vratio; in mt9v032_s_stream() local 298 vratio = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9v032_s_stream() 302 (vratio - 1) << MT9V032_READ_MODE_COLUMN_BIN_SHIFT); in mt9v032_s_stream() 378 unsigned int vratio; in mt9v032_set_format() local 392 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9v032_set_format() 397 __format->height = __crop->height / vratio; in mt9v032_set_format()
|
D | mt9t001.c | 202 unsigned int vratio; in mt9t001_s_stream() local 210 vratio = DIV_ROUND_CLOSEST(crop->height, format->height); in mt9t001_s_stream() 216 ret = mt9t001_write(client, MT9T001_COLUMN_ADDRESS_MODE, vratio - 1); in mt9t001_s_stream() 287 unsigned int vratio; in mt9t001_set_format() local 301 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9t001_set_format() 306 __format->height = __crop->height / vratio; in mt9t001_set_format()
|
D | mt9p031.c | 474 unsigned int vratio; in mt9p031_set_format() local 488 vratio = DIV_ROUND_CLOSEST(__crop->height, height); in mt9p031_set_format() 493 __format->height = __crop->height / vratio; in mt9p031_set_format()
|
/linux-3.4.99/drivers/gpu/drm/nouveau/ |
D | nv17_tv_modes.c | 553 int overscan, hmargin, vmargin, hratio, vratio; in nv17_ctv_update_rescaler() local 571 vratio = crtc_mode->vdisplay * 0x800 / in nv17_ctv_update_rescaler() 580 XLATE(vratio, 0, NV_PRAMDAC_FP_DEBUG_1_YSCALE_VALUE) | in nv17_ctv_update_rescaler()
|