Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/thermal/
Dk3_j72xx_bandgap.c179 void __iomem *cfg2_base; member
350 val = readl(bgp->cfg2_base + data->ctrl_offset); in k3_j72xx_bandgap_init_hw()
354 writel(val, bgp->cfg2_base + data->ctrl_offset); in k3_j72xx_bandgap_init_hw()
367 writel((low_temp << 16) | high_max, bgp->cfg2_base + K3_VTM_MISC_CTRL2_OFFSET); in k3_j72xx_bandgap_init_hw()
368 writel(K3_VTM_ANYMAXT_OUTRG_ALERT_EN, bgp->cfg2_base + K3_VTM_MISC_CTRL_OFFSET); in k3_j72xx_bandgap_init_hw()
414 bgp->cfg2_base = devm_ioremap_resource(dev, res); in k3_j72xx_bandgap_probe()
415 if (IS_ERR(bgp->cfg2_base)) in k3_j72xx_bandgap_probe()
416 return PTR_ERR(bgp->cfg2_base); in k3_j72xx_bandgap_probe()