Lines Matching refs:ACCESS_FBINFO

122 	if (ACCESS_FBINFO(outputs[1]).src == MATROXFB_SRC_CRTC2) {  in matroxfb_dh_restore()
123 if (ACCESS_FBINFO(devflags.g450dac)) { in matroxfb_dh_restore()
126 if (ACCESS_FBINFO(outputs[1]).mode != MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_dh_restore()
134 } else if (ACCESS_FBINFO(outputs[0]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_restore()
138 if (ACCESS_FBINFO(outputs[0]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_restore()
192 ACCESS_FBINFO(hw).crtc2.ctl = c2.ctl; in matroxfb_dh_restore()
209 ACCESS_FBINFO(hw).crtc2.ctl = 0x00000004; in matroxfb_dh_disable()
343 if (ACCESS_FBINFO(dead)) { in matroxfb_dh_open()
346 err = ACCESS_FBINFO(fbcon.fbops)->fb_open(&ACCESS_FBINFO(fbcon), user); in matroxfb_dh_open()
361 err = ACCESS_FBINFO(fbcon.fbops)->fb_release(&ACCESS_FBINFO(fbcon), user); in matroxfb_dh_release()
469 down_read(&ACCESS_FBINFO(altout).lock); in matroxfb_dh_set_var()
471 if (ACCESS_FBINFO(outputs[out]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_set_var()
473 if (ACCESS_FBINFO(outputs[out]).output->compute) { in matroxfb_dh_set_var()
474 ACCESS_FBINFO(outputs[out]).output->compute(ACCESS_FBINFO(outputs[out]).data, &mt); in matroxfb_dh_set_var()
478 ACCESS_FBINFO(crtc2).pixclock = mt.pixclock; in matroxfb_dh_set_var()
479 ACCESS_FBINFO(crtc2).mnp = mt.mnp; in matroxfb_dh_set_var()
480 up_read(&ACCESS_FBINFO(altout).lock); in matroxfb_dh_set_var()
488 down_read(&ACCESS_FBINFO(altout).lock); in matroxfb_dh_set_var()
490 if (ACCESS_FBINFO(outputs[out]).src == MATROXFB_SRC_CRTC2 && in matroxfb_dh_set_var()
491 ACCESS_FBINFO(outputs[out]).output->program) { in matroxfb_dh_set_var()
492 ACCESS_FBINFO(outputs[out]).output->program(ACCESS_FBINFO(outputs[out]).data); in matroxfb_dh_set_var()
496 if (ACCESS_FBINFO(outputs[out]).src == MATROXFB_SRC_CRTC2 && in matroxfb_dh_set_var()
497 ACCESS_FBINFO(outputs[out]).output->start) { in matroxfb_dh_set_var()
498 ACCESS_FBINFO(outputs[out]).output->start(ACCESS_FBINFO(outputs[out]).data); in matroxfb_dh_set_var()
501 up_read(&ACCESS_FBINFO(altout).lock); in matroxfb_dh_set_var()
585 if (test_bit(0, &ACCESS_FBINFO(irq_flags))) { in matroxfb_dh_get_vblank()
589 vblank->count = ACCESS_FBINFO(crtc2).vsync.cnt; in matroxfb_dh_get_vblank()
633 return ACCESS_FBINFO(fbcon.fbops)->fb_ioctl(inode, file, cmd, arg, con, &ACCESS_FBINFO(fbcon)); in matroxfb_dh_ioctl()
647 if (!ACCESS_FBINFO(outputs[out]).output) in matroxfb_dh_ioctl()
649 switch (ACCESS_FBINFO(outputs[out]).src) { in matroxfb_dh_ioctl()
658 if (ACCESS_FBINFO(devflags.panellink)) { in matroxfb_dh_ioctl()
661 if ((ACCESS_FBINFO(outputs[2]).src == MATROXFB_SRC_CRTC1) && tmp) in matroxfb_dh_ioctl()
667 if (ACCESS_FBINFO(outputs[out]).src != MATROXFB_SRC_CRTC2) { in matroxfb_dh_ioctl()
669 ACCESS_FBINFO(outputs[out]).src = MATROXFB_SRC_CRTC2; in matroxfb_dh_ioctl()
671 } else if (ACCESS_FBINFO(outputs[out]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_ioctl()
673 ACCESS_FBINFO(outputs[out]).src = MATROXFB_SRC_NONE; in matroxfb_dh_ioctl()
687 if (ACCESS_FBINFO(outputs[out]).src == MATROXFB_SRC_CRTC2) { in matroxfb_dh_ioctl()
701 if (ACCESS_FBINFO(outputs[out]).output) { in matroxfb_dh_ioctl()
702 switch (ACCESS_FBINFO(outputs[out]).src) { in matroxfb_dh_ioctl()
710 if (ACCESS_FBINFO(devflags.panellink)) { in matroxfb_dh_ioctl()
712 if (ACCESS_FBINFO(outputs[2]).src == MATROXFB_SRC_CRTC1) { in matroxfb_dh_ioctl()
834 if (ACCESS_FBINFO(video.len_usable) + mem <= ACCESS_FBINFO(video.len)) in matroxfb_dh_regit()
835 m2info->video.offbase = ACCESS_FBINFO(video.len) - mem; in matroxfb_dh_regit()
836 else if (ACCESS_FBINFO(video.len) < mem) { in matroxfb_dh_regit()
841 ACCESS_FBINFO(video.len_usable) -= mem; in matroxfb_dh_regit()
842 m2info->video.offbase = ACCESS_FBINFO(video.len_usable); in matroxfb_dh_regit()
844 m2info->video.base = ACCESS_FBINFO(video.base) + m2info->video.offbase; in matroxfb_dh_regit()
846 m2info->video.vbase.vaddr = vaddr_va(ACCESS_FBINFO(video.vbase)) + m2info->video.offbase; in matroxfb_dh_regit()
847 m2info->mmio.base = ACCESS_FBINFO(mmio.base); in matroxfb_dh_regit()
848 m2info->mmio.vbase = ACCESS_FBINFO(mmio.vbase); in matroxfb_dh_regit()
849 m2info->mmio.len = ACCESS_FBINFO(mmio.len); in matroxfb_dh_regit()
854 if (ACCESS_FBINFO(outputs[1]).output && in matroxfb_dh_regit()
855 ACCESS_FBINFO(outputs[1]).src == MATROXFB_SRC_NONE && in matroxfb_dh_regit()
856 ACCESS_FBINFO(outputs[2]).src == MATROXFB_SRC_NONE) { in matroxfb_dh_regit()
857 ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_CRTC2; in matroxfb_dh_regit()
868 down_write(&ACCESS_FBINFO(crtc2.lock)); in matroxfb_dh_regit()
869 oldcrtc2 = ACCESS_FBINFO(crtc2.info); in matroxfb_dh_regit()
870 ACCESS_FBINFO(crtc2.info) = m2info; in matroxfb_dh_regit()
871 up_write(&ACCESS_FBINFO(crtc2.lock)); in matroxfb_dh_regit()
889 GET_FB_IDX(ACCESS_FBINFO(fbcon.node)), GET_FB_IDX(m2info->fbcon.node)); in matroxfb_dh_registerfb()
901 down_write(&ACCESS_FBINFO(crtc2.lock)); in matroxfb_dh_deregisterfb()
902 crtc2 = ACCESS_FBINFO(crtc2.info); in matroxfb_dh_deregisterfb()
904 ACCESS_FBINFO(crtc2.info) = NULL; in matroxfb_dh_deregisterfb()
905 up_write(&ACCESS_FBINFO(crtc2.lock)); in matroxfb_dh_deregisterfb()
916 ACCESS_FBINFO(video.len_usable) += m2info->video.borrowed; in matroxfb_dh_deregisterfb()
927 if (!ACCESS_FBINFO(devflags.crtc2)) in matroxfb_crtc2_probe()