Home
last modified time | relevance | path

Searched refs:PMBusDevice (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/include/hw/i2c/
H A Dpmbus_device.h235 OBJECT_DECLARE_TYPE(PMBusDevice, PMBusDeviceClass,
276 uint8_t (*receive_byte)(PMBusDevice *dev);
416 struct PMBusDevice { struct
503 void pmbus_send8(PMBusDevice *state, uint8_t data);
504 void pmbus_send16(PMBusDevice *state, uint16_t data);
526 uint8_t pmbus_receive8(PMBusDevice *pmdev);
527 uint16_t pmbus_receive16(PMBusDevice *pmdev);
528 uint32_t pmbus_receive32(PMBusDevice *pmdev);
529 uint64_t pmbus_receive64(PMBusDevice *pmdev);
546 void pmbus_check_limits(PMBusDevice *pmdev);
[all …]
/openbmc/qemu/hw/sensor/
H A Dadm1266.c68 PMBusDevice parent;
82 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1266_exit_reset()
103 static uint8_t adm1266_read_byte(PMBusDevice *pmdev) in adm1266_read_byte()
138 static int adm1266_write_data(PMBusDevice *pmdev, const uint8_t *buf, in adm1266_write_data()
173 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1266_get()
190 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1266_set()
213 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1266_init()
H A Disl_pmbus_vr.c16 static uint8_t isl_pmbus_vr_read_byte(PMBusDevice *pmdev) in isl_pmbus_vr_read_byte()
36 static int isl_pmbus_vr_write_data(PMBusDevice *pmdev, const uint8_t *buf, in isl_pmbus_vr_write_data()
55 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in isl_pmbus_vr_set()
68 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in isl_pmbus_vr_exit_reset()
107 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in raa228000_exit_reset()
136 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in isl_pmbus_vr_add_props()
205 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in raa22xx_init()
224 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in raa228000_init()
H A Dadm1272.c73 PMBusDevice parent;
114 PMBusDevice *pmdev = PMBUS_DEVICE(s); in adm1272_check_limits()
191 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1272_exit_reset()
254 static uint8_t adm1272_read_byte(PMBusDevice *pmdev) in adm1272_read_byte()
342 static int adm1272_write_data(PMBusDevice *pmdev, const uint8_t *buf, in adm1272_write_data()
490 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in adm1272_init()
H A Dmax31785.c148 PMBusDevice parent;
169 static uint8_t max31785_read_byte(PMBusDevice *pmdev) in max31785_read_byte()
314 static int max31785_write_data(PMBusDevice *pmdev, const uint8_t *buf, in max31785_write_data()
449 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in max31785_exit_reset()
529 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in max31785_init()
H A Dmax34451.c138 PMBusDevice parent;
176 PMBusDevice *pmdev = PMBUS_DEVICE(s); in max34451_check_limits()
205 static uint8_t max34451_read_byte(PMBusDevice *pmdev) in max34451_read_byte()
389 static int max34451_write_data(PMBusDevice *pmdev, const uint8_t *buf, in max34451_write_data()
613 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in max34451_exit_reset()
712 PMBusDevice *pmdev = PMBUS_DEVICE(obj); in max34451_init()
/openbmc/qemu/hw/i2c/
H A Dpmbus_device.c158 uint8_t pmbus_receive8(PMBusDevice *pmdev) in pmbus_receive8()
168 uint16_t pmbus_receive16(PMBusDevice *pmdev) in pmbus_receive16()
178 uint32_t pmbus_receive32(PMBusDevice *pmdev) in pmbus_receive32()
188 uint64_t pmbus_receive64(PMBusDevice *pmdev) in pmbus_receive64()
213 PMBusDevice *pmdev = PMBUS_DEVICE(smd); in pmbus_quick_cmd()
235 void pmbus_check_limits(PMBusDevice *pmdev) in pmbus_check_limits()
301 void pmbus_idle(PMBusDevice *pmdev) in pmbus_idle()
317 PMBusDevice *pmdev = PMBUS_DEVICE(smd); in pmbus_receive_byte()
1892 VMSTATE_UINT8(code, PMBusDevice),
1893 VMSTATE_UINT8(page, PMBusDevice),
[all …]
/openbmc/qemu/include/hw/sensor/
H A Disl_pmbus_vr.h22 PMBusDevice parent;