Searched refs:mfg_status (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/hwmon/pmbus/ |
D | max8688.c | 93 int mfg_status; in max8688_read_byte_data() local 100 mfg_status = pmbus_read_word_data(client, 0, 0xff, in max8688_read_byte_data() 102 if (mfg_status < 0) in max8688_read_byte_data() 103 return mfg_status; in max8688_read_byte_data() 104 if (mfg_status & MAX8688_STATUS_UV_WARNING) in max8688_read_byte_data() 106 if (mfg_status & MAX8688_STATUS_UV_FAULT) in max8688_read_byte_data() 108 if (mfg_status & MAX8688_STATUS_OV_WARNING) in max8688_read_byte_data() 110 if (mfg_status & MAX8688_STATUS_OV_FAULT) in max8688_read_byte_data() 114 mfg_status = pmbus_read_word_data(client, 0, 0xff, in max8688_read_byte_data() 116 if (mfg_status < 0) in max8688_read_byte_data() [all …]
|
D | max34440.c | 185 int mfg_status; in max34440_read_byte_data() local 195 mfg_status = pmbus_read_word_data(client, 0, 0xff, in max34440_read_byte_data() 197 if (mfg_status < 0) in max34440_read_byte_data() 198 return mfg_status; in max34440_read_byte_data() 199 if (mfg_status & MAX34440_STATUS_OC_WARN) in max34440_read_byte_data() 201 if (mfg_status & MAX34440_STATUS_OC_FAULT) in max34440_read_byte_data() 205 mfg_status = pmbus_read_word_data(client, 0, 0xff, in max34440_read_byte_data() 207 if (mfg_status < 0) in max34440_read_byte_data() 208 return mfg_status; in max34440_read_byte_data() 209 if (mfg_status & MAX34440_STATUS_OT_WARN) in max34440_read_byte_data() [all …]
|