Lines Matching defs:mode
9 * Try to convert "screen_info" into a "simple-framebuffer" compatible mode.
10 * If the mode is incompatible, we return "false" and let the caller create
26 /* try parsing screen_info into a simple-framebuffer mode struct */
28 struct simplefb_platform_data *mode)
82 mode->format = f->name;
83 mode->width = si->lfb_width;
84 mode->height = si->lfb_height;
85 mode->stride = si->lfb_linelength;
94 const struct simplefb_platform_data *mode,
127 length = mode->height * mode->stride;
155 ret = platform_device_add_data(pd, mode, sizeof(*mode));