Home
last modified time | relevance | path

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

/drivers/pinctrl/spear/
Dpinctrl-spear.c56 struct spear_pmx_mode *pmx_mode = NULL; in set_mode() local
65 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
70 if (!pmx_mode) in set_mode()
73 val = pmx_readl(pmx, pmx_mode->reg); in set_mode()
74 val &= ~pmx_mode->mask; in set_mode()
75 val |= pmx_mode->val; in set_mode()
76 pmx_writel(pmx, val, pmx_mode->reg); in set_mode()
78 pmx->machdata->mode = pmx_mode->mode; in set_mode()
80 pmx_mode->name ? pmx_mode->name : "no_name", in set_mode()
81 pmx_mode->reg); in set_mode()