Lines Matching refs:pin_cfg

209 	u8			pin_cfg[ADT7462_PIN_CFG_REG_COUNT];  member
246 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT_MAX()
252 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT_MAX()
256 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT_MAX()
260 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT_MAX()
264 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT_MAX()
268 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT_MAX()
272 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT_MAX()
276 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX()
280 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX()
286 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MAX()
288 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MAX()
292 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MAX()
294 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MAX()
305 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT_MIN()
311 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT_MIN()
315 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT_MIN()
319 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT_MIN()
323 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT_MIN()
327 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT_MIN()
331 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT_MIN()
335 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT_MIN()
339 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT_MIN()
345 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MIN()
347 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MIN()
351 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MIN()
353 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MIN()
364 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT()
370 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT()
374 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT()
378 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT()
382 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT()
386 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT()
390 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT()
394 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT()
398 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT()
404 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT()
406 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT()
410 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT()
412 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT()
424 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in voltage_label()
428 switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { in voltage_label()
440 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in voltage_label()
444 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in voltage_label()
448 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { in voltage_label()
449 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_label()
455 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { in voltage_label()
456 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_label()
462 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in voltage_label()
466 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in voltage_label()
470 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { in voltage_label()
478 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { in voltage_label()
486 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { in voltage_label()
498 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_label()
500 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_label()
504 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_label()
506 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_label()
518 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in voltage_multiplier()
522 switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { in voltage_multiplier()
524 if (data->pin_cfg[0] & ADT7462_VID_INPUT) in voltage_multiplier()
536 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in voltage_multiplier()
540 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in voltage_multiplier()
544 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { in voltage_multiplier()
545 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_multiplier()
551 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { in voltage_multiplier()
552 if (data->pin_cfg[1] & ADT7462_PIN15_INPUT) in voltage_multiplier()
558 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in voltage_multiplier()
562 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in voltage_multiplier()
566 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { in voltage_multiplier()
574 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { in voltage_multiplier()
582 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { in voltage_multiplier()
595 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_multiplier()
597 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_multiplier()
610 if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) in temp_enabled()
614 if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) in temp_enabled()
627 if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) in temp_label()
633 if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) in temp_label()
708 data->pin_cfg[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device()