Lines Matching refs:minfo

122 static void matroxfb_unregister_device(struct matrox_fb_info* minfo);
397 kfree(minfo); in matroxfb_remove()
466 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_updatevar() macro
471 #undef minfo in matroxfb_updatevar()
743 struct matrox_fb_info* minfo = list_entry(fb_info, struct matrox_fb_info, fbcon); in matroxfb_setcolreg() local
840 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_get_fix() macro
867 #undef minfo in matroxfb_get_fix()
873 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_get_var() macro
881 #undef minfo in matroxfb_get_var()
887 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_set_var() macro
1067 #undef minfo in matroxfb_set_var()
1077 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matrox_getcolreg() macro
1091 #undef minfo in matrox_getcolreg()
1097 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_get_cmap() macro
1115 #undef minfo in matroxfb_get_cmap()
1123 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_set_cmap() macro
1144 #undef minfo in matroxfb_set_cmap()
1184 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_ioctl() macro
1491 #undef minfo in matroxfb_ioctl()
1498 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_blank() macro
1525 #undef minfo in matroxfb_blank()
1548 #define minfo (list_entry(info, struct matrox_fb_info, fbcon)) in matroxfb_switch() macro
1593 #undef minfo in matroxfb_switch()
2259 struct matrox_fb_info* minfo; in matroxfb_register_driver() local
2262 for (minfo = matroxfb_l(matroxfb_list.next); in matroxfb_register_driver()
2263 minfo != matroxfb_l(&matroxfb_list); in matroxfb_register_driver()
2264 minfo = matroxfb_l(minfo->next_fb.next)) { in matroxfb_register_driver()
2267 if (minfo->drivers_count == MATROXFB_MAX_FB_DRIVERS) in matroxfb_register_driver()
2269 p = drv->probe(minfo); in matroxfb_register_driver()
2271 minfo->drivers_data[minfo->drivers_count] = p; in matroxfb_register_driver()
2272 minfo->drivers[minfo->drivers_count++] = drv; in matroxfb_register_driver()
2279 struct matrox_fb_info* minfo; in matroxfb_unregister_driver() local
2282 for (minfo = matroxfb_l(matroxfb_list.next); in matroxfb_unregister_driver()
2283 minfo != matroxfb_l(&matroxfb_list); in matroxfb_unregister_driver()
2284 minfo = matroxfb_l(minfo->next_fb.next)) { in matroxfb_unregister_driver()
2287 for (i = 0; i < minfo->drivers_count; ) { in matroxfb_unregister_driver()
2288 if (minfo->drivers[i] == drv) { in matroxfb_unregister_driver()
2290 drv->remove(minfo, minfo->drivers_data[i]); in matroxfb_unregister_driver()
2291 minfo->drivers[i] = minfo->drivers[--minfo->drivers_count]; in matroxfb_unregister_driver()
2292 minfo->drivers_data[i] = minfo->drivers_data[minfo->drivers_count]; in matroxfb_unregister_driver()
2299 static void matroxfb_register_device(struct matrox_fb_info* minfo) { in matroxfb_register_device() argument
2307 void *p = drv->probe(minfo); in matroxfb_register_device()
2309 minfo->drivers_data[i] = p; in matroxfb_register_device()
2310 minfo->drivers[i++] = drv; in matroxfb_register_device()
2316 minfo->drivers_count = i; in matroxfb_register_device()
2319 static void matroxfb_unregister_device(struct matrox_fb_info* minfo) { in matroxfb_unregister_device() argument
2323 for (i = 0; i < minfo->drivers_count; i++) { in matroxfb_unregister_device()
2324 struct matroxfb_driver* drv = minfo->drivers[i]; in matroxfb_unregister_device()
2327 drv->remove(minfo, minfo->drivers_data[i]); in matroxfb_unregister_device()
2336 struct matrox_fb_info* minfo; in matroxfb_probe() local
2369 minfo = (struct matrox_fb_info*)kmalloc(sizeof(*minfo), GFP_KERNEL); in matroxfb_probe()
2370 if (!minfo) in matroxfb_probe()
2374 kfree(minfo); in matroxfb_probe()
2380 minfo = &matroxfb_global_mxinfo; in matroxfb_probe()
2443 kfree(minfo); in matroxfb_probe()
2449 struct matrox_fb_info* minfo; in pci_remove_matrox() local
2451 minfo = pci_get_drvdata(pdev); in pci_remove_matrox()