Home
last modified time | relevance | path

Searched refs:m2info (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c34 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_setcolreg() macro
38 if (m2info->fbcon.var.grayscale) { in matroxfb_dh_setcolreg()
42 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); in matroxfb_dh_setcolreg()
43 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); in matroxfb_dh_setcolreg()
44 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); in matroxfb_dh_setcolreg()
45 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); in matroxfb_dh_setcolreg()
47 col = (red << m2info->fbcon.var.red.offset) | in matroxfb_dh_setcolreg()
48 (green << m2info->fbcon.var.green.offset) | in matroxfb_dh_setcolreg()
49 (blue << m2info->fbcon.var.blue.offset) | in matroxfb_dh_setcolreg()
50 (transp << m2info in matroxfb_dh_setcolreg()
61 #undef m2info matroxfb_dh_setcolreg() macro
64 matroxfb_dh_restore(struct matroxfb_dh_fb_info* m2info, struct my_timming* mt, int mode, unsigned int pos) matroxfb_dh_restore() argument
161 matroxfb_dh_disable(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_disable() argument
168 matroxfb_dh_pan_var(struct matroxfb_dh_fb_info* m2info, struct fb_var_screeninfo* var) matroxfb_dh_pan_var() argument
189 matroxfb_dh_decode_var(struct matroxfb_dh_fb_info* m2info, struct fb_var_screeninfo* var, int *visual, int *video_cmap_len, int *mode) matroxfb_dh_decode_var() argument
264 #define m2info matroxfb_dh_open() macro
279 #undef m2info matroxfb_dh_open() macro
283 #define m2info matroxfb_dh_release() macro
291 #undef m2info matroxfb_dh_release() macro
298 matroxfb_dh_init_fix(struct matroxfb_dh_fb_info *m2info) matroxfb_dh_init_fix() argument
315 #define m2info matroxfb_dh_check_var() macro
321 #undef m2info matroxfb_dh_check_var() macro
325 #define m2info matroxfb_dh_set_par() macro
393 #undef m2info matroxfb_dh_set_par() macro
397 #define m2info matroxfb_dh_pan_display() macro
400 #undef m2info matroxfb_dh_pan_display() macro
403 matroxfb_dh_get_vblank(const struct matroxfb_dh_fb_info* m2info, struct fb_vblank* vblank) matroxfb_dh_get_vblank() argument
427 #define m2info matroxfb_dh_ioctl() macro
549 #undef m2info matroxfb_dh_ioctl() macro
553 #define m2info matroxfb_dh_blank() macro
563 #undef m2info matroxfb_dh_blank() macro
599 matroxfb_dh_regit(const struct matrox_fb_info *minfo, struct matroxfb_dh_fb_info *m2info) matroxfb_dh_regit() argument
653 matroxfb_dh_registerfb(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_registerfb() argument
666 matroxfb_dh_deregisterfb(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_deregisterfb() argument
694 struct matroxfb_dh_fb_info* m2info; matroxfb_crtc2_probe() local
[all...]
H A Di2c-matroxfb.c147 struct matroxfb_dh_maven_info* m2info; in i2c_matroxfb_probe() local
149 m2info = kzalloc(sizeof(*m2info), GFP_KERNEL); in i2c_matroxfb_probe()
150 if (!m2info) in i2c_matroxfb_probe()
161 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
166 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
174 err = i2c_bus_reg(&m2info->ddc2, minfo, in i2c_matroxfb_probe()
182 err = i2c_bus_reg(&m2info->maven, minfo, in i2c_matroxfb_probe()
194 i2c_new_scanned_device(&m2info->maven.adapter, in i2c_matroxfb_probe()
198 return m2info; in i2c_matroxfb_probe()
206 struct matroxfb_dh_maven_info* m2info = data; i2c_matroxfb_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/matrox/
H A Dmatroxfb_crtc2.c34 #define m2info (container_of(info, struct matroxfb_dh_fb_info, fbcon)) in matroxfb_dh_setcolreg() macro
38 if (m2info->fbcon.var.grayscale) { in matroxfb_dh_setcolreg()
42 red = CNVT_TOHW(red, m2info->fbcon.var.red.length); in matroxfb_dh_setcolreg()
43 green = CNVT_TOHW(green, m2info->fbcon.var.green.length); in matroxfb_dh_setcolreg()
44 blue = CNVT_TOHW(blue, m2info->fbcon.var.blue.length); in matroxfb_dh_setcolreg()
45 transp = CNVT_TOHW(transp, m2info->fbcon.var.transp.length); in matroxfb_dh_setcolreg()
47 col = (red << m2info->fbcon.var.red.offset) | in matroxfb_dh_setcolreg()
48 (green << m2info->fbcon.var.green.offset) | in matroxfb_dh_setcolreg()
49 (blue << m2info->fbcon.var.blue.offset) | in matroxfb_dh_setcolreg()
50 (transp << m2info in matroxfb_dh_setcolreg()
61 #undef m2info matroxfb_dh_setcolreg() macro
64 matroxfb_dh_restore(struct matroxfb_dh_fb_info* m2info, struct my_timming* mt, int mode, unsigned int pos) matroxfb_dh_restore() argument
161 matroxfb_dh_disable(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_disable() argument
168 matroxfb_dh_pan_var(struct matroxfb_dh_fb_info* m2info, struct fb_var_screeninfo* var) matroxfb_dh_pan_var() argument
189 matroxfb_dh_decode_var(struct matroxfb_dh_fb_info* m2info, struct fb_var_screeninfo* var, int *visual, int *video_cmap_len, int *mode) matroxfb_dh_decode_var() argument
264 #define m2info matroxfb_dh_open() macro
279 #undef m2info matroxfb_dh_open() macro
283 #define m2info matroxfb_dh_release() macro
291 #undef m2info matroxfb_dh_release() macro
298 matroxfb_dh_init_fix(struct matroxfb_dh_fb_info *m2info) matroxfb_dh_init_fix() argument
315 #define m2info matroxfb_dh_check_var() macro
321 #undef m2info matroxfb_dh_check_var() macro
325 #define m2info matroxfb_dh_set_par() macro
393 #undef m2info matroxfb_dh_set_par() macro
397 #define m2info matroxfb_dh_pan_display() macro
400 #undef m2info matroxfb_dh_pan_display() macro
403 matroxfb_dh_get_vblank(const struct matroxfb_dh_fb_info* m2info, struct fb_vblank* vblank) matroxfb_dh_get_vblank() argument
427 #define m2info matroxfb_dh_ioctl() macro
549 #undef m2info matroxfb_dh_ioctl() macro
553 #define m2info matroxfb_dh_blank() macro
563 #undef m2info matroxfb_dh_blank() macro
599 matroxfb_dh_regit(const struct matrox_fb_info *minfo, struct matroxfb_dh_fb_info *m2info) matroxfb_dh_regit() argument
652 matroxfb_dh_registerfb(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_registerfb() argument
665 matroxfb_dh_deregisterfb(struct matroxfb_dh_fb_info* m2info) matroxfb_dh_deregisterfb() argument
693 struct matroxfb_dh_fb_info* m2info; matroxfb_crtc2_probe() local
[all...]
H A Di2c-matroxfb.c147 struct matroxfb_dh_maven_info* m2info; in i2c_matroxfb_probe() local
149 m2info = kzalloc(sizeof(*m2info), GFP_KERNEL); in i2c_matroxfb_probe()
150 if (!m2info) in i2c_matroxfb_probe()
161 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
166 err = i2c_bus_reg(&m2info->ddc1, minfo, in i2c_matroxfb_probe()
174 err = i2c_bus_reg(&m2info->ddc2, minfo, in i2c_matroxfb_probe()
182 err = i2c_bus_reg(&m2info->maven, minfo, in i2c_matroxfb_probe()
194 i2c_new_scanned_device(&m2info->maven.adapter, in i2c_matroxfb_probe()
198 return m2info; in i2c_matroxfb_probe()
206 struct matroxfb_dh_maven_info* m2info = data; i2c_matroxfb_remove() local
[all...]

Completed in 2 milliseconds