Lines Matching refs:height
77 int width, height; member
289 unsigned int width, unsigned int height) in hdcs_set_size() argument
298 height = (height + 3) & ~0x3; in hdcs_set_size()
305 if (height + 2 * hdcs->array.border + HDCS_1020_BOTTOM_Y_SKIP in hdcs_set_size()
306 > hdcs->array.height) in hdcs_set_size()
307 height = hdcs->array.height - 2 * hdcs->array.border - in hdcs_set_size()
310 y = (hdcs->array.height - HDCS_1020_BOTTOM_Y_SKIP - height) / 2 in hdcs_set_size()
313 if (height > hdcs->array.height) in hdcs_set_size()
314 height = hdcs->array.height; in hdcs_set_size()
316 y = hdcs->array.top + (hdcs->array.height - height) / 2; in hdcs_set_size()
323 win[2] = (y + height) / 4 - 1; in hdcs_set_size()
332 hdcs->h = height; in hdcs_set_size()
391 hdcs->array.height = HDCS_1X00_DEF_HEIGHT; in hdcs_probe_1x00()
453 hdcs->array.height = 304; in hdcs_probe_1020()
530 return hdcs_set_size(sd, hdcs->array.width, hdcs->array.height); in hdcs_init()