Searched refs:periph_regs (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/reset/ |
D | reset-pistachio.c | 24 struct regmap *periph_regs; member 76 return regmap_update_bits(rd->periph_regs, PISTACHIO_SOFT_RESET, in pistachio_reset_assert() 93 return regmap_update_bits(rd->periph_regs, PISTACHIO_SOFT_RESET, in pistachio_reset_deassert() 112 rd->periph_regs = syscon_node_to_regmap(np->parent); in pistachio_reset_probe() 113 if (IS_ERR(rd->periph_regs)) in pistachio_reset_probe() 114 return PTR_ERR(rd->periph_regs); in pistachio_reset_probe()
|
/linux-6.1.9/drivers/clocksource/ |
D | timer-pistachio.c | 152 struct regmap *periph_regs; in pistachio_clksrc_of_init() local 162 periph_regs = syscon_regmap_lookup_by_phandle(node, "img,cr-periph"); in pistachio_clksrc_of_init() 163 if (IS_ERR(periph_regs)) { in pistachio_clksrc_of_init() 165 PTR_ERR(periph_regs)); in pistachio_clksrc_of_init() 166 return PTR_ERR(periph_regs); in pistachio_clksrc_of_init() 170 ret = regmap_update_bits(periph_regs, PERIP_TIMER_CONTROL, in pistachio_clksrc_of_init()
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk.c | 40 static const struct tegra_clk_periph_regs periph_regs[] = { variable 115 clk_base + periph_regs[id / 32].rst_set_reg); in tegra_clk_rst_assert() 129 clk_base + periph_regs[id / 32].rst_clr_reg); in tegra_clk_rst_deassert() 157 return &periph_regs[reg_bank]; in get_reg_bank() 184 readl_relaxed(clk_base + periph_regs[i].enb_reg); in tegra_clk_periph_suspend() 188 readl_relaxed(clk_base + periph_regs[i].rst_reg); in tegra_clk_periph_suspend() 198 clk_base + periph_regs[i].enb_reg); in tegra_clk_periph_resume() 208 clk_base + periph_regs[i].rst_reg); in tegra_clk_periph_resume() 227 if (WARN_ON(banks > ARRAY_SIZE(periph_regs))) in tegra_clk_init()
|
/linux-6.1.9/drivers/pwm/ |
D | pwm-img.c | 67 struct regmap *periph_regs; member 164 regmap_update_bits(imgchip->periph_regs, PERIP_PWM_PDM_CONTROL, in img_pwm_enable() 281 imgchip->periph_regs = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in img_pwm_probe() 283 if (IS_ERR(imgchip->periph_regs)) in img_pwm_probe() 284 return PTR_ERR(imgchip->periph_regs); in img_pwm_probe() 400 regmap_update_bits(imgchip->periph_regs, in img_pwm_resume()
|
/linux-6.1.9/drivers/dma/ |
D | img-mdc-dma.c | 138 struct regmap *periph_regs; member 840 regmap_update_bits(mdma->periph_regs, in pistachio_mdc_enable_chan() 852 regmap_update_bits(mdma->periph_regs, in pistachio_mdc_disable_chan() 906 mdma->periph_regs = syscon_regmap_lookup_by_phandle(pdev->dev.of_node, in mdc_dma_probe() 908 if (IS_ERR(mdma->periph_regs)) in mdc_dma_probe() 909 return PTR_ERR(mdma->periph_regs); in mdc_dma_probe()
|