Searched refs:alarm_mask (Results 1 – 7 of 7) sorted by relevance
/drivers/iio/adc/ |
D | xilinx-xadc-events.c | 119 return (bool)(xadc->alarm_mask & xadc_get_alarm_mask(chan)); in xadc_read_event_config() 134 xadc->alarm_mask |= alarm; in xadc_write_event_config() 136 xadc->alarm_mask &= ~alarm; in xadc_write_event_config() 138 xadc->ops->update_alarm(xadc, xadc->alarm_mask); in xadc_write_event_config() 146 cfg &= ~((xadc->alarm_mask & 0xf0) << 4); /* bram, pint, paux, ddr */ in xadc_write_event_config() 147 cfg &= ~((xadc->alarm_mask & 0x08) >> 3); /* ot */ in xadc_write_event_config() 148 cfg &= ~((xadc->alarm_mask & 0x07) << 1); /* temp, vccint, vccaux */ in xadc_write_event_config()
|
D | xilinx-xadc.h | 52 unsigned int alarm_mask; member
|
/drivers/hwmon/ |
D | gl520sm.c | 85 u8 alarm_mask; member 154 data->alarms &= data->alarm_mask; in gl520_update_device() 404 data->alarm_mask &= (n == 0) ? ~0x20 : ~0x40; in fan_min_store() 406 data->alarm_mask |= (n == 0) ? 0x20 : 0x40; in fan_min_store() 407 data->beep_mask &= data->alarm_mask; in fan_min_store() 638 r &= data->alarm_mask; in beep_mask_store() 827 data->alarm_mask = 0xff; in gl520_init_client() 849 data->alarm_mask &= ~0x20; in gl520_init_client() 851 data->alarm_mask &= ~0x40; in gl520_init_client() 853 data->beep_mask &= data->alarm_mask; in gl520_init_client()
|
D | gl518sm.c | 100 #define BEEP_MASK_TO_REG(val) ((val) & 0x7f & data->alarm_mask) 124 u8 alarm_mask; member 197 data->alarms &= data->alarm_mask; in gl518_update_device() 364 data->alarm_mask &= ~(0x20 << nr); in fan_min_store() 366 data->alarm_mask |= (0x20 << nr); in fan_min_store() 367 data->beep_mask &= data->alarm_mask; in fan_min_store() 631 data->alarm_mask = 0xff; in gl518_probe()
|
D | adm1026.c | 282 long alarm_mask; /* Register encoding, combined */ member 425 data->alarm_mask = alarms; in adm1026_update_device() 1158 return sprintf(buf, "%ld\n", data->alarm_mask); in alarm_mask_show() 1175 data->alarm_mask = val & 0x7fffffff; in alarm_mask_store() 1176 mask = data->alarm_mask in alarm_mask_store() 1193 static DEVICE_ATTR_RW(alarm_mask); 1255 mask = ((mask >> 1) & 0x80) | (data->alarm_mask >> 24 & 0x7f); in gpio_mask_store()
|
D | adt7470.c | 979 static DEVICE_ATTR_RW(alarm_mask);
|
/drivers/net/ethernet/sfc/falcon/ |
D | falcon_boards.c | 561 unsigned alarm_mask = in sfe4002_check_hw() local 565 return ef4_check_lm87(efx, alarm_mask); in sfe4002_check_hw() 694 unsigned alarm_mask = in sfe4003_check_hw() local 698 return ef4_check_lm87(efx, alarm_mask); in sfe4003_check_hw()
|