Lines Matching refs:depth
196 int depth = scr->depth;
202 switch (depth) {
235 val = roundup(panel_width, 16 / depth);
251 offsize = stride / sizeof (uint16_t) - (panel_width * depth / 16);
254 (panel_width * depth / 16));
256 /* set byte- or halfword- swap based on the depth */
259 switch(depth) {
310 int virtual_width, int virtual_height, int depth)
328 switch (depth) {
330 virtual_width = roundup(virtual_width, 16 / depth);
336 aprint_error("%s: Unknown depth (%d)\n",
337 device_xname(sc->sc_dev), depth);
343 scr->depth = depth;
344 scr->stride = virtual_width * depth / 8;
435 int depth = scr->depth;
442 switch(depth) {
534 scr = s3c24x0_lcd_new_screen(sc, width, height, type->depth);
542 scr->rinfo.ri_depth = type->depth;
633 wsdisp_info->depth = 16; /* XXX */