Searched refs:gcr_regmap (Results 1 – 5 of 5) sorted by relevance
| /Linux-v6.1/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.1/drivers/pinctrl/nuvoton/ |
| D | pinctrl-npcm7xx.c | 96 struct regmap *gcr_regmap; member 1412 static void npcm7xx_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in npcm7xx_setfunc() argument 1422 regmap_update_bits(gcr_regmap, cfg->reg0, in npcm7xx_setfunc() 1427 regmap_update_bits(gcr_regmap, cfg->reg1, in npcm7xx_setfunc() 1432 regmap_update_bits(gcr_regmap, cfg->reg2, in npcm7xx_setfunc() 1442 struct regmap *gcr_regmap, unsigned int pin) in npcm7xx_get_slew_rate() argument 1453 regmap_read(gcr_regmap, NPCM7XX_GCR_SRCNT, &val); in npcm7xx_get_slew_rate() 1462 struct regmap *gcr_regmap, unsigned int pin, in npcm7xx_set_slew_rate() argument 1485 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate() 1489 regmap_update_bits(gcr_regmap, NPCM7XX_GCR_SRCNT, in npcm7xx_set_slew_rate() [all …]
|
| D | pinctrl-wpcm450.c | 60 struct regmap *gcr_regmap; member 797 static void wpcm450_setfunc(struct regmap *gcr_regmap, const unsigned int *pin, in wpcm450_setfunc() argument 807 regmap_update_bits(gcr_regmap, cfg->reg0, in wpcm450_setfunc() 811 regmap_update_bits(gcr_regmap, cfg->reg1, in wpcm450_setfunc() 892 wpcm450_setfunc(pctrl->gcr_regmap, wpcm450_groups[group].pins, in wpcm450_pinmux_set_mux() 1118 pctrl->gcr_regmap = in wpcm450_pinctrl_probe() 1120 if (IS_ERR(pctrl->gcr_regmap)) in wpcm450_pinctrl_probe() 1121 return dev_err_probe(dev, PTR_ERR(pctrl->gcr_regmap), in wpcm450_pinctrl_probe()
|
| /Linux-v6.1/drivers/spi/ |
| D | spi-npcm-fiu.c | 609 struct regmap *gcr_regmap; in npcm_fiu_dirmap_create() local 637 gcr_regmap = in npcm_fiu_dirmap_create() 639 if (IS_ERR(gcr_regmap)) { in npcm_fiu_dirmap_create() 644 regmap_update_bits(gcr_regmap, NPCM7XX_INTCR3_OFFSET, in npcm_fiu_dirmap_create()
|
| /Linux-v6.1/drivers/i2c/busses/ |
| D | i2c-npcm7xx.c | 2284 static struct regmap *gcr_regmap; in npcm_i2c_probe_bus() local 2311 gcr_regmap = syscon_regmap_lookup_by_phandle(np, "nuvoton,sys-mgr"); in npcm_i2c_probe_bus() 2312 if (IS_ERR(gcr_regmap)) in npcm_i2c_probe_bus() 2313 gcr_regmap = syscon_regmap_lookup_by_compatible("nuvoton,npcm750-gcr"); in npcm_i2c_probe_bus() 2315 if (IS_ERR(gcr_regmap)) in npcm_i2c_probe_bus() 2316 return PTR_ERR(gcr_regmap); in npcm_i2c_probe_bus() 2317 regmap_write(gcr_regmap, NPCM_I2CSEGCTL, bus->data->segctl_init_val); in npcm_i2c_probe_bus()
|