Lines Matching defs:error

122  * XXX error return values should be checked to ensure that they are
330 * upon error or 0 upon success.
363 * hwmod. Does not write to the hardware. Returns -EINVAL upon error
397 * not write to the hardware. Returns -EINVAL upon error or 0 upon
429 * error or 0 upon success.
457 * error or 0 upon success.
523 * error or 0 upon success.
567 * error or 0 upon success.
598 * upon error or 0 upon success.
654 * 0 without doing anything. Otherwise, returns -EINVAL upon error or
683 * 0 without doing anything. Returns -EINVAL upon error or passes
819 * or a main_clk is present. Returns 0 on success or -EINVAL on error.
868 * clock pointers. Returns 0 on success or -EINVAL on error.
907 * clock pointers. Returns 0 on success or -EINVAL on error.
1149 * error or if there does not appear to be a path from the MPU to this
1403 * success, or a negative error code on failure.
2169 int error;
2175 error = of_address_to_resource(child, oh->mpu_rt_idx, res);
2176 if (error)
2177 pr_err("%s: error mapping mpu_rt_idx: %i\n",
2178 __func__, error);
2235 * and non-availability of MPU access is not treated as an error.
2245 int error;
2266 error = omap_hwmod_parse_module_range(oh, np, &res);
2267 if (!error)
2397 * reset. Returns 0 upon success or a negative error code upon
2812 pr_err("omap_hwmod: %s: %s: hwmod data error: OMAP4 does not support st_shift\n",
2925 goto error;
2930 goto error;
2933 error:
2942 * struct omap_hwmod *, or NULL upon error.
3051 * -EINVAL upon error or 0 upon success.
3520 int error;
3548 error = _register(oh);
3554 error = omap_hwmod_init_regbits(dev, oh, data, &sysc_fields);
3555 if (error)
3556 return error;
3558 error = omap_hwmod_init_reg_offs(dev, data, &rev_offs,
3560 if (error)
3561 return error;
3563 error = omap_hwmod_init_sysc_flags(dev, data, &sysc_flags);
3564 if (error)
3565 return error;
3567 error = omap_hwmod_init_idlemodes(dev, data, &idlemodes);
3568 if (error)
3569 return error;
3588 error = omap_hwmod_check_module(dev, oh, data, sysc_fields,
3591 if (!error)
3592 return error;
3666 * Returns -EINVAL on error or passes along the return value from _enable().
3688 * Returns -EINVAL on error or passes along the return value from _idle().
3710 * omap_device_shutdown(). Returns -EINVAL on error or passes along
3739 * upon error.
3824 * if @classname or @fn are NULL, or passes back the error code from @fn.