beep_mask 125 drivers/hwmon/gl518sm.c u8 beep_mask; /* Register value */ beep_mask 163 drivers/hwmon/gl518sm.c data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); beep_mask 252 drivers/hwmon/gl518sm.c show(BEEP_MASK, beep_mask, beep_mask); beep_mask 338 drivers/hwmon/gl518sm.c set(BEEP_MASK, beep_mask, beep_mask, GL518_REG_ALARM); beep_mask 362 drivers/hwmon/gl518sm.c data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); beep_mask 367 drivers/hwmon/gl518sm.c data->beep_mask &= data->alarm_mask; beep_mask 368 drivers/hwmon/gl518sm.c gl518_write_value(client, GL518_REG_ALARM, data->beep_mask); beep_mask 445 drivers/hwmon/gl518sm.c static DEVICE_ATTR(beep_mask, 0644, beep_mask 469 drivers/hwmon/gl518sm.c return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); beep_mask 489 drivers/hwmon/gl518sm.c data->beep_mask = gl518_read_value(client, GL518_REG_ALARM); beep_mask 491 drivers/hwmon/gl518sm.c data->beep_mask |= (1 << bitnr); beep_mask 493 drivers/hwmon/gl518sm.c data->beep_mask &= ~(1 << bitnr); beep_mask 494 drivers/hwmon/gl518sm.c gl518_write_value(client, GL518_REG_ALARM, data->beep_mask); beep_mask 84 drivers/hwmon/gl520sm.c u8 beep_mask; beep_mask 122 drivers/hwmon/gl520sm.c data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); beep_mask 402 drivers/hwmon/gl520sm.c data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); beep_mask 407 drivers/hwmon/gl520sm.c data->beep_mask &= data->alarm_mask; beep_mask 408 drivers/hwmon/gl520sm.c gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); beep_mask 596 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", data->beep_mask); beep_mask 639 drivers/hwmon/gl520sm.c data->beep_mask = r; beep_mask 647 drivers/hwmon/gl520sm.c static DEVICE_ATTR_RW(beep_mask); beep_mask 674 drivers/hwmon/gl520sm.c return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); beep_mask 694 drivers/hwmon/gl520sm.c data->beep_mask = gl520_read_value(client, GL520_REG_BEEP_MASK); beep_mask 696 drivers/hwmon/gl520sm.c data->beep_mask |= (1 << bitnr); beep_mask 698 drivers/hwmon/gl520sm.c data->beep_mask &= ~(1 << bitnr); beep_mask 699 drivers/hwmon/gl520sm.c gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); beep_mask 853 drivers/hwmon/gl520sm.c data->beep_mask &= data->alarm_mask; beep_mask 854 drivers/hwmon/gl520sm.c gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); beep_mask 372 drivers/hwmon/w83627hf.c u32 beep_mask; /* Register encoding, combined */ beep_mask 868 drivers/hwmon/w83627hf.c (long)BEEP_MASK_FROM_REG(data->beep_mask)); beep_mask 886 drivers/hwmon/w83627hf.c data->beep_mask = (data->beep_mask & 0x8000) beep_mask 889 drivers/hwmon/w83627hf.c data->beep_mask & 0xff); beep_mask 891 drivers/hwmon/w83627hf.c ((data->beep_mask) >> 16) & 0xff); beep_mask 893 drivers/hwmon/w83627hf.c (data->beep_mask >> 8) & 0xff); beep_mask 899 drivers/hwmon/w83627hf.c static DEVICE_ATTR_RW(beep_mask); beep_mask 906 drivers/hwmon/w83627hf.c return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); beep_mask 928 drivers/hwmon/w83627hf.c data->beep_mask |= (1 << bitnr); beep_mask 930 drivers/hwmon/w83627hf.c data->beep_mask &= ~(1 << bitnr); beep_mask 1904 drivers/hwmon/w83627hf.c data->beep_mask = (i << 8) | beep_mask 226 drivers/hwmon/w83781d.c u32 beep_mask; /* Register encoding, combined */ beep_mask 486 drivers/hwmon/w83781d.c (long)BEEP_MASK_FROM_REG(data->beep_mask, data->type)); beep_mask 502 drivers/hwmon/w83781d.c data->beep_mask &= 0x8000; /* preserve beep enable */ beep_mask 503 drivers/hwmon/w83781d.c data->beep_mask |= BEEP_MASK_TO_REG(val, data->type); beep_mask 505 drivers/hwmon/w83781d.c data->beep_mask & 0xff); beep_mask 507 drivers/hwmon/w83781d.c (data->beep_mask >> 8) & 0xff); beep_mask 510 drivers/hwmon/w83781d.c ((data->beep_mask) >> 16) & 0xff); beep_mask 517 drivers/hwmon/w83781d.c static DEVICE_ATTR_RW(beep_mask); beep_mask 524 drivers/hwmon/w83781d.c return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); beep_mask 546 drivers/hwmon/w83781d.c data->beep_mask |= (1 << bitnr); beep_mask 548 drivers/hwmon/w83781d.c data->beep_mask &= ~(1 << bitnr); beep_mask 583 drivers/hwmon/w83781d.c return sprintf(buf, "%u\n", (data->beep_mask >> bitnr) & 1); beep_mask 1548 drivers/hwmon/w83781d.c data->beep_mask = (i << 8) + beep_mask 1551 drivers/hwmon/w83781d.c data->beep_mask |= beep_mask 313 drivers/hwmon/w83791d.c u32 beep_mask; /* Mask off specific beeps */ beep_mask 440 drivers/hwmon/w83791d.c return sprintf(buf, "%d\n", (data->beep_mask >> bitnr) & 1); beep_mask 463 drivers/hwmon/w83791d.c data->beep_mask &= ~(0xff << (bytenr * 8)); beep_mask 464 drivers/hwmon/w83791d.c data->beep_mask |= w83791d_read(client, W83791D_REG_BEEP_CTRL[bytenr]) beep_mask 467 drivers/hwmon/w83791d.c data->beep_mask &= ~(1 << bitnr); beep_mask 468 drivers/hwmon/w83791d.c data->beep_mask |= val << bitnr; beep_mask 471 drivers/hwmon/w83791d.c (data->beep_mask >> (bytenr * 8)) & 0xff); beep_mask 1056 drivers/hwmon/w83791d.c return sprintf(buf, "%d\n", BEEP_MASK_FROM_REG(data->beep_mask)); beep_mask 1080 drivers/hwmon/w83791d.c data->beep_mask = BEEP_MASK_TO_REG(val) & ~GLOBAL_BEEP_ENABLE_MASK; beep_mask 1081 drivers/hwmon/w83791d.c data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); beep_mask 1083 drivers/hwmon/w83791d.c val = data->beep_mask; beep_mask 1113 drivers/hwmon/w83791d.c data->beep_mask &= ~GLOBAL_BEEP_ENABLE_MASK; beep_mask 1114 drivers/hwmon/w83791d.c data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); beep_mask 1120 drivers/hwmon/w83791d.c val = (data->beep_mask >> 8) & 0xff; beep_mask 1132 drivers/hwmon/w83791d.c SENSOR_ATTR(beep_mask, S_IRUGO | S_IWUSR, beep_mask 1592 drivers/hwmon/w83791d.c data->beep_mask = beep_mask 1599 drivers/hwmon/w83791d.c (data->beep_mask >> GLOBAL_BEEP_ENABLE_SHIFT) & 0x01; beep_mask 1655 drivers/hwmon/w83791d.c dev_dbg(dev, "beep_mask is: 0x%08x\n", data->beep_mask);