Home
last modified time | relevance | path

Searched refs:vout_mode (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/hwmon/pmbus/
H A Dxdpe12284.c81 int i, ret, vout_mode; in xdpe122_identify() local
83 vout_mode = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE); in xdpe122_identify()
84 if (vout_mode >= 0 && vout_mode != 0xff) { in xdpe122_identify()
85 switch (vout_mode >> 5) { in xdpe122_identify()
H A Dmp5990.c16 u8 vout_mode; member
29 if (data->vout_mode == linear) { in mp5990_read_byte_data()
69 if (data->vout_mode == linear) { in mp5990_read_word_data()
136 data->vout_mode = linear; in mp5990_probe()
148 data->vout_mode = direct; in mp5990_probe()
H A Dpmbus.c122 int vout_mode, i; in pmbus_identify() local
124 vout_mode = pmbus_read_byte_data(client, 0, PMBUS_VOUT_MODE); in pmbus_identify()
125 if (vout_mode >= 0 && vout_mode != 0xff) { in pmbus_identify()
126 switch (vout_mode >> 5) { in pmbus_identify()
H A Dpxe1610.c26 u8 vout_mode; in pxe1610_identify() local
34 vout_mode = ret & GENMASK(4, 0); in pxe1610_identify()
36 switch (vout_mode) { in pxe1610_identify()
H A Dpmbus_core.c2527 int vout_mode = -1; in pmbus_identify_common() local
2530 vout_mode = _pmbus_read_byte_data(client, page, in pmbus_identify_common()
2532 if (vout_mode >= 0 && vout_mode != 0xff) { in pmbus_identify_common()
2537 switch (vout_mode >> 5) { in pmbus_identify_common()
2542 data->exponent[page] = ((s8)(vout_mode << 3)) >> 3; in pmbus_identify_common()
/openbmc/qemu/hw/sensor/
H A Dadm1266.c90 pmdev->pages[i].vout_mode = 0; in adm1266_exit_reset()
174 PMBusVoutMode *mode = (PMBusVoutMode *)&pmdev->pages[0].vout_mode; in adm1266_get()
191 PMBusVoutMode *mode = (PMBusVoutMode *)&pmdev->pages[0].vout_mode; in adm1266_set()
H A Dmax31785.c455 pmdev->pages[i].vout_mode = MAX31785_DEFAULT_VOUT_MODE; in max31785_exit_reset()
464 pmdev->pages[i].vout_mode = MAX31785_DEFAULT_VOUT_MODE; in max31785_exit_reset()
473 pmdev->pages[i].vout_mode = MAX31785_DEFAULT_VOUT_MODE; in max31785_exit_reset()
H A Disl_pmbus_vr.c75 pmdev->pages[i].vout_mode = ISL_VOUT_MODE_DEFAULT; in isl_pmbus_vr_exit_reset()
H A Dadm1272.c199 pmdev->pages[0].vout_mode = ADM1272_DIRECT_MODE; in adm1272_exit_reset()
H A Dmax34451.c621 pmdev->pages[i].vout_mode = DEFAULT_VOUT_MODE; in max34451_exit_reset()
/openbmc/linux/drivers/regulator/
H A Dbd9576-regulator.c901 bool vout_mode, ddr_sel, may_have_irqs = false; in bd957x_probe() local
943 vout_mode = device_property_read_bool(pdev->dev.parent, in bd957x_probe()
945 if (vout_mode) { in bd957x_probe()
/openbmc/qemu/include/hw/i2c/
H A Dpmbus_device.h294 uint8_t vout_mode; /* R/W byte */ member
/openbmc/qemu/hw/i2c/
H A Dpmbus_device.c375 pmbus_send8(pmdev, pmdev->pages[index].vout_mode); in pmbus_receive_byte()
1307 pmdev->pages[index].vout_mode = pmbus_receive8(pmdev); in pmbus_write_data()