Searched refs:gcr_regmap (Results 1 – 5 of 5) sorted by relevance
| /Linux-v6.6/drivers/reset/ |
| D | reset-npcm.c | 90 struct regmap *gcr_regmap; member 197 regmap_read(rc->gcr_regmap, NPCM_MDLR_OFFSET, &mdlr); in npcm_usb_reset_npcm7xx() 229 regmap_update_bits(rc->gcr_regmap, NPCM_USB1PHYCTL_OFFSET, in npcm_usb_reset_npcm7xx() 231 regmap_update_bits(rc->gcr_regmap, NPCM_USB2PHYCTL_OFFSET, in npcm_usb_reset_npcm7xx() 241 regmap_update_bits(rc->gcr_regmap, NPCM_USB1PHYCTL_OFFSET, in npcm_usb_reset_npcm7xx() 243 regmap_update_bits(rc->gcr_regmap, NPCM_USB2PHYCTL_OFFSET, in npcm_usb_reset_npcm7xx() 265 regmap_read(rc->gcr_regmap, NPCM_MDLR_OFFSET, &mdlr); in npcm_usb_reset_npcm8xx() 302 regmap_update_bits(rc->gcr_regmap, NPCM_USB1PHYCTL_OFFSET, in npcm_usb_reset_npcm8xx() 304 regmap_update_bits(rc->gcr_regmap, NPCM_USB2PHYCTL_OFFSET, in npcm_usb_reset_npcm8xx() 306 regmap_update_bits(rc->gcr_regmap, NPCM_USB3PHYCTL_OFFSET, in npcm_usb_reset_npcm8xx() [all …]
|
| /Linux-v6.6/drivers/pinctrl/nuvoton/ |
| D | pinctrl-wpcm450.c | 59 struct regmap *gcr_regmap; member 807 static void wpcm450_update_mfsel(struct regmap *gcr_regmap, int reg, int bit, int fn, int fn_select… in wpcm450_update_mfsel() argument 816 regmap_update_bits(gcr_regmap, reg, BIT(bit), value ? BIT(bit) : 0); in wpcm450_update_mfsel() 820 static void wpcm450_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in wpcm450_setfunc() argument 830 wpcm450_update_mfsel(gcr_regmap, cfg->reg0, in wpcm450_setfunc() 833 wpcm450_update_mfsel(gcr_regmap, cfg->reg1, in wpcm450_setfunc() 913 wpcm450_setfunc(pctrl->gcr_regmap, wpcm450_groups[group].pins, in wpcm450_pinmux_set_mux() 1138 pctrl->gcr_regmap = in wpcm450_pinctrl_probe() 1140 if (IS_ERR(pctrl->gcr_regmap)) in wpcm450_pinctrl_probe() 1141 return dev_err_probe(dev, PTR_ERR(pctrl->gcr_regmap), in wpcm450_pinctrl_probe()
|
| D | pinctrl-npcm7xx.c | 98 struct regmap *gcr_regmap; member 1418 static void npcm7xx_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in npcm7xx_setfunc() argument 1428 regmap_update_bits(gcr_regmap, cfg->reg0, in npcm7xx_setfunc() 1433 regmap_update_bits(gcr_regmap, cfg->reg1, in npcm7xx_setfunc() 1438 regmap_update_bits(gcr_regmap, cfg->reg2, in npcm7xx_setfunc() 1448 struct regmap *gcr_regmap, unsigned int pin) in npcm7xx_get_slew_rate() argument 1459 regmap_read(gcr_regmap, NPCM7XX_GCR_SRCNT, &val); in npcm7xx_get_slew_rate() 1468 struct regmap *gcr_regmap, unsigned int pin, in npcm7xx_set_slew_rate() argument 1491 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate() 1495 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate() [all …]
|
| /Linux-v6.6/drivers/spi/ |
| D | spi-npcm-fiu.c | 610 struct regmap *gcr_regmap; in npcm_fiu_dirmap_create() local 638 gcr_regmap = in npcm_fiu_dirmap_create() 640 if (IS_ERR(gcr_regmap)) { in npcm_fiu_dirmap_create() 645 regmap_update_bits(gcr_regmap, NPCM7XX_INTCR3_OFFSET, in npcm_fiu_dirmap_create()
|
| /Linux-v6.6/drivers/i2c/busses/ |
| D | i2c-npcm7xx.c | 2279 static struct regmap *gcr_regmap; in npcm_i2c_probe_bus() local 2306 gcr_regmap = syscon_regmap_lookup_by_phandle(np, "nuvoton,sys-mgr"); in npcm_i2c_probe_bus() 2307 if (IS_ERR(gcr_regmap)) in npcm_i2c_probe_bus() 2308 gcr_regmap = syscon_regmap_lookup_by_compatible("nuvoton,npcm750-gcr"); in npcm_i2c_probe_bus() 2310 if (IS_ERR(gcr_regmap)) in npcm_i2c_probe_bus() 2311 return PTR_ERR(gcr_regmap); in npcm_i2c_probe_bus() 2312 regmap_write(gcr_regmap, NPCM_I2CSEGCTL, bus->data->segctl_init_val); in npcm_i2c_probe_bus()
|