Home
last modified time | relevance | path

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

/Linux-v5.4/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.c312 u8 beep_enable; /* Global beep enable */ member
1049 return sprintf(buf, "%d\n", data->beep_enable); in show_beep_enable()
1081 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_mask()
1110 data->beep_enable = val ? 1 : 0; in store_beep_enable()
1114 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_enable()
1130 SENSOR_ATTR(beep_enable, S_IRUGO | S_IWUSR,
1598 data->beep_enable = in w83791d_update_device()
1656 dev_dbg(dev, "beep_enable is: %d\n", data->beep_enable); in w83791d_print_debug()
Dw83793.c245 u8 beep_enable; member
407 return sprintf(buf, "%u\n", (data->beep_enable >> 1) & 0x01); in show_beep_enable()
427 data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP) in store_beep_enable()
429 data->beep_enable |= val << 1; in store_beep_enable()
430 w83793_write_value(client, W83793_REG_OVT_BEEP, data->beep_enable); in store_beep_enable()
1164 SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_beep_enable,
2022 data->beep_enable = w83793_read_value(client, W83793_REG_OVT_BEEP); in w83793_update_nonvolatile()
Dnct6683.c1098 static DEVICE_ATTR_RW(beep_enable);
Dw83781d.c616 static SENSOR_DEVICE_ATTR(beep_enable, S_IRUGO | S_IWUSR,
Dw83627hf.c974 static SENSOR_DEVICE_ATTR_RW(beep_enable, beep, 15);
Dw83795.c1848 SENSOR_ATTR_2(beep_enable, S_IWUSR | S_IRUGO, show_alarm_beep,
Dnct6775.c3456 static SENSOR_DEVICE_ATTR(beep_enable, S_IWUSR | S_IRUGO, show_beep,
/Linux-v5.4/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.rst938 `beep_enable`