Lines Matching refs:b_nvram
6669 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()
7297 if (lec != (b_nvram & ec_mask)) { in tpacpi_volume_checkpoint_nvram()
7299 b_nvram &= ~ec_mask; in tpacpi_volume_checkpoint_nvram()
7300 b_nvram |= lec; in tpacpi_volume_checkpoint_nvram()
7301 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
7304 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()
7308 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()