Home
last modified time | relevance | path

Searched refs:psu (Results 1 – 20 of 20) sorted by relevance

/linux-5.19.10/drivers/hwmon/pmbus/
Dibm-cffps.c100 static ssize_t ibm_cffps_read_input_history(struct ibm_cffps *psu, in ibm_cffps_read_input_history() argument
109 .addr = psu->client->addr, in ibm_cffps_read_input_history()
110 .flags = psu->client->flags, in ibm_cffps_read_input_history()
114 .addr = psu->client->addr, in ibm_cffps_read_input_history()
115 .flags = psu->client->flags | I2C_M_RD, in ibm_cffps_read_input_history()
122 mutex_lock(&psu->input_history.update_lock); in ibm_cffps_read_input_history()
123 if (time_after(jiffies, psu->input_history.last_update + HZ)) { in ibm_cffps_read_input_history()
128 rc = i2c_transfer(psu->client->adapter, msg, 2); in ibm_cffps_read_input_history()
130 mutex_unlock(&psu->input_history.update_lock); in ibm_cffps_read_input_history()
134 psu->input_history.byte_count = msgbuf1[0]; in ibm_cffps_read_input_history()
[all …]
Dq54sj108a2.c78 struct q54sj108a2_data *psu = to_psu(idxp, idx); in q54sj108a2_debugfs_read() local
85 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_OPERATION); in q54sj108a2_debugfs_read()
92 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_WRITE_PROTECT); in q54sj108a2_debugfs_read()
99 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_VOUT_OV_FAULT_RESPONSE); in q54sj108a2_debugfs_read()
106 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_IOUT_OC_FAULT_RESPONSE); in q54sj108a2_debugfs_read()
113 rc = i2c_smbus_read_byte_data(psu->client, PMBUS_REVISION); in q54sj108a2_debugfs_read()
120 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_ID, data); in q54sj108a2_debugfs_read()
125 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_MODEL, data); in q54sj108a2_debugfs_read()
130 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_REVISION, data); in q54sj108a2_debugfs_read()
135 rc = i2c_smbus_read_block_data(psu->client, PMBUS_MFR_LOCATION, data); in q54sj108a2_debugfs_read()
[all …]
Dmax20730.c113 struct max20730_debugfs_data *psu = to_psu(idxp, idx); in max20730_debugfs_read() local
119 info = pmbus_get_driver_info(psu->client); in max20730_debugfs_read()
247 ret = i2c_smbus_read_byte_data(psu->client, PMBUS_OPERATION); in max20730_debugfs_read()
253 ret = i2c_smbus_read_byte_data(psu->client, PMBUS_ON_OFF_CONFIG); in max20730_debugfs_read()
259 ret = i2c_smbus_read_word_data(psu->client, in max20730_debugfs_read()
266 ret = i2c_smbus_read_byte_data(psu->client, PMBUS_VOUT_MODE); in max20730_debugfs_read()
272 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_COMMAND); in max20730_debugfs_read()
281 ret = i2c_smbus_read_word_data(psu->client, PMBUS_VOUT_MAX); in max20730_debugfs_read()
309 struct max20730_debugfs_data *psu; in max20730_init_debugfs() local
321 psu = devm_kzalloc(&client->dev, sizeof(*psu), GFP_KERNEL); in max20730_init_debugfs()
[all …]
/linux-5.19.10/Documentation/hwmon/
Dcorsair-psu.rst3 Kernel driver corsair-psu
49 curr2_input Current on the 12v psu rail
50 curr2_crit Current max critical value on the 12v psu rail
51 curr3_input Current on the 5v psu rail
52 curr3_crit Current max critical value on the 5v psu rail
53 curr4_input Current on the 3.3v psu rail
54 curr4_crit Current max critical value on the 3.3v psu rail
55 fan1_input RPM of psu fan
56 in0_input Voltage of the psu ac input
57 in1_input Voltage of the 12v psu rail
[all …]
Dindex.rst55 corsair-psu
/linux-5.19.10/Documentation/leds/
Dleds-mlxcpld.rst22 - mlxcpld:psu:green
23 - mlxcpld:psu:red
31 "psu"
/linux-5.19.10/arch/arm/boot/dts/
Daspeed-bmc-quanta-q71l.dts339 psu@59 {
350 psu@58 {
361 psu@58 {
372 psu@59 {
Daspeed-bmc-vegman-rx20.dts27 label = "psu:red:status";
33 label = "psu:green:status";
Daspeed-bmc-inspur-fp5280g2.dts183 front-psu {
184 label = "front-psu";
211 /*B0-B7*/ "","","front-psu","checkstop","cfam-reset","","","init-ok",
Daspeed-bmc-inspur-nf5280m6.dts56 front-psu {
57 label = "front-psu";
Daspeed-bmc-ampere-mtjade.dts717 psu@58 {
722 psu@59 {
Daspeed-bmc-facebook-cloudripper.dts377 label = "psu";
Dimx6sx-sdb.dtsi84 reg_psu_5v: regulator-psu-5v {
Daspeed-bmc-facebook-fuji.dts402 label = "psu";
/linux-5.19.10/Documentation/devicetree/bindings/hwmon/
Dti,tmp421.yaml55 A descriptive name for this channel, like "ambient" or "psu".
Dti,tmp464.yaml54 A descriptive name for this channel, like "ambient" or "psu".
/linux-5.19.10/drivers/hwmon/
DMakefile63 obj-$(CONFIG_SENSORS_CORSAIR_PSU) += corsair-psu.o
DKconfig465 will be called corsair-psu.
/linux-5.19.10/arch/arm64/boot/dts/ti/
Dk3-am65-iot2050-common.dtsi426 psu: regulator@60 { label
/linux-5.19.10/
DMAINTAINERS5204 F: Documentation/hwmon/corsair-psu.rst
5205 F: drivers/hwmon/corsair-psu.c