• Home
  • Raw
  • Download

Lines Matching refs:pin_cfg

222 	u8			pin_cfg[ADT7462_PIN_CFG_REG_COUNT];  member
259 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT_MAX()
265 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT_MAX()
269 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT_MAX()
273 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT_MAX()
277 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT_MAX()
281 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT_MAX()
285 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT_MAX()
289 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX()
293 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT_MAX()
299 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MAX()
301 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MAX()
305 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MAX()
307 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MAX()
318 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT_MIN()
324 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT_MIN()
328 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT_MIN()
332 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT_MIN()
336 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT_MIN()
340 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT_MIN()
344 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT_MIN()
348 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT_MIN()
352 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT_MIN()
358 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MIN()
360 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MIN()
364 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT_MIN()
366 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT_MIN()
377 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in ADT7462_REG_VOLT()
383 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in ADT7462_REG_VOLT()
387 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in ADT7462_REG_VOLT()
391 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) in ADT7462_REG_VOLT()
395 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) in ADT7462_REG_VOLT()
399 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in ADT7462_REG_VOLT()
403 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in ADT7462_REG_VOLT()
407 if (!(data->pin_cfg[2] & ADT7462_PIN26_VOLT_INPUT)) in ADT7462_REG_VOLT()
411 if (!(data->pin_cfg[2] & ADT7462_PIN25_VOLT_INPUT)) in ADT7462_REG_VOLT()
417 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT()
419 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT()
423 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in ADT7462_REG_VOLT()
425 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in ADT7462_REG_VOLT()
437 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in voltage_label()
441 switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { in voltage_label()
452 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in voltage_label()
456 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in voltage_label()
460 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { in voltage_label()
461 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_label()
467 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { in voltage_label()
468 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_label()
474 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in voltage_label()
478 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in voltage_label()
482 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { in voltage_label()
490 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { in voltage_label()
498 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { in voltage_label()
509 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_label()
511 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_label()
515 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_label()
517 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_label()
529 if (!(data->pin_cfg[0] & ADT7462_PIN7_INPUT)) in voltage_multiplier()
533 switch (MASK_AND_SHIFT(data->pin_cfg[1], ADT7462_PIN23)) { in voltage_multiplier()
535 if (data->pin_cfg[0] & ADT7462_VID_INPUT) in voltage_multiplier()
546 if (!(data->pin_cfg[1] & ADT7462_PIN22_INPUT)) in voltage_multiplier()
550 if (!(data->pin_cfg[1] & ADT7462_PIN21_INPUT)) in voltage_multiplier()
554 if (!(data->pin_cfg[0] & ADT7462_DIODE3_INPUT)) { in voltage_multiplier()
555 if (data->pin_cfg[1] & ADT7462_PIN19_INPUT) in voltage_multiplier()
561 if (!(data->pin_cfg[0] & ADT7462_DIODE1_INPUT)) { in voltage_multiplier()
562 if (data->pin_cfg[1] & ADT7462_PIN15_INPUT) in voltage_multiplier()
568 if (!(data->pin_cfg[1] & ADT7462_PIN13_INPUT)) in voltage_multiplier()
572 if (!(data->pin_cfg[1] & ADT7462_PIN8_INPUT)) in voltage_multiplier()
576 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN26)) { in voltage_multiplier()
584 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN25)) { in voltage_multiplier()
592 switch (MASK_AND_SHIFT(data->pin_cfg[2], ADT7462_PIN24)) { in voltage_multiplier()
604 if (data->pin_cfg[3] >> ADT7462_PIN28_SHIFT == in voltage_multiplier()
606 !(data->pin_cfg[0] & ADT7462_VID_INPUT)) in voltage_multiplier()
619 if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) in temp_enabled()
623 if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) in temp_enabled()
636 if (data->pin_cfg[0] & ADT7462_DIODE1_INPUT) in temp_label()
642 if (data->pin_cfg[0] & ADT7462_DIODE3_INPUT) in temp_label()
717 data->pin_cfg[i] = i2c_smbus_read_byte_data(client, in adt7462_update_device()