Searched refs:reset_spec (Results 1 – 16 of 16) sorted by relevance
56 const struct of_phandle_args *reset_spec) in berlin_reset_xlate() argument60 offset = reset_spec->args[0]; in berlin_reset_xlate()61 bit = reset_spec->args[1]; in berlin_reset_xlate()
193 const struct of_phandle_args *reset_spec) in ti_sci_reset_of_xlate() argument198 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in ti_sci_reset_of_xlate()205 control->dev_id = reset_spec->args[0]; in ti_sci_reset_of_xlate()206 control->reset_mask = reset_spec->args[1]; in ti_sci_reset_of_xlate()
153 const struct of_phandle_args *reset_spec) in lantiq_rcu_reset_xlate() argument157 set = reset_spec->args[0]; in lantiq_rcu_reset_xlate()158 status = reset_spec->args[1]; in lantiq_rcu_reset_xlate()
76 const struct of_phandle_args *reset_spec) in zynqmp_reset_of_xlate() argument78 return reset_spec->args[0]; in zynqmp_reset_of_xlate()
74 const struct of_phandle_args *reset_spec) in k210_rst_xlate() argument76 unsigned long id = reset_spec->args[0]; in k210_rst_xlate()
121 const struct of_phandle_args *reset_spec) in npcm_reset_xlate() argument125 offset = reset_spec->args[0]; in npcm_reset_xlate()131 bit = reset_spec->args[1]; in npcm_reset_xlate()
56 const struct of_phandle_args *reset_spec) in brcm_rescal_reset_xlate() argument
87 const struct of_phandle_args *reset_spec) in of_reset_simple_xlate() argument89 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()92 return reset_spec->args[0]; in of_reset_simple_xlate()
13 const struct of_phandle_args *reset_spec) in mmp_of_reset_xlate() argument19 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in mmp_of_reset_xlate()24 if (cell->clk_id == reset_spec->args[0]) in mmp_of_reset_xlate()
66 const struct of_phandle_args *reset_spec) in hi3660_reset_xlate() argument70 offset = reset_spec->args[0]; in hi3660_reset_xlate()71 bit = reset_spec->args[1]; in hi3660_reset_xlate()
31 const struct of_phandle_args *reset_spec) in hisi_reset_of_xlate() argument36 offset = (reset_spec->args[0] << HISI_RESET_OFFSET_SHIFT) in hisi_reset_of_xlate()38 bit = reset_spec->args[1] & HISI_RESET_BIT_MASK; in hisi_reset_of_xlate()
72 const struct of_phandle_args *reset_spec) in sunxi_ve_of_xlate() argument74 if (WARN_ON(reset_spec->args_count != 0)) in sunxi_ve_of_xlate()
330 const struct of_phandle_args *reset_spec) in davinci_psc_reset_of_xlate() argument332 struct of_phandle_args clkspec = *reset_spec; /* discard const qualifier */ in davinci_psc_reset_of_xlate()
861 const struct of_phandle_args *reset_spec) in omap_prm_reset_xlate() argument865 if (!_is_valid_reset(reset, reset_spec->args[0])) in omap_prm_reset_xlate()868 return reset_spec->args[0]; in omap_prm_reset_xlate()
545 const struct of_phandle_args *reset_spec) in rzg2l_cpg_reset_xlate() argument549 unsigned int id = reset_spec->args[0]; in rzg2l_cpg_reset_xlate()
656 const struct of_phandle_args *reset_spec) in cpg_mssr_reset_xlate() argument659 unsigned int unpacked = reset_spec->args[0]; in cpg_mssr_reset_xlate()