Lines Matching refs:beep_mask
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()
696 data->beep_mask |= (1 << bitnr); in beep_store()
698 data->beep_mask &= ~(1 << bitnr); in beep_store()
699 gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); in beep_store()
853 data->beep_mask &= data->alarm_mask; in gl520_init_client()
854 gl520_write_value(client, GL520_REG_BEEP_MASK, data->beep_mask); in gl520_init_client()