Lines Matching refs:beep_mask
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()
1099 val = data->beep_mask; in store_beep_mask()
1129 data->beep_mask &= ~GLOBAL_BEEP_ENABLE_MASK; in store_beep_enable()
1130 data->beep_mask |= (data->beep_enable << GLOBAL_BEEP_ENABLE_SHIFT); in store_beep_enable()
1136 val = (data->beep_mask >> 8) & 0xff; in store_beep_enable()
1148 SENSOR_ATTR(beep_mask, S_IRUGO | S_IWUSR,
1630 data->beep_mask = in w83791d_update_device()
1637 (data->beep_mask >> GLOBAL_BEEP_ENABLE_SHIFT) & 0x01; in w83791d_update_device()
1693 dev_dbg(dev, "beep_mask is: 0x%08x\n", data->beep_mask); in w83791d_print_debug()