Lines Matching full:npcm

1919 	struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev);  in npcm8xx_get_drive_strength()  local
1921 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_get_drive_strength()
1938 static int npcm8xx_set_drive_strength(struct npcm8xx_pinctrl *npcm, in npcm8xx_set_drive_strength() argument
1942 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_set_drive_strength()
2031 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_pinmux_set_mux() local
2033 npcm8xx_setfunc(npcm->gcr_regmap, npcm8xx_pingroups[group].pins, in npcm8xx_pinmux_set_mux()
2043 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_gpio_request_enable() local
2050 npcm8xx_setfunc(npcm->gcr_regmap, &offset, 1, mode); in npcm8xx_gpio_request_enable()
2059 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_gpio_request_free() local
2062 virq = irq_find_mapping(npcm->domain, offset); in npcm8xx_gpio_request_free()
2071 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm_gpio_set_direction() local
2073 &npcm->gpio_bank[offset / NPCM8XX_GPIO_PER_BANK]; in npcm_gpio_set_direction()
2160 static int npcm_set_debounce(struct npcm8xx_pinctrl *npcm, unsigned int pin, in npcm_set_debounce() argument
2164 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm_set_debounce()
2172 …dev_err(npcm->dev, "Pin %d, All four debounce timing values are used, please use one of exist debo… in npcm_set_debounce()
2189 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_config_get() local
2191 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_get()
2234 rc = npcm8xx_get_slew_rate(bank, npcm->gcr_regmap, pin); in npcm8xx_config_get()
2248 static int npcm8xx_config_set_one(struct npcm8xx_pinctrl *npcm, in npcm8xx_config_set_one() argument
2253 &npcm->gpio_bank[pin / NPCM8XX_GPIO_PER_BANK]; in npcm8xx_config_set_one()
2285 return npcm_set_debounce(npcm, pin, arg * 1000); in npcm8xx_config_set_one()
2287 return npcm8xx_set_slew_rate(bank, npcm->gcr_regmap, pin, arg); in npcm8xx_config_set_one()
2289 return npcm8xx_set_drive_strength(npcm, pin, arg); in npcm8xx_config_set_one()
2300 struct npcm8xx_pinctrl *npcm = pinctrl_dev_get_drvdata(pctldev); in npcm8xx_config_set() local
2304 rc = npcm8xx_config_set_one(npcm, pin, *configs++); in npcm8xx_config_set()