Lines Matching refs:mach_info
94 struct nuc900fb_mach_info *mach_info = dev_get_platdata(fbi->dev); in nuc900fb_check_var() local
96 struct nuc900fb_display *default_display = mach_info->displays + in nuc900fb_check_var()
97 mach_info->default_display; in nuc900fb_check_var()
109 for (i = 0; i < mach_info->num_displays; i++) in nuc900fb_check_var()
110 if (var->xres == mach_info->displays[i].xres && in nuc900fb_check_var()
111 var->yres == mach_info->displays[i].yres && in nuc900fb_check_var()
112 var->bits_per_pixel == mach_info->displays[i].bpp) { in nuc900fb_check_var()
113 display = mach_info->displays + i; in nuc900fb_check_var()
361 struct nuc900fb_mach_info *mach_info = dev_get_platdata(fbi->dev); in nuc900fb_init_registers() local
376 modify_gpio(W90X900_VA_GPIO + 0x54, mach_info->gpio_dir, in nuc900fb_init_registers()
377 mach_info->gpio_dir_mask); in nuc900fb_init_registers()
378 modify_gpio(W90X900_VA_GPIO + 0x58, mach_info->gpio_data, in nuc900fb_init_registers()
379 mach_info->gpio_data_mask); in nuc900fb_init_registers()
507 struct nuc900fb_mach_info *mach_info; in nuc900fb_probe() local
515 mach_info = dev_get_platdata(&pdev->dev); in nuc900fb_probe()
516 if (mach_info == NULL) { in nuc900fb_probe()
522 if (mach_info->default_display > mach_info->num_displays) { in nuc900fb_probe()
525 mach_info->default_display, mach_info->num_displays); in nuc900fb_probe()
530 display = mach_info->displays + mach_info->default_display; in nuc900fb_probe()
611 for (i = 0; i < mach_info->num_displays; i++) { in nuc900fb_probe()
612 unsigned long smem_len = mach_info->displays[i].xres; in nuc900fb_probe()
613 smem_len *= mach_info->displays[i].yres; in nuc900fb_probe()
614 smem_len *= mach_info->displays[i].bpp; in nuc900fb_probe()