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

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

Completed in 35 milliseconds