Home
last modified time | relevance | path

Searched refs:nr_resets (Results 1 – 25 of 78) sorted by relevance

1234

/linux/drivers/clk/mmp/
A Dreset.c22 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()
A Dclk-of-pxa1928.c187 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()
A Dclk-of-pxa168.c232 int i, nr_resets; in pxa168_clk_reset_init() local
234 nr_resets = ARRAY_SIZE(apbc_gate_clks); in pxa168_clk_reset_init()
235 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa168_clk_reset_init()
239 for (i = 0; i < nr_resets; i++) { in pxa168_clk_reset_init()
247 mmp_clk_reset_register(np, cells, nr_resets); in pxa168_clk_reset_init()
A Dreset.h24 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
A Dclk-of-pxa910.c238 int i, base, nr_resets_apbc, nr_resets_apbcp, nr_resets; in pxa910_clk_reset_init() local
242 nr_resets = nr_resets_apbc + nr_resets_apbcp; in pxa910_clk_reset_init()
243 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in pxa910_clk_reset_init()
267 mmp_clk_reset_register(np, cells, nr_resets); in pxa910_clk_reset_init()
A Dclk-of-mmp2.c463 int i, nr_resets; in mmp2_clk_reset_init() local
465 nr_resets = ARRAY_SIZE(apbc_gate_clks); in mmp2_clk_reset_init()
466 cells = kcalloc(nr_resets, sizeof(*cells), GFP_KERNEL); in mmp2_clk_reset_init()
470 for (i = 0; i < nr_resets; i++) { in mmp2_clk_reset_init()
478 mmp_clk_reset_register(np, cells, nr_resets); in mmp2_clk_reset_init()
/linux/drivers/reset/
A Dreset-simple.c119 u32 nr_resets; member
128 .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()
A Dreset-uniphier.c351 unsigned int nr_resets = 0; in uniphier_reset_probe() local
371 nr_resets = max(nr_resets, p->id + 1); in uniphier_reset_probe()
376 priv->rcdev.nr_resets = nr_resets; in uniphier_reset_probe()
A Dreset-lantiq.c160 if (set >= rcdev->nr_resets || status >= rcdev->nr_resets) in lantiq_rcu_reset_xlate()
185 priv->rcdev.nr_resets = 32; in lantiq_rcu_reset_probe()
A Dreset-sunxi.c53 data->rcdev.nr_resets = size * 8; in sunxi_reset_init()
A Dreset-axs10x.c63 rst->rcdev.nr_resets = AXS10X_MAX_RESETS; in axs10x_reset_probe()
A Dreset-raspberrypi.c98 priv->rcdev.nr_resets = RASPBERRYPI_FIRMWARE_RESET_NUM_IDS; in rpi_reset_probe()
A Dreset-socfpga.c57 data->rcdev.nr_resets = SOCFPGA_NR_BANKS * 32; in a10_reset_init()
A Dreset-scmi.c111 data->rcdev.nr_resets = reset_ops->num_domains_get(ph); in scmi_reset_probe()
A Dreset-oxnas.c100 data->rcdev.nr_resets = 32; in oxnas_reset_probe()
A Dreset-brcmstb-rescal.c81 data->rcdev.nr_resets = 1; in brcm_rescal_reset_probe()
A Dreset-pistachio.c117 rd->rcdev.nr_resets = PISTACHIO_RESET_MAX + 1; in pistachio_reset_probe()
A Dreset-a10sr.c101 a10r->rcdev.nr_resets = A10SR_RESET_NUM; in a10sr_reset_probe()
/linux/drivers/reset/hisilicon/
A Dhi6220_reset.c179 data->rc_dev.nr_resets = MEDIA_MAX_INDEX; in hi6220_reset_probe()
182 data->rc_dev.nr_resets = PERIPH_MAX_INDEX; in hi6220_reset_probe()
185 data->rc_dev.nr_resets = AO_MAX_INDEX; in hi6220_reset_probe()
/linux/drivers/reset/sti/
A Dreset-syscfg.c57 if (idx >= rcdev->nr_resets) in syscfg_reset_program_hw()
120 if (idx >= rcdev->nr_resets) in syscfg_reset_status()
158 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
/linux/arch/mips/ralink/
A Dreset.c71 .nr_resets = 32,
/linux/include/linux/
A Dreset-controller.h79 unsigned int nr_resets; member
/linux/drivers/reset/tegra/
A Dreset-bpmp.c65 bpmp->rstc.nr_resets = bpmp->soc->num_resets; in tegra_bpmp_init_resets()
/linux/drivers/clk/meson/
A Dmeson-aoclk.c62 rstc->reset.nr_resets = data->num_reset; in meson_aoclkc_probe()
/linux/drivers/clk/rockchip/
A Dsoftrst.c100 softrst->rcdev.nr_resets = num_regs * softrst->num_per_reg; in rockchip_register_softrst()

Completed in 64 milliseconds

1234