Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/platform/x86/
Dthinkpad_acpi.c6669 u8 b_nvram; in tpacpi_brightness_checkpoint_nvram() local
6683 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6685 if (lec != ((b_nvram & TP_NVRAM_MASK_LEVEL_BRIGHTNESS) in tpacpi_brightness_checkpoint_nvram()
6688 b_nvram &= ~(TP_NVRAM_MASK_LEVEL_BRIGHTNESS << in tpacpi_brightness_checkpoint_nvram()
6690 b_nvram |= lec; in tpacpi_brightness_checkpoint_nvram()
6691 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6694 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
6698 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
7271 u8 b_nvram; in tpacpi_volume_checkpoint_nvram() local
7295 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
[all …]