Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hwmon/
Dgl518sm.c126 u8 beep_enable; /* Boolean */ member
200 data->beep_enable = (val >> 2) & 1; in gl518_update_device()
251 show(BOOL, beep_enable, beep_enable);
337 set_bits(BOOL, beep_enable, beep_enable, GL518_REG_CONF, 0x04, 2);
443 static DEVICE_ATTR(beep_enable, 0644,
Dgl520sm.c83 u8 beep_enable; member
157 data->beep_enable = !((val >> 2) & 1); in gl520_update_device()
589 return sprintf(buf, "%d\n", data->beep_enable); in beep_enable_show()
616 data->beep_enable = !r; in beep_enable_store()
646 static DEVICE_ATTR_RW(beep_enable);
Dw83791d.c309 u8 beep_enable; /* Global beep enable */ member
1045 return sprintf(buf, "%d\n", data->beep_enable); in show_beep_enable()
1077 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_mask()
1106 data->beep_enable = val ? 1 : 0; in store_beep_enable()
1110 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_enable()
1126 SENSOR_ATTR(beep_enable, S_IRUGO | S_IWUSR,
1587 data->beep_enable = in w83791d_update_device()
1645 dev_dbg(dev, "beep_enable is: %d\n", data->beep_enable); in w83791d_print_debug()
Dw83793.c244 u8 beep_enable; member
405 return sprintf(buf, "%u\n", (data->beep_enable >> 1) & 0x01); in show_beep_enable()
425 data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP) in store_beep_enable()
427 data->beep_enable |= val << 1; in store_beep_enable()
428 w83793_write_value(client, W83793_REG_OVT_BEEP, data->beep_enable); in store_beep_enable()
1162 SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_beep_enable,
2015 data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP); in w83793_update_nonvolatile()
Dnct6775-platform.c757 static SENSOR_DEVICE_ATTR(beep_enable, 0644, nct6775_show_beep,
Dnct6683.c1098 static DEVICE_ATTR_RW(beep_enable);
Dw83627hf.c1004 static SENSOR_DEVICE_ATTR_RW(beep_enable, beep, 15);
Dw83781d.c616 static SENSOR_DEVICE_ATTR(beep_enable, S_IRUGO | S_IWUSR,
Dw83795.c1848 SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_alarm_beep,
/linux-6.1.9/Documentation/hwmon/
Dw83791d.rst100 The sysfs interface to the global enable is via the sysfs beep_enable file.
179 global_enable - 0x800000 (modified via beep_enable)
Dsysfs-interface.rst554 `beep_enable`