Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/video/fbdev/nvidia/
Dnv_backlight.c51 u32 tmp_pcrt, tmp_pmc, fpcontrol; in nvidia_bl_update_status() local
63 tmp_pmc = NV_RD32(par->PMC, 0x10F0) & 0x0000FFFF; in nvidia_bl_update_status()
69 tmp_pmc |= (1 << 31); /* backlight bit */ in nvidia_bl_update_status()
70 tmp_pmc |= nvidia_bl_get_level_brightness(par, level) << 16; in nvidia_bl_update_status()
76 NV_WR32(par->PMC, 0x10F0, tmp_pmc); in nvidia_bl_update_status()
/Linux-v5.10/drivers/video/fbdev/riva/
Dfbdev.c294 U032 tmp_pcrt, tmp_pmc; in riva_bl_update_status() local
303 tmp_pmc = NV_RD32(par->riva.PMC, 0x10F0) & 0x0000FFFF; in riva_bl_update_status()
307 tmp_pmc |= (1 << 31); /* backlight bit */ in riva_bl_update_status()
308 tmp_pmc |= riva_bl_get_level_brightness(par, level) << 16; /* level */ in riva_bl_update_status()
311 NV_WR32(par->riva.PMC, 0x10F0, tmp_pmc); in riva_bl_update_status()