Home
last modified time | relevance | path

Searched refs:reset_spec (Results 1 – 24 of 24) sorted by relevance

/linux-6.3-rc2/drivers/clk/ux500/
A Dreset-prcc.c137 const struct of_phandle_args *reset_spec) in u8500_prcc_reset_xlate() argument
141 if (reset_spec->args_count != 2) in u8500_prcc_reset_xlate()
144 prcc_num = reset_spec->args[0]; in u8500_prcc_reset_xlate()
145 bit = reset_spec->args[1]; in u8500_prcc_reset_xlate()
/linux-6.3-rc2/drivers/reset/
A Dreset-berlin.c56 const struct of_phandle_args *reset_spec) in berlin_reset_xlate() argument
60 offset = reset_spec->args[0]; in berlin_reset_xlate()
61 bit = reset_spec->args[1]; in berlin_reset_xlate()
A Dreset-ti-sci.c185 const struct of_phandle_args *reset_spec) in ti_sci_reset_of_xlate() argument
190 if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells)) in ti_sci_reset_of_xlate()
197 control->dev_id = reset_spec->args[0]; in ti_sci_reset_of_xlate()
198 control->reset_mask = reset_spec->args[1]; in ti_sci_reset_of_xlate()
A Dreset-lantiq.c153 const struct of_phandle_args *reset_spec) in lantiq_rcu_reset_xlate() argument
157 set = reset_spec->args[0]; in lantiq_rcu_reset_xlate()
158 status = reset_spec->args[1]; in lantiq_rcu_reset_xlate()
A Dreset-mpfs.c96 const struct of_phandle_args *reset_spec) in mpfs_reset_xlate() argument
98 unsigned int index = reset_spec->args[0]; in mpfs_reset_xlate()
A Dreset-k210.c74 const struct of_phandle_args *reset_spec) in k210_rst_xlate() argument
76 unsigned long id = reset_spec->args[0]; in k210_rst_xlate()
A Dreset-zynqmp.c76 const struct of_phandle_args *reset_spec) in zynqmp_reset_of_xlate() argument
78 return reset_spec->args[0]; in zynqmp_reset_of_xlate()
A Dreset-npcm.c154 const struct of_phandle_args *reset_spec) in npcm_reset_xlate() argument
161 offset = reset_spec->args[0]; in npcm_reset_xlate()
174 bit = reset_spec->args[1]; in npcm_reset_xlate()
A Dreset-tps380x.c65 const struct of_phandle_args *reset_spec) in tps380x_reset_of_xlate() argument
A Dreset-brcmstb-rescal.c56 const struct of_phandle_args *reset_spec) in brcm_rescal_reset_xlate() argument
A Dcore.c88 const struct of_phandle_args *reset_spec) in of_reset_simple_xlate() argument
90 if (reset_spec->args[0] >= rcdev->nr_resets) in of_reset_simple_xlate()
93 return reset_spec->args[0]; in of_reset_simple_xlate()
/linux-6.3-rc2/drivers/clk/mmp/
A Dreset.c13 const struct of_phandle_args *reset_spec) in mmp_of_reset_xlate() argument
19 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()
/linux-6.3-rc2/drivers/reset/hisilicon/
A Dreset-hi3660.c66 const struct of_phandle_args *reset_spec) in hi3660_reset_xlate() argument
70 offset = reset_spec->args[0]; in hi3660_reset_xlate()
71 bit = reset_spec->args[1]; in hi3660_reset_xlate()
/linux-6.3-rc2/drivers/clk/hisilicon/
A Dreset.c31 const struct of_phandle_args *reset_spec) in hisi_reset_of_xlate() argument
36 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()
/linux-6.3-rc2/drivers/clk/mediatek/
A Dreset.c102 const struct of_phandle_args *reset_spec) in reset_xlate() argument
106 if (reset_spec->args[0] >= rcdev->nr_resets || in reset_xlate()
107 reset_spec->args[0] >= data->desc->rst_idx_map_nr) in reset_xlate()
110 return data->desc->rst_idx_map[reset_spec->args[0]]; in reset_xlate()
/linux-6.3-rc2/drivers/power/reset/
A Dat91-reset.c296 const struct of_phandle_args *reset_spec) in at91_reset_of_xlate() argument
301 (reset_spec->args[0] < reset->data->device_reset_min_id || in at91_reset_of_xlate()
302 reset_spec->args[0] > reset->data->device_reset_max_id)) in at91_reset_of_xlate()
305 return reset_spec->args[0]; in at91_reset_of_xlate()
/linux-6.3-rc2/drivers/clk/sunxi/
A Dclk-a10-ve.c72 const struct of_phandle_args *reset_spec) in sunxi_ve_of_xlate() argument
74 if (WARN_ON(reset_spec->args_count != 0)) in sunxi_ve_of_xlate()
/linux-6.3-rc2/include/linux/
A Dreset-controller.h78 const struct of_phandle_args *reset_spec);
/linux-6.3-rc2/drivers/clk/davinci/
A Dpsc.c330 const struct of_phandle_args *reset_spec) in davinci_psc_reset_of_xlate() argument
332 struct of_phandle_args clkspec = *reset_spec; /* discard const qualifier */ in davinci_psc_reset_of_xlate()
/linux-6.3-rc2/drivers/clk/ralink/
A Dclk-mt7621.c451 const struct of_phandle_args *reset_spec) in mt7621_rst_xlate() argument
453 unsigned long id = reset_spec->args[0]; in mt7621_rst_xlate()
/linux-6.3-rc2/drivers/soc/ti/
A Domap_prm.c861 const struct of_phandle_args *reset_spec) in omap_prm_reset_xlate() argument
865 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()
/linux-6.3-rc2/drivers/soc/apple/
A Dapple-pmgr-pwrstate.c188 const struct of_phandle_args *reset_spec) in apple_pmgr_reset_xlate() argument
/linux-6.3-rc2/drivers/clk/renesas/
A Drenesas-cpg-mssr.c676 const struct of_phandle_args *reset_spec) in cpg_mssr_reset_xlate() argument
679 unsigned int unpacked = reset_spec->args[0]; in cpg_mssr_reset_xlate()
A Drzg2l-cpg.c1203 const struct of_phandle_args *reset_spec) in rzg2l_cpg_reset_xlate() argument
1207 unsigned int id = reset_spec->args[0]; in rzg2l_cpg_reset_xlate()

Completed in 44 milliseconds