Lines Matching refs:dev
12 status_t class_fb_set_mode(struct device *dev, size_t width, size_t height, size_t bpp) { in class_fb_set_mode() argument
13 struct fb_ops *ops = device_get_driver_ops(dev, struct fb_ops, std); in class_fb_set_mode()
18 return ops->set_mode(dev, width, height, bpp); in class_fb_set_mode()
23 status_t class_fb_get_info(struct device *dev, struct fb_info *info) { in class_fb_get_info() argument
24 struct fb_ops *ops = device_get_driver_ops(dev, struct fb_ops, std); in class_fb_get_info()
29 return ops->get_info(dev, info); in class_fb_get_info()
34 status_t class_fb_update(struct device *dev) { in class_fb_update() argument
35 struct fb_ops *ops = device_get_driver_ops(dev, struct fb_ops, std); in class_fb_update()
40 return ops->update(dev); in class_fb_update()
45 status_t class_fb_update_region(struct device *dev, size_t x, size_t y, size_t width, size_t height… in class_fb_update_region() argument
46 struct fb_ops *ops = device_get_driver_ops(dev, struct fb_ops, std); in class_fb_update_region()
51 return ops->update_region(dev, x, y, width, height); in class_fb_update_region()