Searched refs:spmx (Results 1 – 1 of 1) sorted by relevance
82 struct sirfsoc_pmx *spmx = pinctrl_dev_get_drvdata(pctldev); in sirfsoc_dt_node_to_map() local106 dev_err(spmx->dev, "No child nodes passed via DT\n"); in sirfsoc_dt_node_to_map()147 static void sirfsoc_pinmux_endisable(struct sirfsoc_pmx *spmx, in sirfsoc_pinmux_endisable() argument157 muxval = readl(spmx->gpio_virtbase + in sirfsoc_pinmux_endisable()163 writel(muxval, spmx->gpio_virtbase + in sirfsoc_pinmux_endisable()171 readl(spmx->rsc_virtbase + mux->ctrlreg); in sirfsoc_pinmux_endisable()174 writel(func_en_val, spmx->rsc_virtbase + mux->ctrlreg); in sirfsoc_pinmux_endisable()182 struct sirfsoc_pmx *spmx; in sirfsoc_pinmux_set_mux() local184 spmx = pinctrl_dev_get_drvdata(pmxdev); in sirfsoc_pinmux_set_mux()185 sirfsoc_pinmux_endisable(spmx, selector, true); in sirfsoc_pinmux_set_mux()[all …]