Lines Matching full:npcm

1902 	struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);  in npcm8xx_get_drive_strength()  local
1904 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_get_drive_strength()
1921 static int npcm8xx_set_drive_strength(struct npcm8xx_pinctrl *npcm, in npcm8xx_set_drive_strength() argument
1925 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_set_drive_strength()
2014 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_pinmux_set_mux() local
2016 npcm8xx_setfunc(npcm->gcr_regmap, npcm8xx_pingroups[group].pins, in npcm8xx_pinmux_set_mux()
2026 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_gpio_request_enable() local
2033 npcm8xx_setfunc(npcm->gcr_regmap, &offset, 1, mode); in npcm8xx_gpio_request_enable()
2042 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_gpio_request_free() local
2045 virq = irq_find_mapping(npcm->domain, offset); in npcm8xx_gpio_request_free()
2054 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm_gpio_set_direction() local
2056 &npcm->gpio_bank[offset / NPCM8XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
2143 static int npcm_set_debounce(struct npcm8xx_pinctrl *npcm, unsigned int pin, in npcm_set_debounce() argument
2147 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm_set_debounce()
2155 …dev_err(npcm->dev, "Pin %d, All four debounce timing values are used, please use one of exist debo… in npcm_set_debounce()
2172 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_config_get() local
2174 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_get()
2217 rc = npcm8xx_get_slew_rate(bank, npcm->gcr_regmap, pin); in npcm8xx_config_get()
2231 static int npcm8xx_config_set_one(struct npcm8xx_pinctrl *npcm, in npcm8xx_config_set_one() argument
2236 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_set_one()
2268 return npcm_set_debounce(npcm, pin, arg * 1000); in npcm8xx_config_set_one()
2270 return npcm8xx_set_slew_rate(bank, npcm->gcr_regmap, pin, arg); in npcm8xx_config_set_one()
2272 return npcm8xx_set_drive_strength(npcm, pin, arg); in npcm8xx_config_set_one()
2283 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_config_set() local
2287 rc = npcm8xx_config_set_one(npcm, pin, *configs++); in npcm8xx_config_set()