Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mfd/
Datmel-hlcdc.c39 struct atmel_hlcdc_regmap *hregmap = context; in regmap_atmel_hlcdc_reg_write() local
45 ret = readl_poll_timeout_atomic(hregmap->regs + ATMEL_HLCDC_SR, in regmap_atmel_hlcdc_reg_write()
50 dev_err(hregmap->dev, in regmap_atmel_hlcdc_reg_write()
56 writel(val, hregmap->regs + reg); in regmap_atmel_hlcdc_reg_write()
64 struct atmel_hlcdc_regmap *hregmap = context; in regmap_atmel_hlcdc_reg_read() local
66 *val = readl(hregmap->regs + reg); in regmap_atmel_hlcdc_reg_read()
83 struct atmel_hlcdc_regmap *hregmap; in atmel_hlcdc_probe() local
88 hregmap = devm_kzalloc(dev, sizeof(*hregmap), GFP_KERNEL); in atmel_hlcdc_probe()
89 if (!hregmap) in atmel_hlcdc_probe()
97 hregmap->regs = devm_ioremap_resource(dev, res); in atmel_hlcdc_probe()
[all …]