Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mfd/
A Datmel-hlcdc.c39 struct atmel_hlcdc_regmap *hregmap = context; in regmap_atmel_hlcdc_reg_write() local
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()
98 if (IS_ERR(hregmap->regs)) in atmel_hlcdc_probe()
99 return PTR_ERR(hregmap->regs); in atmel_hlcdc_probe()
[all …]

Completed in 3 milliseconds