Home | History | Annotate | Download | only in envstat

Lines Matching defs:max_value

72 	int32_t	max_value;
727 sensor->max_value = prop_number_signed_value(obj1);
1119 /* Print percentage of max_value */
1122 if (sensor->max_value) { \
1124 ((a) * 100.0) / sensor->max_value); \
1298 /* Print percentage of max_value */
1301 if ((a) && sensor->max_value) { \
1303 ((a) * 100.0) / sensor->max_value); \
1349 if (sensor->percentage && sensor->max_value) {
1352 sensor->max_value);
1527 /* Print percentage of max_value */
1530 if ((a) && sensor->max_value) { \
1532 (int64_t)((a) * 100.0) / sensor->max_value); \
1699 if (sensor->percentage && sensor->max_value) {
1702 (sensor->cur_value * 100.0) / sensor->max_value);