Lines Matching refs:pins
43 unsigned *pins;
87 if (pid >= pctl->groups[n].pins[0] &&
88 pid < pctl->groups[n].pins[0] +
171 return grp->ctrl->mpp_get(grp->data, grp->pins[0], config);
186 ret = grp->ctrl->mpp_set(grp->data, grp->pins[0], configs[i]);
386 unsigned gid, const unsigned **pins,
390 *pins = pctl->groups[gid].pins;
416 nmaps = of_property_count_strings(np, "marvell,pins");
419 "missing marvell,pins in node %pOFn\n", np);
428 of_property_for_each_string(np, "marvell,pins", prop, group) {
498 /* we allocate functions for number of pins and hope
499 * there are fewer unique functions than pins available */
521 "More functions than pins(%d)\n",
606 /* initialize control's pins[] array */
608 ctrl->pins[k] = ctrl->pid + k;
632 pctl->desc.pins = pdesc;
656 pctl->groups[gid].pins = ctrl->pins;
676 pctl->groups[gid].pins = &ctrl->pins[k];