Searched refs:blacklevel (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/video/fbdev/matrox/ |
D | matroxfb_g450.c | 190 int blacklevel, whitelevel; in g450_set_ctrl() local 191 g450_compute_bwlevel(minfo, &blacklevel, &whitelevel); in g450_set_ctrl() 192 cve2_set_reg10(minfo, 0x0e, blacklevel); in g450_set_ctrl() 532 int blacklevel, whitelevel; in matroxfb_g450_compute() local 533 g450_compute_bwlevel(minfo, &blacklevel, &whitelevel); in matroxfb_g450_compute() 534 minfo->hw.maven.regs[0x0E] = blacklevel >> 2; in matroxfb_g450_compute() 535 minfo->hw.maven.regs[0x0F] = blacklevel & 3; in matroxfb_g450_compute()
|
D | matroxfb_maven.c | 1082 int blacklevel, whitelevel; in maven_set_control() local 1083 maven_compute_bwlevel(md, &blacklevel, &whitelevel); in maven_set_control() 1084 blacklevel = (blacklevel >> 2) | ((blacklevel & 3) << 8); in maven_set_control() 1086 maven_set_reg_pair(md->client, 0x0e, blacklevel); in maven_set_control()
|