Lines Matching refs:mode
106 const struct fb_videomode *mode) in mode_string() argument
111 if (mode->flag & FB_MODE_IS_DETAILED) in mode_string()
113 if (mode->flag & FB_MODE_IS_VESA) in mode_string()
115 if (mode->flag & FB_MODE_IS_STANDARD) in mode_string()
118 if (mode->vmode & FB_VMODE_INTERLACED) in mode_string()
120 if (mode->vmode & FB_VMODE_DOUBLE) in mode_string()
124 m, mode->xres, mode->yres, v, mode->refresh); in mode_string()
134 struct fb_videomode *mode; in store_mode() local
143 mode = &modelist->mode; in store_mode()
144 i = mode_string(mstr, 0, mode); in store_mode()
148 fb_videomode_to_var(&var, mode); in store_mode()
151 fb_info->mode = mode; in store_mode()
163 if (!fb_info->mode) in show_mode()
166 return mode_string(buf, 0, fb_info->mode); in show_mode()
208 const struct fb_videomode *mode; in show_modes() local
213 mode = &modelist->mode; in show_modes()
214 i += mode_string(buf, i, mode); in show_modes()
504 __ATTR(mode, S_IRUGO|S_IWUSR, show_mode, store_mode),