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

/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_backlight.c54 u32 tmp_pcrt, tmp_pmc, fpcontrol; nvidia_bl_update_status() local
66 tmp_pmc = NV_RD32(par->PMC, 0x10F0) & 0x0000FFFF; nvidia_bl_update_status()
72 tmp_pmc |= (1 << 31); /* backlight bit */ nvidia_bl_update_status()
73 tmp_pmc |= nvidia_bl_get_level_brightness(par, level) << 16; nvidia_bl_update_status()
79 NV_WR32(par->PMC, 0x10F0, tmp_pmc); nvidia_bl_update_status()
/linux-4.1.27/drivers/video/fbdev/riva/
H A Dfbdev.c303 U032 tmp_pcrt, tmp_pmc; riva_bl_update_status() local
312 tmp_pmc = NV_RD32(par->riva.PMC, 0x10F0) & 0x0000FFFF; riva_bl_update_status()
316 tmp_pmc |= (1 << 31); /* backlight bit */ riva_bl_update_status()
317 tmp_pmc |= riva_bl_get_level_brightness(par, level) << 16; /* level */ riva_bl_update_status()
320 NV_WR32(par->riva.PMC, 0x10F0, tmp_pmc); riva_bl_update_status()

Completed in 90 milliseconds