Home
last modified time | relevance | path

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

/drivers/pinctrl/spear/
Dpinctrl-spear.c55 struct spear_pmx_mode *pmx_mode = NULL; in set_mode() local
64 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
69 if (!pmx_mode) in set_mode()
72 val = pmx_readl(pmx, pmx_mode->reg); in set_mode()
73 val &= ~pmx_mode->mask; in set_mode()
74 val |= pmx_mode->val; in set_mode()
75 pmx_writel(pmx, val, pmx_mode->reg); in set_mode()
77 pmx->machdata->mode = pmx_mode->mode; in set_mode()
79 pmx_mode->name ? pmx_mode->name : "no_name", in set_mode()
80 pmx_mode->reg); in set_mode()