Lines Matching full:rsense
39 * The rsense value used in MBR formula in LTC4286 datasheet should be ohm unit.
40 * However, the rsense value that user input is micro ohm.
41 * Thus, the MBR setting which involves rsense should be shifted by 6 digits.
47 * The rsense value used in MBR formula in LTC4286 datasheet should be ohm unit.
48 * However, the rsense value that user input is micro ohm.
49 * Thus, the MBR setting which involves rsense should be shifted by 6 digits.
73 u32 rsense; in ltc4286_probe() local
107 "shunt-resistor-micro-ohms", &rsense)) in ltc4286_probe()
108 rsense = 300; /* 0.3 mOhm if not set via DT */ in ltc4286_probe()
110 if (rsense == 0) in ltc4286_probe()
114 if (rsense > (INT_MAX / 1024)) in ltc4286_probe()
135 info->m[PSC_POWER] = 4 * rsense; in ltc4286_probe()
140 info->m[PSC_POWER] = rsense; in ltc4286_probe()
151 info->m[PSC_CURRENT_OUT] = 1024 * rsense; in ltc4286_probe()