Lines Matching defs:internal
287 #define FEAT_IN7_INTERNAL BIT(10) /* Set if in7 is internal */
499 u8 internal; /* Internal sensors can be labeled */
528 u16 in_internal; /* Bitfield, internal sensors (for labels) */
2495 /* in7 (VSB or VCCH5V) is always internal on some chips */
2497 sio_data->internal |= BIT(1);
2499 /* in8 (Vbat) is always internal */
2500 sio_data->internal |= BIT(2);
2502 /* in9 (AVCC3), always internal if supported */
2504 sio_data->internal |= BIT(3); /* in9 is AVCC */
2561 * internal voltage divider for VCCH5V. It says
2563 * internal voltage divider for VCCH5V".
2564 * This is different to other chips, where the internal
2565 * voltage divider would connect VIN7 to an internal
2577 pr_notice("Routing internal VCCH5V to in7.\n");
2579 pr_notice("in7 routed to internal voltage divider, with external pin disabled.\n");
2584 sio_data->internal |= BIT(0);
2586 sio_data->internal |= BIT(1);
2659 sio_data->internal |= BIT(0);
2764 * routed internally to VIN7 with an internal divider.
2769 * that the internal routing of VCCH5V to VIN7 is the default
2770 * setting. So we force the internal routing in this case.
2773 * If UART6 is enabled, re-route VIN7 to the internal divider
2780 pr_notice("Routing internal VCCH5V to in7\n");
2783 sio_data->internal |= BIT(0);
2785 sio_data->internal |= BIT(1);
2789 * While VIN7 can be routed to the internal voltage divider,
3102 /* Starting with IT8721F, we handle scaling of internal voltages */
3104 if (sio_data->internal & BIT(0))
3106 if (sio_data->internal & BIT(1))
3108 if (sio_data->internal & BIT(2))
3110 if (sio_data->internal & BIT(3))
3114 if (sio_data->internal & BIT(0))
3116 if (sio_data->internal & BIT(1))
3127 data->in_internal = sio_data->internal;
3206 "Routing internal VCCH5V to in7 again");