Lines Matching refs:ACCESS_FBINFO
131 const int b = ACCESS_FBINFO(altout.tvo_params.brightness) + BLMIN; in g450_compute_bwlevel()
132 const int c = ACCESS_FBINFO(altout.tvo_params.contrast); in g450_compute_bwlevel()
516 dprintk(KERN_DEBUG "Computing, mode=%u\n", ACCESS_FBINFO(outputs[1]).mode); in matroxfb_g450_compute()
519 ACCESS_FBINFO(outputs[1]).mode != MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_g450_compute()
522 cve2_init_TVdata(ACCESS_FBINFO(outputs[1]).mode, &ACCESS_FBINFO(hw).maven, &outd); in matroxfb_g450_compute()
526 ACCESS_FBINFO(hw).maven.regs[0x0E] = blacklevel >> 2; in matroxfb_g450_compute()
527 ACCESS_FBINFO(hw).maven.regs[0x0F] = blacklevel & 3; in matroxfb_g450_compute()
528 ACCESS_FBINFO(hw).maven.regs[0x1E] = whitelevel >> 2; in matroxfb_g450_compute()
529 ACCESS_FBINFO(hw).maven.regs[0x1F] = whitelevel & 3; in matroxfb_g450_compute()
531 ACCESS_FBINFO(hw).maven.regs[0x20] = in matroxfb_g450_compute()
532 ACCESS_FBINFO(hw).maven.regs[0x22] = ACCESS_FBINFO(altout.tvo_params.saturation); in matroxfb_g450_compute()
534 ACCESS_FBINFO(hw).maven.regs[0x25] = ACCESS_FBINFO(altout.tvo_params.hue); in matroxfb_g450_compute()
536 if (ACCESS_FBINFO(altout.tvo_params.testout)) { in matroxfb_g450_compute()
537 ACCESS_FBINFO(hw).maven.regs[0x05] |= 0x02; in matroxfb_g450_compute()
540 computeRegs(PMINFO &ACCESS_FBINFO(hw).maven, mt, outd); in matroxfb_g450_compute()
554 if (ACCESS_FBINFO(outputs[1]).mode != MATROXFB_OUTPUT_MODE_MONITOR) { in matroxfb_g450_program()
555 cve2_init_TV(PMINFO &ACCESS_FBINFO(hw).maven); in matroxfb_g450_program()
600 if (ACCESS_FBINFO(devflags.g450dac)) { in matroxfb_g450_connect()
601 down_write(&ACCESS_FBINFO(altout.lock)); in matroxfb_g450_connect()
603 ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_CRTC1; in matroxfb_g450_connect()
604 ACCESS_FBINFO(outputs[1]).data = MINFO; in matroxfb_g450_connect()
605 ACCESS_FBINFO(outputs[1]).output = &matroxfb_g450_altout; in matroxfb_g450_connect()
606 ACCESS_FBINFO(outputs[1]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in matroxfb_g450_connect()
607 ACCESS_FBINFO(outputs[2]).src = MATROXFB_SRC_CRTC1; in matroxfb_g450_connect()
608 ACCESS_FBINFO(outputs[2]).data = MINFO; in matroxfb_g450_connect()
609 ACCESS_FBINFO(outputs[2]).output = &matroxfb_g450_dvi; in matroxfb_g450_connect()
610 ACCESS_FBINFO(outputs[2]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in matroxfb_g450_connect()
611 up_write(&ACCESS_FBINFO(altout.lock)); in matroxfb_g450_connect()
616 if (ACCESS_FBINFO(devflags.g450dac)) { in matroxfb_g450_shutdown()
617 down_write(&ACCESS_FBINFO(altout.lock)); in matroxfb_g450_shutdown()
618 ACCESS_FBINFO(outputs[1]).src = MATROXFB_SRC_NONE; in matroxfb_g450_shutdown()
619 ACCESS_FBINFO(outputs[1]).output = NULL; in matroxfb_g450_shutdown()
620 ACCESS_FBINFO(outputs[1]).data = NULL; in matroxfb_g450_shutdown()
621 ACCESS_FBINFO(outputs[1]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in matroxfb_g450_shutdown()
622 ACCESS_FBINFO(outputs[2]).src = MATROXFB_SRC_NONE; in matroxfb_g450_shutdown()
623 ACCESS_FBINFO(outputs[2]).output = NULL; in matroxfb_g450_shutdown()
624 ACCESS_FBINFO(outputs[2]).data = NULL; in matroxfb_g450_shutdown()
625 ACCESS_FBINFO(outputs[2]).mode = MATROXFB_OUTPUT_MODE_MONITOR; in matroxfb_g450_shutdown()
626 up_write(&ACCESS_FBINFO(altout.lock)); in matroxfb_g450_shutdown()