Lines Matching refs:index
754 int nr = to_sensor_dev_attr(attr)->index - INTRUSION_ALARM_BASE;
801 struct attribute *attr, int index)
806 if (index == 0 && !data->have_vid)
809 if (index == 1 || index == 2) {
810 if (data->ALARM_BITS[INTRUSION_ALARM_BASE + index - 1] < 0)
814 if (index == 3 || index == 4) {
815 if (data->BEEP_BITS[INTRUSION_ALARM_BASE + index - 3] < 0)
823 * nct6775_other_is_visible uses the index into the following array