Lines Matching refs:cc2
445 const struct cc2_data *cc2 = data; in cc2_is_visible() local
453 return cc2->rh_alarm.low_alarm_visible ? 0444 : 0; in cc2_is_visible()
455 return cc2->rh_alarm.high_alarm_visible ? 0444 : 0; in cc2_is_visible()
458 return cc2->rh_alarm.low_alarm_visible ? 0644 : 0; in cc2_is_visible()
461 return cc2->rh_alarm.high_alarm_visible ? 0644 : 0; in cc2_is_visible()
481 struct cc2_data *cc2 = data; in cc2_ready_interrupt() local
483 if (cc2->process_irqs) in cc2_ready_interrupt()
484 complete(&cc2->complete); in cc2_ready_interrupt()
491 struct cc2_data *cc2 = data; in cc2_low_interrupt() local
493 if (cc2->process_irqs) { in cc2_low_interrupt()
494 hwmon_notify_event(cc2->hwmon, hwmon_humidity, in cc2_low_interrupt()
496 cc2->rh_alarm.low_alarm = true; in cc2_low_interrupt()
504 struct cc2_data *cc2 = data; in cc2_high_interrupt() local
506 if (cc2->process_irqs) { in cc2_high_interrupt()
507 hwmon_notify_event(cc2->hwmon, hwmon_humidity, in cc2_high_interrupt()
509 cc2->rh_alarm.high_alarm = true; in cc2_high_interrupt()