Lines Matching refs:b_nvram
6552 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()
7181 if (lec != (b_nvram & ec_mask)) { in tpacpi_volume_checkpoint_nvram()
7183 b_nvram &= ~ec_mask; in tpacpi_volume_checkpoint_nvram()
7184 b_nvram |= lec; in tpacpi_volume_checkpoint_nvram()
7185 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
7188 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()
7192 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()