Lines Matching refs:drv
33 static void query_edid(struct via_aux_drv *drv) in query_edid() argument
35 struct fb_monspecs *spec = drv->data; in query_edid()
48 if (via_aux_read(drv, 0x00, edid, EDID_LENGTH)) { in query_edid()
59 drv->data = spec; in query_edid()
62 static const struct fb_videomode *get_preferred_mode(struct via_aux_drv *drv) in get_preferred_mode() argument
64 struct fb_monspecs *spec = drv->data; in get_preferred_mode()
79 static void cleanup(struct via_aux_drv *drv) in cleanup() argument
81 struct fb_monspecs *spec = drv->data; in cleanup()
89 struct via_aux_drv drv = { in via_aux_edid_probe() local
96 query_edid(&drv); in via_aux_edid_probe()
99 via_aux_add(&drv); in via_aux_edid_probe()