Searched refs:drv_attr (Results 1 – 2 of 2) sorted by relevance
60 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_show() local64 if (drv_attr->show) in drv_attr_show()65 ret = drv_attr->show(drv_priv->driver, buf); in drv_attr_show()72 struct driver_attribute *drv_attr = to_drv_attr(attr); in drv_attr_store() local76 if (drv_attr->store) in drv_attr_store()77 ret = drv_attr->store(drv_priv->driver, buf, count); in drv_attr_store()
1030 struct freq_attr **drv_attr; in cpufreq_add_dev_interface() local1034 drv_attr = cpufreq_driver->attr; in cpufreq_add_dev_interface()1035 while (drv_attr && *drv_attr) { in cpufreq_add_dev_interface()1036 ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); in cpufreq_add_dev_interface()1039 drv_attr++; in cpufreq_add_dev_interface()