Lines Matching refs:mach_info

121 	struct s3c2410fb_mach_info *mach_info = dev_get_platdata(fbi->dev);  in s3c2410fb_check_var()  local
123 struct s3c2410fb_display *default_display = mach_info->displays + in s3c2410fb_check_var()
124 mach_info->default_display; in s3c2410fb_check_var()
137 for (i = 0; i < mach_info->num_displays; i++) in s3c2410fb_check_var()
138 if (type == mach_info->displays[i].type && in s3c2410fb_check_var()
139 var->yres == mach_info->displays[i].yres && in s3c2410fb_check_var()
140 var->xres == mach_info->displays[i].xres && in s3c2410fb_check_var()
141 var->bits_per_pixel == mach_info->displays[i].bpp) { in s3c2410fb_check_var()
142 display = mach_info->displays + i; in s3c2410fb_check_var()
687 struct s3c2410fb_mach_info *mach_info = dev_get_platdata(fbi->dev); in s3c2410fb_init_registers() local
707 modify_gpio(mach_info->gpcup_reg, mach_info->gpcup, mach_info->gpcup_mask); in s3c2410fb_init_registers()
708 modify_gpio(mach_info->gpccon_reg, mach_info->gpccon, mach_info->gpccon_mask); in s3c2410fb_init_registers()
709 modify_gpio(mach_info->gpdup_reg, mach_info->gpdup, mach_info->gpdup_mask); in s3c2410fb_init_registers()
710 modify_gpio(mach_info->gpdcon_reg, mach_info->gpdcon, mach_info->gpdcon_mask); in s3c2410fb_init_registers()
714 dprintk("LPCSEL = 0x%08lx\n", mach_info->lpcsel); in s3c2410fb_init_registers()
715 writel(mach_info->lpcsel, lpcsel); in s3c2410fb_init_registers()
826 struct s3c2410fb_mach_info *mach_info; in s3c24xxfb_probe() local
834 mach_info = dev_get_platdata(&pdev->dev); in s3c24xxfb_probe()
835 if (mach_info == NULL) { in s3c24xxfb_probe()
841 if (mach_info->default_display >= mach_info->num_displays) { in s3c24xxfb_probe()
843 mach_info->default_display, mach_info->num_displays); in s3c24xxfb_probe()
847 display = mach_info->displays + mach_info->default_display; in s3c24xxfb_probe()
941 for (i = 0; i < mach_info->num_displays; i++) { in s3c24xxfb_probe()
942 unsigned long smem_len = mach_info->displays[i].xres; in s3c24xxfb_probe()
944 smem_len *= mach_info->displays[i].yres; in s3c24xxfb_probe()
945 smem_len *= mach_info->displays[i].bpp; in s3c24xxfb_probe()