Searched refs:start_x (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/omapdrm/ |
D | tcm-sita.c | 278 s16 start_x, end_x, start_y, end_y, found_x = -1; in scan_r2l_t2b() local 282 start_x = field->p0.x; in scan_r2l_t2b() 293 if (w > LEN(start_x, end_x) || h > LEN(end_y, start_y)) in scan_r2l_t2b() 297 start_x = ALIGN_DOWN(start_x - w + 1, align); /* - 1 to be inclusive */ in scan_r2l_t2b() 301 if (start_x < end_x) in scan_r2l_t2b() 306 for (x = start_x; x >= end_x; x -= align) { in scan_r2l_t2b() 325 if (found_x == start_x) in scan_r2l_t2b() 352 s16 start_x, end_x, start_y, end_y, found_x = -1; in scan_l2r_t2b() local 356 start_x = field->p0.x; in scan_l2r_t2b() 367 if (w > LEN(end_x, start_x) || h > LEN(end_y, start_y)) in scan_l2r_t2b() [all …]
|
/drivers/media/i2c/soc_camera/ |
D | ov5642.c | 744 int start_x = (OV5642_SENSOR_SIZE_X - width) / 2; in ov5642_set_resolution() local 752 ret = reg_write16(client, REG_WINDOW_START_X_HIGH, start_x); in ov5642_set_resolution() 756 priv->crop_rect.left = start_x; in ov5642_set_resolution()
|