Searched refs:sysfs_chmod_file (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/include/linux/ |
D | sysfs.h | 247 int __must_check sysfs_chmod_file(struct kobject *kobj, 361 static inline int sysfs_chmod_file(struct kobject *kobj, in sysfs_chmod_file() function
|
/Linux-v5.4/fs/sysfs/ |
D | file.c | 391 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr, in sysfs_chmod_file() function 410 EXPORT_SYMBOL_GPL(sysfs_chmod_file);
|
/Linux-v5.4/drivers/hwmon/ |
D | f75375s.c | 842 err = sysfs_chmod_file(&client->dev.kobj, in f75375_probe() 847 err = sysfs_chmod_file(&client->dev.kobj, in f75375_probe()
|
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()
|
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()
|
D | w83781d.c | 1043 err = sysfs_chmod_file(&dev->kobj, in w83781d_create_files()
|
D | dme1737.c | 2046 if (sysfs_chmod_file(&dev->kobj, attr, mode)) { in dme1737_chmod_file()
|
/Linux-v5.4/drivers/hid/ |
D | hid-cp2112.c | 1059 ret = sysfs_chmod_file(&hdev->dev.kobj, *attr, mode); in chmod_sysfs_attrs()
|
/Linux-v5.4/drivers/scsi/ |
D | scsi_transport_spi.c | 1445 rc = sysfs_chmod_file(kobj, attr, attr->mode | S_IWUSR); in spi_host_configure()
|