Home
last modified time | relevance | path

Searched refs:whitelevel (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_g450.c190 int blacklevel, whitelevel; in g450_set_ctrl() local
191 g450_compute_bwlevel(minfo, &blacklevel, &whitelevel); in g450_set_ctrl()
193 cve2_set_reg10(minfo, 0x1e, whitelevel); in g450_set_ctrl()
532 int blacklevel, whitelevel; in matroxfb_g450_compute() local
533 g450_compute_bwlevel(minfo, &blacklevel, &whitelevel); in matroxfb_g450_compute()
536 minfo->hw.maven.regs[0x1E] = whitelevel >> 2; in matroxfb_g450_compute()
537 minfo->hw.maven.regs[0x1F] = whitelevel & 3; in matroxfb_g450_compute()
H A Dmatroxfb_maven.c1082 int blacklevel, whitelevel; in maven_set_control() local
1083 maven_compute_bwlevel(md, &blacklevel, &whitelevel); in maven_set_control()
1085 whitelevel = (whitelevel >> 2) | ((whitelevel & 3) << 8); in maven_set_control()
1087 maven_set_reg_pair(md->client, 0x1e, whitelevel); in maven_set_control()