Home
last modified time | relevance | path

Searched refs:PINCFG_TYPE_FUNC (Results 1 – 5 of 5) sorted by relevance

/drivers/pinctrl/samsung/
Dpinctrl-samsung.c395 mask = (1 << type->fld_width[PINCFG_TYPE_FUNC]) - 1; in samsung_pinmux_setup()
396 shift = pin_offset * type->fld_width[PINCFG_TYPE_FUNC]; in samsung_pinmux_setup()
405 data = readl(reg + type->reg_offset[PINCFG_TYPE_FUNC]); in samsung_pinmux_setup()
408 writel(data, reg + type->reg_offset[PINCFG_TYPE_FUNC]); in samsung_pinmux_setup()
603 + type->reg_offset[PINCFG_TYPE_FUNC]; in samsung_gpio_set_direction()
605 mask = (1 << type->fld_width[PINCFG_TYPE_FUNC]) - 1; in samsung_gpio_set_direction()
606 shift = offset * type->fld_width[PINCFG_TYPE_FUNC]; in samsung_gpio_set_direction()
1184 if (widths[PINCFG_TYPE_FUNC] * bank->nr_pins > 32) { in samsung_pinctrl_suspend()
1187 readl(reg + offs[PINCFG_TYPE_FUNC] + 4); in samsung_pinctrl_suspend()
1190 bank->pm_save[PINCFG_TYPE_FUNC], in samsung_pinctrl_suspend()
[all …]
Dpinctrl-exynos.c168 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_request_resources()
169 shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC]; in exynos_irq_request_resources()
170 mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1; in exynos_irq_request_resources()
191 reg_con = bank->pctl_offset + bank_type->reg_offset[PINCFG_TYPE_FUNC]; in exynos_irq_release_resources()
192 shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC]; in exynos_irq_release_resources()
193 mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1; in exynos_irq_release_resources()
Dpinctrl-s3c64xx.c280 if (bank_type->fld_width[PINCFG_TYPE_FUNC] * shift >= 32) { in s3c64xx_irq_set_function()
286 shift = shift * bank_type->fld_width[PINCFG_TYPE_FUNC]; in s3c64xx_irq_set_function()
287 mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1; in s3c64xx_irq_set_function()
Dpinctrl-samsung.h34 PINCFG_TYPE_FUNC, enumerator
Dpinctrl-s3c24xx.c150 shift = pin * bank_type->fld_width[PINCFG_TYPE_FUNC]; in s3c24xx_eint_set_function()
151 mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1; in s3c24xx_eint_set_function()