Lines Matching defs:pins
43 unsigned *pins;
87 if (pid >= pctl->groups[n].pins[0] &&
88 pid < pctl->groups[n].pins[0] +
181 return grp->ctrl->mpp_get(grp->data, grp->pins[0], config);
196 ret = grp->ctrl->mpp_set(grp->data, grp->pins[0], configs[i]);
396 unsigned gid, const unsigned **pins,
400 *pins = pctl->groups[gid].pins;
426 nmaps = of_property_count_strings(np, "marvell,pins");
429 "missing marvell,pins in node %pOFn\n", np);
438 of_property_for_each_string(np, "marvell,pins", prop, group) {
508 /* we allocate functions for number of pins and hope
509 * there are fewer unique functions than pins available */
531 "More functions than pins(%d)\n",
616 /* initialize control's pins[] array */
618 ctrl->pins[k] = ctrl->pid + k;
642 pctl->desc.pins = pdesc;
666 pctl->groups[gid].pins = ctrl->pins;
686 pctl->groups[gid].pins = &ctrl->pins[k];