Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/pinctrl/spear/
Dpinctrl-spear.c61 if (!pmx->machdata->pmx_modes || !pmx->machdata->npmx_modes) in set_mode()
64 for (i = 0; i < pmx->machdata->npmx_modes; i++) { in set_mode()
65 if (pmx->machdata->pmx_modes[i]->mode == (1 << mode)) { in set_mode()
66 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
79 pmx->machdata->mode = pmx_mode->mode; in set_mode()
97 void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg) in pmx_init_addr() argument
103 for (group = 0; group < machdata->ngroups; group++) { in pmx_init_addr()
104 pgroup = machdata->groups[group]; in pmx_init_addr()
120 return pmx->machdata->ngroups; in spear_pinctrl_get_groups_cnt()
128 return pmx->machdata->groups[group]->name; in spear_pinctrl_get_group_name()
[all …]
Dpinctrl-spear.h181 struct spear_pinctrl_machdata *machdata; member
199 void pmx_init_addr(struct spear_pinctrl_machdata *machdata, u16 reg);
203 struct spear_pinctrl_machdata *machdata);