Searched refs:beep_mask (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | gl518sm.c | 125 u8 beep_mask; /* Register value */ member 163 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in gl518_update_device() 252 show(BEEP_MASK, beep_mask, beep_mask); 338 set(BEEP_MASK, beep_mask, beep_mask, GL518_REG_ALARM); 362 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in fan_min_store() 367 data->beep_mask &= data->alarm_mask; in fan_min_store() 368 gl518_write_value(client, GL518_REG_ALARM, data->beep_mask); in fan_min_store() 445 static DEVICE_ATTR(beep_mask, 0644, 469 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in beep_show() 489 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in beep_store() [all …]
|
D | gl520sm.c | 84 u8 beep_mask; member 122 data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); in gl520_update_device() 402 data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); in fan_min_store() 407 data->beep_mask &= data->alarm_mask; in fan_min_store() 408 gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); in fan_min_store() 596 return sprintf(buf, "%d\n", data->beep_mask); in beep_mask_show() 639 data->beep_mask = r; in beep_mask_store() 647 static DEVICE_ATTR_RW(beep_mask); 674 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in beep_show() 694 data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); in beep_store() [all …]
|
D | w83791d.c | 310 u32 beep_mask; /* Mask off specific beeps */ member 436 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in show_beep() 459 data->beep_mask &= ~(0xff << (bytenr * 8)); in store_beep() 460 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) in store_beep() 463 data->beep_mask &= ~(1 << bitnr); in store_beep() 464 data->beep_mask |= val << bitnr; in store_beep() 467 (data->beep_mask >> (bytenr * 8)) & 0xff); in store_beep() 1052 return sprintf(buf, "%d\n", BEEP_MASK_FROM_REG(data->beep_mask)); in show_beep_mask() 1076 data->beep_mask = BEEP_MASK_TO_REG(val) & ~GLOBAL_BEEP_ENABLE_MASK; in store_beep_mask() 1077 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_mask() [all …]
|
D | w83781d.c | 226 u32 beep_mask; /* Register encoding, combined */ member 486 (long)BEEP_MASK_FROM_REG(data->beep_mask, data->type)); in beep_mask_show() 502 data->beep_mask &= 0x8000; /* preserve beep enable */ in beep_mask_store() 503 data->beep_mask |= BEEP_MASK_TO_REG(val, data->type); in beep_mask_store() 505 data->beep_mask & 0xff); in beep_mask_store() 507 (data->beep_mask >> 8) & 0xff); in beep_mask_store() 510 ((data->beep_mask) >> 16) & 0xff); in beep_mask_store() 517 static DEVICE_ATTR_RW(beep_mask); 524 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 546 data->beep_mask |= (1 << bitnr); in store_beep() [all …]
|
D | w83627hf.c | 372 u32 beep_mask; /* Register encoding, combined */ member 868 (long)BEEP_MASK_FROM_REG(data->beep_mask)); in beep_mask_show() 886 data->beep_mask = (data->beep_mask & 0x8000) in beep_mask_store() 889 data->beep_mask & 0xff); in beep_mask_store() 891 ((data->beep_mask) >> 16) & 0xff); in beep_mask_store() 893 (data->beep_mask >> 8) & 0xff); in beep_mask_store() 899 static DEVICE_ATTR_RW(beep_mask); 906 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in beep_show() 928 data->beep_mask |= (1 << bitnr); in beep_store() 930 data->beep_mask &= ~(1 << bitnr); in beep_store() [all …]
|
/kernel/linux/linux-5.10/Documentation/hwmon/ |
D | w83791d.rst | 104 method of a single sysfs beep_mask file to a newer method using multiple 115 responsible for handling the fact that the alarms and beep_mask bitmaps 149 Alarms bitmap vs. beep_mask bitmask 152 For legacy code using the alarms and beep_mask files: 155 Signal Alarms beep_mask Obs
|
D | sysfs-interface.rst | 1051 `beep_mask`
|