Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dehci-npcm7xx.c66 struct regmap *rst_regmap; in npcm7xx_ehci_hcd_drv_probe() local
80 rst_regmap = syscon_regmap_lookup_by_compatible("nuvoton,npcm750-rst"); in npcm7xx_ehci_hcd_drv_probe()
81 if (IS_ERR(rst_regmap)) { in npcm7xx_ehci_hcd_drv_probe()
84 return PTR_ERR(rst_regmap); in npcm7xx_ehci_hcd_drv_probe()
89 regmap_update_bits(rst_regmap, IPSRST2_OFFSET, in npcm7xx_ehci_hcd_drv_probe()
91 regmap_update_bits(rst_regmap, IPSRST3_OFFSET, in npcm7xx_ehci_hcd_drv_probe()
99 regmap_update_bits(rst_regmap, IPSRST3_OFFSET, in npcm7xx_ehci_hcd_drv_probe()
108 regmap_update_bits(rst_regmap, IPSRST2_OFFSET, in npcm7xx_ehci_hcd_drv_probe()
/Linux-v5.4/drivers/iio/adc/
Dnpcm_adc.c26 struct regmap *rst_regmap; member
109 if ((regtemp & NPCM_ADCCON_ADC_CONV) && info->rst_regmap) { in npcm_adc_read()
111 regmap_write(info->rst_regmap, NPCM7XX_IPSRST1_OFFSET, in npcm_adc_read()
114 regmap_write(info->rst_regmap, NPCM7XX_IPSRST1_OFFSET, in npcm_adc_read()
217 info->rst_regmap = syscon_regmap_lookup_by_compatible in npcm_adc_probe()
219 if (IS_ERR(info->rst_regmap)) { in npcm_adc_probe()
221 ret = PTR_ERR(info->rst_regmap); in npcm_adc_probe()
/Linux-v5.4/drivers/spi/
Dspi-npcm-pspi.c23 struct regmap *rst_regmap; member
288 regmap_write(priv->rst_regmap, NPCM7XX_IPSRST2_OFFSET, in npcm_pspi_reset_hw()
290 regmap_write(priv->rst_regmap, NPCM7XX_IPSRST2_OFFSET, 0x0); in npcm_pspi_reset_hw()
393 priv->rst_regmap = in npcm_pspi_probe()
395 if (IS_ERR(priv->rst_regmap)) { in npcm_pspi_probe()
397 return PTR_ERR(priv->rst_regmap); in npcm_pspi_probe()