Lines Matching refs:container
3945 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_show() local
3946 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_show()
3956 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_curve_store() local
3957 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_curve_store()
4003 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_show() local
4004 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_show()
4014 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_limit_threshold_store() local
4015 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_limit_threshold_store()
4063 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_show() local
4064 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_show()
4074 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in acoustic_target_threshold_store() local
4075 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in acoustic_target_threshold_store()
4124 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_show() local
4125 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_show()
4135 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_target_temperature_store() local
4136 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_target_temperature_store()
4183 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_show() local
4184 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_show()
4194 struct od_kobj *container = container_of(kobj, struct od_kobj, kobj); in fan_minimum_pwm_store() local
4195 struct amdgpu_device *adev = (struct amdgpu_device *)container->priv; in fan_minimum_pwm_store()
4280 struct od_kobj *container, *container_next; in amdgpu_od_set_fini() local
4286 list_for_each_entry_safe(container, container_next, in amdgpu_od_set_fini()
4288 list_del(&container->entry); in amdgpu_od_set_fini()
4291 &container->attribute, entry) { in amdgpu_od_set_fini()
4293 sysfs_remove_file(&container->kobj, in amdgpu_od_set_fini()
4298 kobject_put(&container->kobj); in amdgpu_od_set_fini()
4323 struct od_feature_container *container) in amdgpu_od_is_self_contained() argument
4333 for (i = 0; i < ARRAY_SIZE(container->sub_feature); i++) { in amdgpu_od_is_self_contained()
4334 if (container->sub_feature[i].name && in amdgpu_od_is_self_contained()
4336 &container->sub_feature[i].ops)) in amdgpu_od_is_self_contained()
4347 struct od_feature_container *container; in amdgpu_od_set_init() local
4369 container = &amdgpu_od_set.containers[i]; in amdgpu_od_set_init()
4371 if (!container->name) in amdgpu_od_set_init()
4381 if (amdgpu_od_is_self_contained(adev, container)) { in amdgpu_od_set_init()
4383 &container->ops)) in amdgpu_od_set_init()
4398 container->ops.is_visible(adev); in amdgpu_od_set_init()
4399 attribute->attribute.attr.name = container->name; in amdgpu_od_set_init()
4401 container->ops.show; in amdgpu_od_set_init()
4403 container->ops.store; in amdgpu_od_set_init()
4421 container->name); in amdgpu_od_set_init()
4427 for (j = 0; j < ARRAY_SIZE(container->sub_feature); j++) { in amdgpu_od_set_init()
4428 feature = &container->sub_feature[j]; in amdgpu_od_set_init()