Home
last modified time | relevance | path

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

/drivers/hwmon/
Dw83793.c243 u8 beeps[5]; member
364 val = (data->beeps[index] >> (bit)) & 1; in show_alarm_beep()
392 data->beeps[index] = w83793_read_value(client, W83793_REG_BEEP(index)); in store_beep()
393 data->beeps[index] &= ~beep_bit; in store_beep()
394 data->beeps[index] |= val << shift; in store_beep()
395 w83793_write_value(client, W83793_REG_BEEP(index), data->beeps[index]); in store_beep()
2017 for (i = 0; i < ARRAY_SIZE(data->beeps); i++) in w83793_update_nonvolatile()
2018 data->beeps[i] = w83793_read_value(client, W83793_REG_BEEP(i)); in w83793_update_nonvolatile()
Dw83795.c380 u8 beeps[6]; /* Register value */ member
513 for (i = 0; i < ARRAY_SIZE(data->beeps); i++) in w83795_update_limits()
514 data->beeps[i] = in w83795_update_limits()
714 val = (data->beeps[index] >> bit) & 1; in show_alarm_beep()
738 data->beeps[index] = w83795_read(client, W83795_REG_BEEP(index)); in store_beep()
739 data->beeps[index] &= ~beep_bit; in store_beep()
740 data->beeps[index] |= val << shift; in store_beep()
741 w83795_write(client, W83795_REG_BEEP(index), data->beeps[index]); in store_beep()
Dnct6775.h122 u64 beeps; member
Dnct6775-core.c1689 data->beeps = 0; in nct6775_update_device()
1698 data->beeps |= ((u64)beep) << (i << 3); in nct6775_update_device()
1819 (unsigned int)((data->beeps >> nr) & 0x01)); in nct6775_show_beep()
1841 data->beeps |= (1ULL << nr); in nct6775_store_beep()
1843 data->beeps &= ~(1ULL << nr); in nct6775_store_beep()
1845 (data->beeps >> (regindex << 3)) & 0xff); in nct6775_store_beep()
1871 beep = (data->beeps >> bit) & 0x01; in show_temp_beep()
1901 data->beeps |= (1ULL << bit); in store_temp_beep()
1903 data->beeps &= ~(1ULL << bit); in store_temp_beep()
1905 (data->beeps >> (regindex << 3)) & 0xff); in store_temp_beep()
Dit87.c609 u8 beeps; /* Register encoding */ member
954 data->beeps = it87_read_value(data, IT87_REG_BEEP_ENABLE); in it87_update_device()
2140 return sprintf(buf, "%u\n", (data->beeps >> bitnr) & 1); in show_beep()
2158 data->beeps = it87_read_value(data, IT87_REG_BEEP_ENABLE); in set_beep()
2160 data->beeps |= BIT(bitnr); in set_beep()
2162 data->beeps &= ~BIT(bitnr); in set_beep()
2163 it87_write_value(data, IT87_REG_BEEP_ENABLE, data->beeps); in set_beep()