Home
last modified time | relevance | path

Searched refs:sbrmi_data (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/misc/amd-sbi/
H A Drmi-core.h54 struct sbrmi_data { struct
64 int rmi_mailbox_xfer(struct sbrmi_data *data, struct apml_mbox_msg *msg); argument
66 int create_hwmon_sensor_device(struct device *dev, struct sbrmi_data *data);
68 static inline int create_hwmon_sensor_device(struct device *dev, struct sbrmi_data *data) in create_hwmon_sensor_device()
73 int create_misc_rmi_device(struct sbrmi_data *data, struct device *dev);
H A Drmi-core.c136 static int sbrmi_get_rev(struct sbrmi_data *data) in sbrmi_get_rev()
150 static int rmi_cpuid_input(struct sbrmi_data *data, struct apml_cpuid_msg *msg, in rmi_cpuid_input()
174 static int rmi_cpuid_input_ext(struct sbrmi_data *data, struct apml_cpuid_msg *msg, in rmi_cpuid_input_ext()
188 static int rmi_cpuid_read(struct sbrmi_data *data, in rmi_cpuid_read()
264 static int rmi_mcamsr_input(struct sbrmi_data *data, struct apml_mcamsr_msg *msg, in rmi_mcamsr_input()
287 static int rmi_mcamsr_input_ext(struct sbrmi_data *data, struct apml_mcamsr_msg *msg, in rmi_mcamsr_input_ext()
300 static int rmi_mca_msr_read(struct sbrmi_data *data, in rmi_mca_msr_read()
376 int rmi_mailbox_xfer(struct sbrmi_data *data, in rmi_mailbox_xfer()
464 static int apml_rmi_reg_xfer(struct sbrmi_data *data, in apml_rmi_reg_xfer()
492 static int apml_mailbox_xfer(struct sbrmi_data *data, struct apml_mbox_msg __user *arg) in apml_mailbox_xfer()
[all …]
H A Drmi-i2c.c23 static int sbrmi_enable_alert(struct sbrmi_data *data) in sbrmi_enable_alert()
43 static int sbrmi_get_max_pwr_limit(struct sbrmi_data *data) in sbrmi_get_max_pwr_limit()
59 struct sbrmi_data *data; in sbrmi_common_probe()
62 data = devm_kzalloc(dev, sizeof(struct sbrmi_data), GFP_KERNEL); in sbrmi_common_probe()
133 struct sbrmi_data *data = dev_get_drvdata(&client->dev); in sbrmi_i2c_remove()
207 struct sbrmi_data *data = dev_get_drvdata(&i3cdev->dev); in sbrmi_i3c_remove()
H A Drmi-hwmon.c18 struct sbrmi_data *data = dev_get_drvdata(dev); in sbrmi_read()
54 struct sbrmi_data *data = dev_get_drvdata(dev); in sbrmi_write()
113 int create_hwmon_sensor_device(struct device *dev, struct sbrmi_data *data) in create_hwmon_sensor_device()