Lines Matching full:array
61 /* visible area of the sensor array */
66 } array; member
287 if (width > hdcs->array.width) in hdcs_set_size()
288 width = hdcs->array.width; in hdcs_set_size()
292 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
293 > hdcs->array.height) in hdcs_set_size()
294 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
297 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 in hdcs_set_size()
298 + hdcs->array.top; in hdcs_set_size()
300 if (height > hdcs->array.height) in hdcs_set_size()
301 height = hdcs->array.height; in hdcs_set_size()
303 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
306 x = hdcs->array.left + (hdcs->array.width - width) / 2; in hdcs_set_size()
375 hdcs->array.left = 8; in hdcs_probe_1x00()
376 hdcs->array.top = 8; in hdcs_probe_1x00()
377 hdcs->array.width = HDCS_1X00_DEF_WIDTH; in hdcs_probe_1x00()
378 hdcs->array.height = HDCS_1X00_DEF_HEIGHT; in hdcs_probe_1x00()
379 hdcs->array.border = 4; in hdcs_probe_1x00()
437 hdcs->array.left = 24; in hdcs_probe_1020()
438 hdcs->array.top = 4; in hdcs_probe_1020()
439 hdcs->array.width = HDCS_1020_DEF_WIDTH; in hdcs_probe_1020()
440 hdcs->array.height = 304; in hdcs_probe_1020()
441 hdcs->array.border = 4; in hdcs_probe_1020()
517 return hdcs_set_size(sd, hdcs->array.width, hdcs->array.height); in hdcs_init()