Lines Matching refs:depth
272 error = pxa2x0_lcd_new_screen(sc, descr->depth, &scr);
349 switch (scr->depth) {
371 scr->depth >= 16 ? scr->dma_desc_pa :
442 init_palette(uint16_t *buf, int depth)
447 switch (depth) {
458 for (i=16; i < (1<<depth); ++i)
475 pxa2x0_lcd_new_screen(struct pxa2x0_lcd_softc *sc, int depth,
495 switch (depth) {
500 palette_size = (1<<depth) * sizeof (uint16_t);
511 aprint_error_dev(sc->dev, "Not supported depth (%d)\n", depth);
514 aprint_error_dev(sc->dev, "Unknown depth (%d)\n", depth);
520 scr->depth = depth;
593 init_palette((uint16_t *)((char *)desc - palette_size), depth);
648 rinfo->ri_depth = descr->depth;
657 if (descr->depth == 16) {
752 rinfo.ri_depth = descr->depth;
802 error = pxa2x0_lcd_new_screen(sc, type->depth, &scr);
810 scr->rinfo.ri_depth = type->depth;
874 wsdisp_info->depth = scr->depth;