Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hwmon/
Dsurface_temp.c111 struct ssam_temp { struct
121 const struct ssam_temp *ssam_temp = data; in ssam_temp_hwmon_is_visible() argument
123 if (!(ssam_temp->sensors & BIT(channel))) in ssam_temp_hwmon_is_visible()
133 const struct ssam_temp *ssam_temp = dev_get_drvdata(dev); in ssam_temp_hwmon_read() local
135 return ssam_tmp_get_temperature(ssam_temp->sdev, channel + 1, value); in ssam_temp_hwmon_read()
142 const struct ssam_temp *ssam_temp = dev_get_drvdata(dev); in ssam_temp_hwmon_read_string() local
144 *str = ssam_temp->names[channel]; in ssam_temp_hwmon_read_string()
184 struct ssam_temp *ssam_temp; in ssam_temp_probe() local
194 ssam_temp = devm_kzalloc(&sdev->dev, sizeof(*ssam_temp), GFP_KERNEL); in ssam_temp_probe()
195 if (!ssam_temp) in ssam_temp_probe()
[all …]