Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/platform/x86/
Dthinkpad_acpi.c6552 u8 b_nvram; in tpacpi_brightness_checkpoint_nvram() local
6566 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6568 if (lec != ((b_nvram & TP_NVRAM_MASK_LEVEL_BRIGHTNESS) in tpacpi_brightness_checkpoint_nvram()
6571 b_nvram &= ~(TP_NVRAM_MASK_LEVEL_BRIGHTNESS << in tpacpi_brightness_checkpoint_nvram()
6573 b_nvram |= lec; in tpacpi_brightness_checkpoint_nvram()
6574 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6577 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
6581 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
7155 u8 b_nvram; in tpacpi_volume_checkpoint_nvram() local
7179 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
[all …]