/drivers/reset/starfive/ |
D | reset-starfive-jh7110.c | 17 unsigned int nr_resets; member 23 .nr_resets = JH7110_SYSRST_END, 29 .nr_resets = JH7110_AONRST_END, 35 .nr_resets = JH7110_STGRST_END, 41 .nr_resets = JH7110_ISPRST_END, 47 .nr_resets = JH7110_VOUTRST_END, 66 info->nr_resets, in jh7110_reset_probe()
|
D | reset-starfive-jh71x0.c | 109 const u32 *asserted, unsigned int nr_resets, in reset_starfive_jh71x0_register() argument 120 data->rcdev.nr_resets = nr_resets; in reset_starfive_jh71x0_register()
|
D | reset-starfive-jh71x0.h | 11 const u32 *asserted, unsigned int nr_resets,
|
/drivers/clk/mmp/ |
D | reset.c | 22 for (i = 0; i < rcdev->nr_resets; i++) { in mmp_of_reset_xlate() 28 if (i == rcdev->nr_resets) in mmp_of_reset_xlate() 84 struct mmp_clk_reset_cell *cells, int nr_resets) in mmp_clk_reset_register() argument 94 unit->rcdev.nr_resets = nr_resets; in mmp_clk_reset_register()
|
D | clk-of-pxa1928.c | 187 int i, base, nr_resets; in pxa1928_clk_reset_init() local 189 nr_resets = ARRAY_SIZE(apbc_gate_clks); in pxa1928_clk_reset_init() 190 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa1928_clk_reset_init() 195 for (i = 0; i < nr_resets; i++) { in pxa1928_clk_reset_init() 204 mmp_clk_reset_register(np, cells, nr_resets); in pxa1928_clk_reset_init()
|
D | reset.h | 24 struct mmp_clk_reset_cell *cells, int nr_resets); 27 struct mmp_clk_reset_cell *cells, int nr_resets) in mmp_clk_reset_register() argument
|
D | clk-of-pxa168.c | 282 int i, nr_resets; in pxa168_clk_reset_init() local 284 nr_resets = ARRAY_SIZE(apbc_gate_clks); in pxa168_clk_reset_init() 285 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa168_clk_reset_init() 289 for (i = 0; i < nr_resets; i++) { in pxa168_clk_reset_init() 297 mmp_clk_reset_register(np, cells, nr_resets); in pxa168_clk_reset_init()
|
D | clk-of-pxa910.c | 237 int i, base, nr_resets_apbc, nr_resets_apbcp, nr_resets; in pxa910_clk_reset_init() local 241 nr_resets = nr_resets_apbc + nr_resets_apbcp; in pxa910_clk_reset_init() 242 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa910_clk_reset_init() 266 mmp_clk_reset_register(np, cells, nr_resets); in pxa910_clk_reset_init()
|
D | clk-of-mmp2.c | 462 int i, nr_resets; in mmp2_clk_reset_init() local 464 nr_resets = ARRAY_SIZE(apbc_gate_clks); in mmp2_clk_reset_init() 465 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in mmp2_clk_reset_init() 469 for (i = 0; i < nr_resets; i++) { in mmp2_clk_reset_init() 477 mmp_clk_reset_register(np, cells, nr_resets); in mmp2_clk_reset_init()
|
/drivers/reset/ |
D | reset-simple.c | 118 u32 nr_resets; member 127 .nr_resets = SOCFPGA_NR_BANKS * 32, 180 data->rcdev.nr_resets = resource_size(res) * BITS_PER_BYTE; in reset_simple_probe() 186 if (devdata->nr_resets) in reset_simple_probe() 187 data->rcdev.nr_resets = devdata->nr_resets; in reset_simple_probe()
|
D | reset-uniphier.c | 350 unsigned int nr_resets = 0; in uniphier_reset_probe() local 370 nr_resets = max(nr_resets, p->id + 1); in uniphier_reset_probe() 375 priv->rcdev.nr_resets = nr_resets; in uniphier_reset_probe()
|
D | reset-lantiq.c | 160 if (set >= rcdev->nr_resets || status >= rcdev->nr_resets) in lantiq_rcu_reset_xlate() 184 priv->rcdev.nr_resets = 32; in lantiq_rcu_reset_probe()
|
D | reset-mpfs.c | 111 if (index < MPFS_PERIPH_OFFSET || index >= (MPFS_PERIPH_OFFSET + rcdev->nr_resets)) { in mpfs_reset_xlate() 135 rcdev->nr_resets = MPFS_NUM_RESETS; in mpfs_reset_probe()
|
D | reset-sunxi.c | 53 data->rcdev.nr_resets = size * 8; in sunxi_reset_init()
|
D | reset-axs10x.c | 61 rst->rcdev.nr_resets = AXS10X_MAX_RESETS; in axs10x_reset_probe()
|
D | reset-raspberrypi.c | 98 priv->rcdev.nr_resets = RASPBERRYPI_FIRMWARE_RESET_NUM_IDS; in rpi_reset_probe()
|
D | reset-socfpga.c | 57 data->rcdev.nr_resets = SOCFPGA_NR_BANKS * 32; in a10_reset_init()
|
D | reset-scmi.c | 111 data->rcdev.nr_resets = reset_ops->num_domains_get(ph); in scmi_reset_probe()
|
/drivers/clk/mediatek/ |
D | reset.c | 106 if (reset_spec->args[0] >= rcdev->nr_resets || in reset_xlate() 156 data->rcdev.nr_resets = desc->rst_idx_map_nr; in mtk_register_reset_controller() 159 data->rcdev.nr_resets = desc->rst_bank_nr * RST_NR_PER_BANK; in mtk_register_reset_controller() 217 data->rcdev.nr_resets = desc->rst_idx_map_nr; in mtk_register_reset_controller_with_dev() 220 data->rcdev.nr_resets = desc->rst_bank_nr * RST_NR_PER_BANK; in mtk_register_reset_controller_with_dev()
|
/drivers/reset/hisilicon/ |
D | hi6220_reset.c | 178 data->rc_dev.nr_resets = MEDIA_MAX_INDEX; in hi6220_reset_probe() 181 data->rc_dev.nr_resets = PERIPH_MAX_INDEX; in hi6220_reset_probe() 184 data->rc_dev.nr_resets = AO_MAX_INDEX; in hi6220_reset_probe()
|
/drivers/reset/sti/ |
D | reset-syscfg.c | 57 if (idx >= rcdev->nr_resets) in syscfg_reset_program_hw() 110 if (idx >= rcdev->nr_resets) in syscfg_reset_status() 148 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
|
/drivers/clk/rockchip/ |
D | softrst.c | 114 softrst->rcdev.nr_resets = num_regs; in rockchip_register_softrst_lut() 116 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst_lut()
|
/drivers/clk/baikal-t1/ |
D | ccu-rst.c | 181 rst->rcdev.nr_resets = ARRAY_SIZE(axi_rst_info); in ccu_rst_hw_register() 184 rst->rcdev.nr_resets = ARRAY_SIZE(sys_rst_info); in ccu_rst_hw_register()
|
/drivers/reset/tegra/ |
D | reset-bpmp.c | 72 bpmp->rstc.nr_resets = bpmp->soc->num_resets; in tegra_bpmp_init_resets()
|
/drivers/clk/meson/ |
D | meson-aoclk.c | 65 rstc->reset.nr_resets = data->num_reset; in meson_aoclkc_probe()
|