• Home
  • Raw
  • Download

Lines Matching refs:kobj

702 	rc = sysfs_create_group(&dev->kobj, &pm_attr_group);  in dpm_sysfs_add()
707 rc = sysfs_merge_group(&dev->kobj, &pm_runtime_attr_group); in dpm_sysfs_add()
712 rc = sysfs_merge_group(&dev->kobj, &pm_wakeup_attr_group); in dpm_sysfs_add()
717 rc = sysfs_merge_group(&dev->kobj, in dpm_sysfs_add()
728 sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group); in dpm_sysfs_add()
730 sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group); in dpm_sysfs_add()
732 sysfs_unmerge_group(&dev->kobj, &pm_runtime_attr_group); in dpm_sysfs_add()
734 sysfs_remove_group(&dev->kobj, &pm_attr_group); in dpm_sysfs_add()
745 rc = sysfs_group_change_owner(&dev->kobj, &pm_attr_group, kuid, kgid); in dpm_sysfs_change_owner()
751 &dev->kobj, &pm_runtime_attr_group, kuid, kgid); in dpm_sysfs_change_owner()
757 rc = sysfs_group_change_owner(&dev->kobj, &pm_wakeup_attr_group, in dpm_sysfs_change_owner()
769 &dev->kobj, &pm_qos_latency_tolerance_attr_group, kuid, in dpm_sysfs_change_owner()
779 int ret = sysfs_merge_group(&dev->kobj, &pm_wakeup_attr_group); in wakeup_sysfs_add()
782 kobject_uevent(&dev->kobj, KOBJ_CHANGE); in wakeup_sysfs_add()
789 sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group); in wakeup_sysfs_remove()
790 kobject_uevent(&dev->kobj, KOBJ_CHANGE); in wakeup_sysfs_remove()
795 return sysfs_merge_group(&dev->kobj, &pm_qos_resume_latency_attr_group); in pm_qos_sysfs_add_resume_latency()
800 sysfs_unmerge_group(&dev->kobj, &pm_qos_resume_latency_attr_group); in pm_qos_sysfs_remove_resume_latency()
805 return sysfs_merge_group(&dev->kobj, &pm_qos_flags_attr_group); in pm_qos_sysfs_add_flags()
810 sysfs_unmerge_group(&dev->kobj, &pm_qos_flags_attr_group); in pm_qos_sysfs_remove_flags()
815 return sysfs_merge_group(&dev->kobj, in pm_qos_sysfs_add_latency_tolerance()
821 sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group); in pm_qos_sysfs_remove_latency_tolerance()
826 sysfs_unmerge_group(&dev->kobj, &pm_runtime_attr_group); in rpm_sysfs_remove()
833 sysfs_unmerge_group(&dev->kobj, &pm_qos_latency_tolerance_attr_group); in dpm_sysfs_remove()
836 sysfs_unmerge_group(&dev->kobj, &pm_wakeup_attr_group); in dpm_sysfs_remove()
837 sysfs_remove_group(&dev->kobj, &pm_attr_group); in dpm_sysfs_remove()