Lines Matching defs:internal

308 #define FEAT_IN7_INTERNAL	BIT(10)	/* Set if in7 is internal */
559 u8 internal; /* Internal sensors can be labeled */
593 u16 in_internal; /* Bitfield, internal sensors (for labels) */
2790 /* in7 (VSB or VCCH5V) is always internal on some chips */
2792 sio_data->internal |= BIT(1);
2794 /* in8 (Vbat) is always internal */
2795 sio_data->internal |= BIT(2);
2797 /* in9 (AVCC3), always internal if supported */
2799 sio_data->internal |= BIT(3); /* in9 is AVCC */
2858 * internal voltage divider for VCCH5V. It says
2860 * internal voltage divider for VCCH5V".
2861 * This is different to other chips, where the internal
2862 * voltage divider would connect VIN7 to an internal
2874 pr_notice("Routing internal VCCH5V to in7.\n");
2876 pr_notice("in7 routed to internal voltage divider, with external pin disabled.\n");
2881 sio_data->internal |= BIT(0);
2883 sio_data->internal |= BIT(1);
2956 sio_data->internal |= BIT(0);
3023 sio_data->internal |= BIT(0);
3089 * routed internally to VIN7 with an internal divider.
3094 * that the internal routing of VCCH5V to VIN7 is the default
3095 * setting. So we force the internal routing in this case.
3098 * If UART6 is enabled, re-route VIN7 to the internal divider
3105 pr_notice("Routing internal VCCH5V to in7\n");
3108 sio_data->internal |= BIT(0);
3110 sio_data->internal |= BIT(1);
3114 * While VIN7 can be routed to the internal voltage divider,
3428 /* Starting with IT8721F, we handle scaling of internal voltages */
3430 if (sio_data->internal & BIT(0))
3432 if (sio_data->internal & BIT(1))
3434 if (sio_data->internal & BIT(2))
3436 if (sio_data->internal & BIT(3))
3440 if (sio_data->internal & BIT(0))
3442 if (sio_data->internal & BIT(1))
3453 data->in_internal = sio_data->internal;
3536 "Routing internal VCCH5V to in7 again");