Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pinctrl/spear/
Dpinctrl-spear.c57 struct spear_pmx_mode *pmx_mode = NULL; in set_mode() local
66 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
71 if (!pmx_mode) in set_mode()
74 val = pmx_readl(pmx, pmx_mode->reg); in set_mode()
75 val &= ~pmx_mode->mask; in set_mode()
76 val |= pmx_mode->val; in set_mode()
77 pmx_writel(pmx, val, pmx_mode->reg); in set_mode()
79 pmx->machdata->mode = pmx_mode->mode; in set_mode()
81 pmx_mode->name ? pmx_mode->name : "no_name", in set_mode()
82 pmx_mode->reg); in set_mode()