Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.c59 struct regmap *gcr_regmap; member
802 static void wpcm450_update_mfsel(struct regmap *gcr_regmap, int reg, int bit, int fn, int fn_select… in wpcm450_update_mfsel() argument
811 regmap_update_bits(gcr_regmap, reg, BIT(bit), value ? BIT(bit) : 0); in wpcm450_update_mfsel()
815 static void wpcm450_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in wpcm450_setfunc() argument
825 wpcm450_update_mfsel(gcr_regmap, cfg->reg0, in wpcm450_setfunc()
828 wpcm450_update_mfsel(gcr_regmap, cfg->reg1, in wpcm450_setfunc()
898 wpcm450_setfunc(pctrl->gcr_regmap, wpcm450_groups[group].pins, in wpcm450_pinmux_set_mux()
1130 pctrl->gcr_regmap = in wpcm450_pinctrl_probe()
1132 if (IS_ERR(pctrl->gcr_regmap)) in wpcm450_pinctrl_probe()
1133 return dev_err_probe(dev, PTR_ERR(pctrl->gcr_regmap), in wpcm450_pinctrl_probe()
H A Dpinctrl-npcm7xx.c96 struct regmap *gcr_regmap; member
1386 static void npcm7xx_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in npcm7xx_setfunc() argument
1396 regmap_update_bits(gcr_regmap, cfg->reg0, in npcm7xx_setfunc()
1401 regmap_update_bits(gcr_regmap, cfg->reg1, in npcm7xx_setfunc()
1406 regmap_update_bits(gcr_regmap, cfg->reg2, in npcm7xx_setfunc()
1416 struct regmap *gcr_regmap, unsigned int pin) in npcm7xx_get_slew_rate() argument
1427 regmap_read(gcr_regmap, NPCM7XX_GCR_SRCNT, &val); in npcm7xx_get_slew_rate()
1436 struct regmap *gcr_regmap, unsigned int pin, in npcm7xx_set_slew_rate() argument
1459 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate()
1463 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate()
[all …]
H A Dpinctrl-npcm8xx.c118 struct regmap *gcr_regmap; member
1854 static void npcm8xx_set_rmii_output_enable(struct regmap *gcr_regmap, in npcm8xx_set_rmii_output_enable() argument
1874 regmap_update_bits(gcr_regmap, NPCM8XX_GCR_INTCR4, mask, val); in npcm8xx_set_rmii_output_enable()
1878 static void npcm8xx_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in npcm8xx_setfunc() argument
1889 regmap_update_bits(gcr_regmap, cfg->reg0, in npcm8xx_setfunc()
1894 regmap_update_bits(gcr_regmap, cfg->reg1, in npcm8xx_setfunc()
1899 regmap_update_bits(gcr_regmap, cfg->reg2, in npcm8xx_setfunc()
1904 regmap_update_bits(gcr_regmap, cfg->reg3, in npcm8xx_setfunc()
1909 regmap_update_bits(gcr_regmap, cfg->reg4, in npcm8xx_setfunc()
1916 npcm8xx_set_rmii_output_enable(gcr_regmap, pin, pin_number, mode); in npcm8xx_setfunc()
[all …]