Searched refs:hwlock_spec (Results 1 – 1 of 1) sorted by relevance
337 * of_hwspin_lock_simple_xlate - translate hwlock_spec to return a lock id338 * @hwlock_spec: hwlock specifier as found in the device tree347 of_hwspin_lock_simple_xlate(const struct of_phandle_args *hwlock_spec) in of_hwspin_lock_simple_xlate() argument 349 if (WARN_ON(hwlock_spec->args_count != 1)) in of_hwspin_lock_simple_xlate() 352 return hwlock_spec->args[0]; in of_hwspin_lock_simple_xlate()