Home
last modified time | relevance | path

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

/openbmc/linux/drivers/macintosh/
H A Dwindfarm_smu_sensors.c276 struct wf_sensor *amps; member
291 if (pow->amps) in smu_cpu_power_release()
292 wf_put_sensor(pow->amps); in smu_cpu_power_release()
299 s32 volts, amps, power; in smu_cpu_power_get() local
303 rc = pow->amps->ops->get_value(pow->amps, &amps); in smu_cpu_power_get()
308 *value = amps * 12 - 0x30000; in smu_cpu_power_get()
316 power = (s32)((((u64)volts) * ((u64)amps)) >> 16); in smu_cpu_power_get()
337 smu_cpu_power_create(struct wf_sensor *volts, struct wf_sensor *amps) in smu_cpu_power_create() argument
349 wf_get_sensor(amps); in smu_cpu_power_create()
350 pow->amps = amps; in smu_cpu_power_create()
H A 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()
H A 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()
/openbmc/linux/sound/soc/codecs/
H A Didt821034.c45 } amps; member
418 val = idt821034->amps.ch[ch].amp_out.gain; in idt821034_kctrl_gain_get()
420 val = idt821034->amps.ch[ch].amp_in.gain; in idt821034_kctrl_gain_get()
462 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_gain_put()
465 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_gain_put()
500 idt821034->amps.ch[ch].amp_out.is_muted : in idt821034_kctrl_mute_get()
501 idt821034->amps.ch[ch].amp_in.is_muted; in idt821034_kctrl_mute_get()
527 amp = &idt821034->amps.ch[ch].amp_out; in idt821034_kctrl_mute_put()
530 amp = &idt821034->amps.ch[ch].amp_in; in idt821034_kctrl_mute_put()
908 idt821034->amps.ch[i].amp_out.gain = IDT821034_GAIN_OUT_INIT_RAW; in idt821034_reset_audio()
[all …]
/openbmc/fb-ipmi-oem/include/
H A Dsensorutils.hpp39 amps = 0x5, enumerator
117 {"current", SensorUnits::amps},
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dstoragecommands.hpp61 amps = 0x5, enumerator
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dimx-audio-es8328.txt8 - audio-amp-supply : Power regulator for speaker amps
/openbmc/intel-ipmi-oem/include/
H A Dstoragecommands.hpp249 amps = 0x5, enumerator
/openbmc/linux/Documentation/sound/soc/
H A Doverview.rst18 machine specific code to re-route audio, enable amps, etc., after such an
/openbmc/linux/drivers/ata/
H A Dsata_mv.c533 u32 amps; member
3079 hpriv->signal[idx].amps = tmp & 0xe0; /* bits 7:5 */ in mv5_read_preamp()
3117 tmp |= hpriv->signal[port].amps; in mv5_phy_errata()
3291 hpriv->signal[idx].amps = 0x7 << 8; in mv6_read_preamp()
3299 hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ in mv6_read_preamp()
3371 m2 |= hpriv->signal[port].amps; in mv6_phy_errata()
3401 hpriv->signal[idx].amps = tmp & 0x700; /* bits 10:8 */ in mv_soc_read_preamp()
/openbmc/linux/sound/pci/hda/
H A Dpatch_realtek.c4776 static const struct alc298_samsung_amp_desc amps[] = { in alc298_fixup_samsung_amp() local
4784 for (i = 0; i < ARRAY_SIZE(amps); i++) { in alc298_fixup_samsung_amp()
4785 alc_write_coef_idx(codec, 0x22, amps[i].nid); in alc298_fixup_samsung_amp()
4787 for (j = 0; j < ARRAY_SIZE(amps[i].init_seq); j++) in alc298_fixup_samsung_amp()
4788 alc298_samsung_write_coef_pack(codec, amps[i].init_seq[j]); in alc298_fixup_samsung_amp()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp126 {"current", SensorUnits::amps},
/openbmc/linux/Documentation/sound/hd-audio/
H A Dnotes.rst473 ADCs can have only single input amps
/openbmc/linux/drivers/regulator/
H A DKconfig404 to target volts/amps.