Searched refs:sysfs_chmod_file (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | sysfs.h | 278 int __must_check sysfs_chmod_file(struct kobject *kobj, 409 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() function
|
/openbmc/linux/fs/sysfs/ |
H A D | file.c | 413 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file() function 432 EXPORT_SYMBOL_GPL(sysfs_chmod_file);
|
/openbmc/linux/drivers/hwmon/ |
H A D | f75375s.c | 840 err = sysfs_chmod_file(&client->dev.kobj, in f75375_probe() 845 err = sysfs_chmod_file(&client->dev.kobj, in f75375_probe()
|
H A D | f71805f.c | 732 if (sysfs_chmod_file(&dev->kobj, f71805f_attr_pwm[nr], in set_pwm_enable() 756 if (sysfs_chmod_file(&dev->kobj, f71805f_attr_pwm[nr], in set_pwm_enable() 1455 err = sysfs_chmod_file(&pdev->dev.kobj, in f71805f_probe()
|
H A D | w83795.c | 2101 err_max = sysfs_chmod_file(&client->dev.kobj, in w83795_check_dynamic_in_limits() 2104 err_min = sysfs_chmod_file(&client->dev.kobj, in w83795_check_dynamic_in_limits()
|
H A D | w83781d.c | 1043 err = sysfs_chmod_file(&dev->kobj, in w83781d_create_files()
|
H A D | dme1737.c | 2046 if (sysfs_chmod_file(&dev->kobj, attr, mode)) { in dme1737_chmod_file()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-cp2112.c | 1061 ret = sysfs_chmod_file(&hdev->dev.kobj, *attr, mode); in chmod_sysfs_attrs()
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_transport_spi.c | 1456 rc = sysfs_chmod_file(kobj, attr, attr->mode | S_IWUSR); in spi_host_configure()
|