Searched refs:hregmap (Results 1 – 1 of 1) sorted by relevance
39 struct atmel_hlcdc_regmap *hregmap = context; in regmap_atmel_hlcdc_reg_write() local45 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() local66 *val = readl(hregmap->regs + reg); in regmap_atmel_hlcdc_reg_read()83 struct atmel_hlcdc_regmap *hregmap; in atmel_hlcdc_probe() local88 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 …]