Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/pinctrl/
Dpinctrl-sirf.c988 static void sirfsoc_pinmux_endisable(struct sirfsoc_pmx *spmx, unsigned selector, in sirfsoc_pinmux_endisable() argument
997 muxval = readl(spmx->gpio_virtbase + SIRFSOC_GPIO_PAD_EN(mask[i].group)); in sirfsoc_pinmux_endisable()
1002 writel(muxval, spmx->gpio_virtbase + SIRFSOC_GPIO_PAD_EN(mask[i].group)); in sirfsoc_pinmux_endisable()
1008 readl(spmx->rsc_virtbase + SIRFSOC_RSC_PIN_MUX); in sirfsoc_pinmux_endisable()
1012 writel(func_en_val, spmx->rsc_virtbase + SIRFSOC_RSC_PIN_MUX); in sirfsoc_pinmux_endisable()
1019 struct sirfsoc_pmx *spmx; in sirfsoc_pinmux_enable() local
1021 spmx = pinctrl_dev_get_drvdata(pmxdev); in sirfsoc_pinmux_enable()
1022 sirfsoc_pinmux_endisable(spmx, selector, true); in sirfsoc_pinmux_enable()
1030 struct sirfsoc_pmx *spmx; in sirfsoc_pinmux_disable() local
1032 spmx = pinctrl_dev_get_drvdata(pmxdev); in sirfsoc_pinmux_disable()
[all …]