Home
last modified time | relevance | path

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

/drivers/pinctrl/spear/
Dpinctrl-spear.c59 if (!pmx->machdata->pmx_modes || !pmx->machdata->npmx_modes) in set_mode()
62 for (i = 0; i < pmx->machdata->npmx_modes; i++) { in set_mode()
63 if (pmx->machdata->pmx_modes[i]->mode == (1 << mode)) { in set_mode()
64 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
77 pmx->machdata->mode = pmx_mode->mode; in set_mode()
95 void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) in pmx_init_addr() argument
101 for (group = 0; group < machdata->ngroups; group++) { in pmx_init_addr()
102 pgroup = machdata->groups[group]; in pmx_init_addr()
118 return pmx->machdata->ngroups; in spear_pinctrl_get_groups_cnt()
126 return pmx->machdata->groups[group]->name; in spear_pinctrl_get_group_name()
[all …]
Dpinctrl-spear.h180 struct spear_pinctrl_machdata *machdata; member
195 void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg);
199 struct spear_pinctrl_machdata *machdata);