Lines Matching refs:b_nvram
6619 u8 b_nvram; in tpacpi_brightness_checkpoint_nvram() local
6633 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6635 if (lec != ((b_nvram & TP_NVRAM_MASK_LEVEL_BRIGHTNESS) in tpacpi_brightness_checkpoint_nvram()
6638 b_nvram &= ~(TP_NVRAM_MASK_LEVEL_BRIGHTNESS << in tpacpi_brightness_checkpoint_nvram()
6640 b_nvram |= lec; in tpacpi_brightness_checkpoint_nvram()
6641 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_BRIGHTNESS); in tpacpi_brightness_checkpoint_nvram()
6644 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
6648 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_brightness_checkpoint_nvram()
7215 u8 b_nvram; in tpacpi_volume_checkpoint_nvram() local
7239 b_nvram = nvram_read_byte(TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
7241 if (lec != (b_nvram & ec_mask)) { in tpacpi_volume_checkpoint_nvram()
7243 b_nvram &= ~ec_mask; in tpacpi_volume_checkpoint_nvram()
7244 b_nvram |= lec; in tpacpi_volume_checkpoint_nvram()
7245 nvram_write_byte(b_nvram, TP_NVRAM_ADDR_MIXER); in tpacpi_volume_checkpoint_nvram()
7248 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()
7252 (unsigned int) lec, (unsigned int) b_nvram); in tpacpi_volume_checkpoint_nvram()