Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dasus_wmi_sensors.c249 static int asus_wmi_hwmon_add_chan_info(struct hwmon_channel_info *asus_wmi_hwmon_chan, in asus_wmi_hwmon_add_chan_info() argument
259 asus_wmi_hwmon_chan->type = type; in asus_wmi_hwmon_add_chan_info()
260 asus_wmi_hwmon_chan->config = cfg; in asus_wmi_hwmon_add_chan_info()
508 struct hwmon_channel_info *asus_wmi_hwmon_chan; in asus_wmi_configure_sensor_setup() local
541 asus_wmi_hwmon_chan = devm_kcalloc(dev, nr_types, in asus_wmi_configure_sensor_setup()
542 sizeof(*asus_wmi_hwmon_chan), in asus_wmi_configure_sensor_setup()
544 if (!asus_wmi_hwmon_chan) in asus_wmi_configure_sensor_setup()
566 err = asus_wmi_hwmon_add_chan_info(asus_wmi_hwmon_chan, dev, in asus_wmi_configure_sensor_setup()
572 *ptr_asus_wmi_ci++ = asus_wmi_hwmon_chan++; in asus_wmi_configure_sensor_setup()