Searched refs:alarm_mask (Results 1 – 7 of 7) sorted by relevance
/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 122 return (bool)(xadc->alarm_mask & xadc_get_alarm_mask(chan)); in xadc_read_event_config() 137 xadc->alarm_mask |= alarm; in xadc_write_event_config() 139 xadc->alarm_mask &= ~alarm; in xadc_write_event_config() 141 xadc->ops->update_alarm(xadc, xadc->alarm_mask); in xadc_write_event_config() 149 cfg &= ~((xadc->alarm_mask & 0xf0) << 4); /* bram, pint, paux, ddr */ in xadc_write_event_config() 150 cfg &= ~((xadc->alarm_mask & 0x08) >> 3); /* ot */ in xadc_write_event_config() 151 cfg &= ~((xadc->alarm_mask & 0x07) << 1); /* temp, vccint, vccaux */ in xadc_write_event_config()
|
D | xilinx-xadc.h | 53 unsigned int alarm_mask; member
|
/drivers/hwmon/ |
D | gl520sm.c | 99 u8 alarm_mask; member 168 data->alarms &= data->alarm_mask; in gl520_update_device() 427 data->alarm_mask &= (n == 0) ? ~0x20 : ~0x40; in set_fan_min() 429 data->alarm_mask |= (n == 0) ? 0x20 : 0x40; in set_fan_min() 430 data->beep_mask &= data->alarm_mask; in set_fan_min() 664 r &= data->alarm_mask; in set_beep_mask() 855 data->alarm_mask = 0xff; in gl520_init_client() 877 data->alarm_mask &= ~0x20; in gl520_init_client() 879 data->alarm_mask &= ~0x40; in gl520_init_client() 881 data->beep_mask &= data->alarm_mask; in gl520_init_client()
|
D | gl518sm.c | 112 #define BEEP_MASK_TO_REG(val) ((val) & 0x7f & data->alarm_mask) 136 u8 alarm_mask; member 209 data->alarms &= data->alarm_mask; in gl518_update_device() 375 data->alarm_mask &= ~(0x20 << nr); in set_fan_min() 377 data->alarm_mask |= (0x20 << nr); in set_fan_min() 378 data->beep_mask &= data->alarm_mask; in set_fan_min() 646 data->alarm_mask = 0xff; in gl518_probe()
|
D | adm1026.c | 293 long alarm_mask; /* Register encoding, combined */ member 436 data->alarm_mask = alarms; in adm1026_update_device() 1147 return sprintf(buf, "%ld\n", data->alarm_mask); in show_alarm_mask() 1163 data->alarm_mask = val & 0x7fffffff; in set_alarm_mask() 1164 mask = data->alarm_mask in set_alarm_mask() 1181 static DEVICE_ATTR(alarm_mask, S_IRUGO | S_IWUSR, show_alarm_mask, 1243 mask = ((mask >> 1) & 0x80) | (data->alarm_mask >> 24 & 0x7f); in set_gpio_mask()
|
D | adt7470.c | 1015 static DEVICE_ATTR(alarm_mask, S_IWUSR | S_IRUGO, show_alarm_mask,
|
/drivers/net/ethernet/sfc/ |
D | falcon_boards.c | 564 unsigned alarm_mask = in sfe4002_check_hw() local 568 return efx_check_lm87(efx, alarm_mask); in sfe4002_check_hw() 697 unsigned alarm_mask = in sfe4003_check_hw() local 701 return efx_check_lm87(efx, alarm_mask); in sfe4003_check_hw()
|