Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
A Dhwmon.c108 kfree(hattr); in hwmon_free_attrs()
304 ret = hattr->ops->read(dev, hattr->type, hattr->attr, hattr->index, in hwmon_attr_show()
309 trace_hwmon_attr_show(hattr->index + hwmon_attr_base(hattr->type), in hwmon_attr_show()
324 ret = hattr->ops->read_string(dev, hattr->type, hattr->attr, in hwmon_attr_show_string()
347 ret = hattr->ops->write(dev, hattr->type, hattr->attr, hattr->index, in hwmon_attr_store()
352 trace_hwmon_attr_store(hattr->index + hwmon_attr_base(hattr->type), in hwmon_attr_store()
397 hattr = kzalloc(sizeof(*hattr), GFP_KERNEL); in hwmon_genattr()
398 if (!hattr) in hwmon_genattr()
404 scnprintf(hattr->name, sizeof(hattr->name), template, in hwmon_genattr()
409 hattr->type = type; in hwmon_genattr()
[all …]

Completed in 5 milliseconds