Searched refs:beep_mask (Results 1 – 7 of 7) sorted by relevance
/linux-3.4.99/Documentation/hwmon/ |
D | w83791d | 93 method of a single sysfs beep_mask file to a newer method using multiple 104 responsible for handling the fact that the alarms and beep_mask bitmaps 135 Alarms bitmap vs. beep_mask bitmask 137 For legacy code using the alarms and beep_mask files: 139 in0 (VCORE) : alarms: 0x000001 beep_mask: 0x000001 140 in1 (VINR0) : alarms: 0x000002 beep_mask: 0x002000 <== mismatch 141 in2 (+3.3VIN): alarms: 0x000004 beep_mask: 0x000004 142 in3 (5VDD) : alarms: 0x000008 beep_mask: 0x000008 143 in4 (+12VIN) : alarms: 0x000100 beep_mask: 0x000100 144 in5 (-12VIN) : alarms: 0x000200 beep_mask: 0x000200 [all …]
|
D | sysfs-interface | 669 beep_mask Bitmask for beep.
|
/linux-3.4.99/drivers/hwmon/ |
D | gl518sm.c | 136 u8 beep_mask; /* Register value */ member 198 show(BEEP_MASK, beep_mask, beep_mask); 284 set(BEEP_MASK, beep_mask, beep_mask, GL518_REG_ALARM); 307 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in set_fan_min() 312 data->beep_mask &= data->alarm_mask; in set_fan_min() 313 gl518_write_value(client, GL518_REG_ALARM, data->beep_mask); in set_fan_min() 392 static DEVICE_ATTR(beep_mask, S_IWUSR|S_IRUGO, 416 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 436 data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); in set_beep() 438 data->beep_mask |= (1 << bitnr); in set_beep() [all …]
|
D | gl520sm.c | 129 u8 beep_mask; member 354 data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); in set_fan_min() 359 data->beep_mask &= data->alarm_mask; in set_fan_min() 360 gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); in set_fan_min() 553 return sprintf(buf, "%d\n", data->beep_mask); in get_beep_mask() 594 data->beep_mask = r; in set_beep_mask() 603 static DEVICE_ATTR(beep_mask, S_IRUGO | S_IWUSR, 631 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in get_beep() 651 data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); in set_beep() 653 data->beep_mask |= (1 << bitnr); in set_beep() [all …]
|
D | w83791d.c | 329 u32 beep_mask; /* Mask off specific beeps */ member 456 return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); in show_beep() 479 data->beep_mask &= ~(0xff << (bytenr * 8)); in store_beep() 480 data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) in store_beep() 483 data->beep_mask &= ~(1 << bitnr); in store_beep() 484 data->beep_mask |= val << bitnr; in store_beep() 487 (data->beep_mask >> (bytenr * 8)) & 0xff); in store_beep() 1072 return sprintf(buf, "%d\n", BEEP_MASK_FROM_REG(data->beep_mask)); in show_beep_mask() 1096 data->beep_mask = BEEP_MASK_TO_REG(val) & ~GLOBAL_BEEP_ENABLE_MASK; in store_beep_mask() 1097 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_mask() [all …]
|
D | w83781d.c | 240 u32 beep_mask; /* Register encoding, combined */ member 500 (long)BEEP_MASK_FROM_REG(data->beep_mask, data->type)); in show_beep_mask() 516 data->beep_mask &= 0x8000; /* preserve beep enable */ in store_beep_mask() 517 data->beep_mask |= BEEP_MASK_TO_REG(val, data->type); in store_beep_mask() 519 data->beep_mask & 0xff); in store_beep_mask() 521 (data->beep_mask >> 8) & 0xff); in store_beep_mask() 524 ((data->beep_mask) >> 16) & 0xff); in store_beep_mask() 531 static DEVICE_ATTR(beep_mask, S_IRUGO | S_IWUSR, 539 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 561 data->beep_mask |= (1 << bitnr); in store_beep() [all …]
|
D | w83627hf.c | 380 u32 beep_mask; /* Register encoding, combined */ member 795 (long)BEEP_MASK_FROM_REG(data->beep_mask)); in show_beep_mask() 813 data->beep_mask = (data->beep_mask & 0x8000) in store_beep_mask() 816 data->beep_mask & 0xff); in store_beep_mask() 818 ((data->beep_mask) >> 16) & 0xff); in store_beep_mask() 820 (data->beep_mask >> 8) & 0xff); in store_beep_mask() 826 static DEVICE_ATTR(beep_mask, S_IRUGO | S_IWUSR, 834 return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); in show_beep() 856 data->beep_mask |= (1 << bitnr); in store_beep() 858 data->beep_mask &= ~(1 << bitnr); in store_beep() [all …]
|