Searched refs:spmx (Results 1 – 1 of 1) sorted by relevance
988 static void sirfsoc_pinmux_endisable(struct sirfsoc_pmx *spmx, unsigned selector, in sirfsoc_pinmux_endisable() argument997 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() local1021 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() local1032 spmx = pinctrl_dev_get_drvdata(pmxdev); in sirfsoc_pinmux_disable()[all …]