Lines Matching refs:result
117 int result = 0; in int3400_thermal_get_uuids() local
126 result = -EINVAL; in int3400_thermal_get_uuids()
133 result = -EINVAL; in int3400_thermal_get_uuids()
139 result = -EINVAL; in int3400_thermal_get_uuids()
156 return result; in int3400_thermal_get_uuids()
164 int result = 0; in int3400_thermal_run_osc() local
180 result = -EPERM; in int3400_thermal_run_osc()
182 result = -EPERM; in int3400_thermal_run_osc()
185 return result; in int3400_thermal_run_osc()
213 int result = 0; in int3400_thermal_set_mode() local
227 result = int3400_thermal_run_osc(priv->adev->handle, in int3400_thermal_set_mode()
231 return result; in int3400_thermal_set_mode()
247 int result; in int3400_thermal_probe() local
258 result = int3400_thermal_get_uuids(priv); in int3400_thermal_probe()
259 if (result) in int3400_thermal_probe()
262 result = acpi_parse_art(priv->adev->handle, &priv->art_count, in int3400_thermal_probe()
264 if (result) in int3400_thermal_probe()
267 result = acpi_parse_trt(priv->adev->handle, &priv->trt_count, in int3400_thermal_probe()
269 if (result) in int3400_thermal_probe()
282 result = PTR_ERR(priv->thermal); in int3400_thermal_probe()
289 result = sysfs_create_group(&pdev->dev.kobj, &uuid_attribute_group); in int3400_thermal_probe()
290 if (result) in int3400_thermal_probe()
302 return result; in int3400_thermal_probe()