Home
last modified time | relevance | path

Searched refs:amps (Results 1 – 5 of 5) sorted by relevance

/drivers/macintosh/
Dwindfarm_smu_sensors.c275 struct wf_sensor *amps; member
290 if (pow->amps) in smu_cpu_power_release()
291 wf_put_sensor(pow->amps); in smu_cpu_power_release()
298 s32 volts, amps, power; in smu_cpu_power_get() local
302 rc = pow->amps->ops->get_value(pow->amps, &amps); in smu_cpu_power_get()
307 *value = amps * 12 - 0x30000; in smu_cpu_power_get()
315 power = (s32)((((u64)volts) * ((u64)amps)) >> 16); in smu_cpu_power_get()
336 smu_cpu_power_create(struct wf_sensor *volts, struct wf_sensor *amps) in smu_cpu_power_create() argument
348 wf_get_sensor(amps); in smu_cpu_power_create()
349 pow->amps = amps; in smu_cpu_power_create()
Dwindfarm_rm31.c204 s32 dtemp, volts, amps; in read_one_cpu_vals() local
225 rc = wf_sensor_get(sens_cpu_amps[cpu], &amps); in read_one_cpu_vals()
230 DBG_LOTS(" CPU%d: amps = %d.%03d\n", cpu, FIX32TOPRINT((amps))); in read_one_cpu_vals()
237 *power = (((u64)volts) * ((u64)amps)) >> 16; in read_one_cpu_vals()
Dwindfarm_pm72.c210 s32 dtemp, volts, amps; in read_one_cpu_vals() local
231 rc = wf_sensor_get(sens_cpu_amps[cpu], &amps); in read_one_cpu_vals()
236 DBG_LOTS(" CPU%d: amps = %d.%03d\n", cpu, FIX32TOPRINT((amps))); in read_one_cpu_vals()
243 *power = (((u64)volts) * ((u64)amps)) >> 16; in read_one_cpu_vals()
/drivers/ata/
Dsata_mv.c533 u32 amps; member
3117 hpriv->signal[idx].amps = tmp & 0xe0; /* bits 7:5 */ in mv5_read_preamp()
3155 tmp |= hpriv->signal[port].amps; in mv5_phy_errata()
3328 hpriv->signal[idx].amps = 0x7 << 8; in mv6_read_preamp()
3336 hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ in mv6_read_preamp()
3408 m2 |= hpriv->signal[port].amps; in mv6_phy_errata()
3438 hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ in mv_soc_read_preamp()
/drivers/regulator/
DKconfig396 to target volts/amps.