Lines Matching refs:container

3740 	struct od_kobj *container = container_of(kobj, struct od_kobj, kobj);  in fan_curve_show()  local
3741 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_show()
3751 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_store() local
3752 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_store()
3798 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_show() local
3799 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_show()
3809 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_store() local
3810 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_store()
3858 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_show() local
3859 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_show()
3869 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_store() local
3870 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_store()
3919 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_show() local
3920 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_show()
3930 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_store() local
3931 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_store()
3978 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_show() local
3979 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_show()
3989 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_store() local
3990 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_store()
4032 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_enable_show() local
4033 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_enable_show()
4043 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_enable_store() local
4044 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_enable_store()
4089 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_stop_temp_show() local
4090 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_stop_temp_show()
4100 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_zero_rpm_stop_temp_store() local
4101 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_zero_rpm_stop_temp_store()
4202 struct od_kobj *container, *container_next; in amdgpu_od_set_fini() local
4208 list_for_each_entry_safe(container, container_next, in amdgpu_od_set_fini()
4210 list_del(&container->entry); in amdgpu_od_set_fini()
4213 &container->attribute, entry) { in amdgpu_od_set_fini()
4215 sysfs_remove_file(&container->kobj, in amdgpu_od_set_fini()
4220 kobject_put(&container->kobj); in amdgpu_od_set_fini()
4245 struct od_feature_container *container) in amdgpu_od_is_self_contained() argument
4255 for (i = 0; i < ARRAY_SIZE(container->sub_feature); i++) { in amdgpu_od_is_self_contained()
4256 if (container->sub_feature[i].name && in amdgpu_od_is_self_contained()
4258 &container->sub_feature[i].ops)) in amdgpu_od_is_self_contained()
4269 struct od_feature_container *container; in amdgpu_od_set_init() local
4291 container = &amdgpu_od_set.containers[i]; in amdgpu_od_set_init()
4293 if (!container->name) in amdgpu_od_set_init()
4303 if (amdgpu_od_is_self_contained(adev, container)) { in amdgpu_od_set_init()
4305 &container->ops)) in amdgpu_od_set_init()
4320 container->ops.is_visible(adev); in amdgpu_od_set_init()
4321 attribute->attribute.attr.name = container->name; in amdgpu_od_set_init()
4323 container->ops.show; in amdgpu_od_set_init()
4325 container->ops.store; in amdgpu_od_set_init()
4343 container->name); in amdgpu_od_set_init()
4349 for (j = 0; j < ARRAY_SIZE(container->sub_feature); j++) { in amdgpu_od_set_init()
4350 feature = &container->sub_feature[j]; in amdgpu_od_set_init()