Searched refs:nom_mv (Results 1 - 2 of 2) sorted by path
/drivers/hwmon/ |
H A D | adm9240.c | 92 static const u16 nom_mv[] = { 2500, 2700, 3300, 5000, 12000, 2700 }; variable 96 return SCALE(reg, nom_mv[n], 192); 101 return clamp_val(SCALE(val, 192, nom_mv[n]), 0, 255);
|
H A D | smsc47m192.c | 71 static const u16 nom_mv[] = { 2500, 2250, 3300, 5000, 12000, 3300, 1500, 1800 }; variable 75 return SCALE(reg, nom_mv[n], 192); 80 return clamp_val(SCALE(val, 192, nom_mv[n]), 0, 255);
|
Completed in 38 milliseconds