Lines Matching refs:gcr_regmap
95 struct regmap *gcr_regmap; member
1411 static void npcm7xx_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in npcm7xx_setfunc() argument
1421 regmap_update_bits(gcr_regmap, cfg->reg0, in npcm7xx_setfunc()
1426 regmap_update_bits(gcr_regmap, cfg->reg1, in npcm7xx_setfunc()
1431 regmap_update_bits(gcr_regmap, cfg->reg2, in npcm7xx_setfunc()
1441 struct regmap *gcr_regmap, unsigned int pin) in npcm7xx_get_slew_rate() argument
1452 regmap_read(gcr_regmap, NPCM7XX_GCR_SRCNT, &val); in npcm7xx_get_slew_rate()
1461 struct regmap *gcr_regmap, unsigned int pin, in npcm7xx_set_slew_rate() argument
1484 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate()
1488 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate()
1644 npcm7xx_setfunc(npcm->gcr_regmap, npcm7xx_groups[group].pins, in npcm7xx_pinmux_set_mux()
1665 npcm7xx_setfunc(npcm->gcr_regmap, &offset, 1, fn_gpio); in npcm7xx_gpio_request_enable()
1763 rc = npcm7xx_get_slew_rate(bank, npcm->gcr_regmap, pin); in npcm7xx_config_get()
1818 return npcm7xx_set_slew_rate(bank, npcm->gcr_regmap, pin, arg); in npcm7xx_config_set_one()
2013 pctrl->gcr_regmap = in npcm7xx_pinctrl_probe()
2015 if (IS_ERR(pctrl->gcr_regmap)) { in npcm7xx_pinctrl_probe()
2017 return PTR_ERR(pctrl->gcr_regmap); in npcm7xx_pinctrl_probe()