Lines Matching refs:mi
363 struct pxa168fb_mach_info *mi = dev_get_platdata(fbi->dev); in set_dumb_panel_control() local
371 x |= (fbi->is_blanked ? 0x7 : mi->dumb_mode) << 28; in set_dumb_panel_control()
372 x |= mi->gpio_output_data << 20; in set_dumb_panel_control()
373 x |= mi->gpio_output_mask << 12; in set_dumb_panel_control()
374 x |= mi->panel_rgb_reverse_lanes ? 0x00000080 : 0; in set_dumb_panel_control()
375 x |= mi->invert_composite_blank ? 0x00000040 : 0; in set_dumb_panel_control()
377 x |= mi->invert_pix_val_ena ? 0x00000010 : 0; in set_dumb_panel_control()
380 x |= mi->invert_pixclock ? 0x00000002 : 0; in set_dumb_panel_control()
555 struct pxa168fb_mach_info *mi) in pxa168fb_init_mode() argument
593 struct pxa168fb_mach_info *mi; in pxa168fb_probe() local
600 mi = dev_get_platdata(&pdev->dev); in pxa168fb_probe()
601 if (mi == NULL) { in pxa168fb_probe()
631 fbi->panel_rbswap = mi->panel_rbswap; in pxa168fb_probe()
633 fbi->active = mi->active; in pxa168fb_probe()
641 strscpy(info->fix.id, mi->id, 16); in pxa168fb_probe()
681 set_mode(fbi, &info->var, mi->modes, mi->pix_fmt, 1); in pxa168fb_probe()
683 fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); in pxa168fb_probe()
688 pxa168fb_init_mode(info, mi); in pxa168fb_probe()
708 writel(mi->io_pin_allocation_mode, fbi->reg_base + SPU_IOPAD_CONTROL); in pxa168fb_probe()