Lines Matching refs:gid

44 	unsigned gid;  member
175 unsigned gid, unsigned long *config) in mvebu_pinconf_group_get() argument
178 struct mvebu_pinctrl_group *grp = &pctl->groups[gid]; in mvebu_pinconf_group_get()
187 unsigned gid, unsigned long *configs, in mvebu_pinconf_group_set() argument
191 struct mvebu_pinctrl_group *grp = &pctl->groups[gid]; in mvebu_pinconf_group_set()
207 struct seq_file *s, unsigned gid) in mvebu_pinconf_group_dbg_show() argument
210 struct mvebu_pinctrl_group *grp = &pctl->groups[gid]; in mvebu_pinconf_group_dbg_show()
215 if (mvebu_pinconf_group_get(pctldev, gid, &config)) in mvebu_pinconf_group_dbg_show()
297 unsigned gid) in mvebu_pinmux_set() argument
301 struct mvebu_pinctrl_group *grp = &pctl->groups[gid]; in mvebu_pinmux_set()
311 func->name, func->groups[gid]); in mvebu_pinmux_set()
316 ret = mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1); in mvebu_pinmux_set()
319 func->groups[gid], func->name); in mvebu_pinmux_set()
347 return mvebu_pinconf_group_set(pctldev, grp->gid, &config, 1); in mvebu_pinmux_gpio_request_enable()
391 unsigned gid) in mvebu_pinctrl_get_group_name() argument
394 return pctl->groups[gid].name; in mvebu_pinctrl_get_group_name()
398 unsigned gid, const unsigned **pins, in mvebu_pinctrl_get_group_pins() argument
402 *pins = pctl->groups[gid].pins; in mvebu_pinctrl_get_group_pins()
403 *num_pins = pctl->groups[gid].npins; in mvebu_pinctrl_get_group_pins()
585 unsigned gid, n, k; in mvebu_pinctrl_probe() local
658 gid = 0; in mvebu_pinctrl_probe()
664 pctl->groups[gid].gid = gid; in mvebu_pinctrl_probe()
665 pctl->groups[gid].ctrl = ctrl; in mvebu_pinctrl_probe()
666 pctl->groups[gid].data = data; in mvebu_pinctrl_probe()
667 pctl->groups[gid].name = ctrl->name; in mvebu_pinctrl_probe()
668 pctl->groups[gid].pins = ctrl->pins; in mvebu_pinctrl_probe()
669 pctl->groups[gid].npins = ctrl->npins; in mvebu_pinctrl_probe()
677 pctl->groups[gid].name = noname_buf; in mvebu_pinctrl_probe()
678 pctl->groups[gid].npins = 1; in mvebu_pinctrl_probe()
683 gid++; in mvebu_pinctrl_probe()
684 pctl->groups[gid].gid = gid; in mvebu_pinctrl_probe()
685 pctl->groups[gid].ctrl = ctrl; in mvebu_pinctrl_probe()
686 pctl->groups[gid].data = data; in mvebu_pinctrl_probe()
687 pctl->groups[gid].name = noname_buf; in mvebu_pinctrl_probe()
688 pctl->groups[gid].pins = &ctrl->pins[k]; in mvebu_pinctrl_probe()
689 pctl->groups[gid].npins = 1; in mvebu_pinctrl_probe()
694 gid++; in mvebu_pinctrl_probe()