Lines Matching defs:pins
40 * AMBA device, managing 32 pins and alternate functions. The logic block
1193 const unsigned **pins,
1198 *pins = npct->soc->groups[selector].grp.pins;
1368 if (npct->soc->pins[i].number == pin_number)
1369 return npct->soc->pins[i].name;
1439 ret = of_property_count_strings(np, "pins");
1448 of_property_for_each_string(np, "pins", prop, pin) {
1541 dev_dbg(npct->dev, "enable group %s, %u pins\n", g->grp.name, g->grp.npins);
1569 /* Initially don't put any pins to sleep when switching */
1573 * Then mask the pins that need to be sleeping now when we're
1577 unsigned int bit = g->grp.pins[i] % NMK_GPIO_PER_CHIP;
1578 slpm[g->grp.pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(bit);
1587 nmk_chip = find_nmk_gpio_from_pin(g->grp.pins[i]);
1591 g->grp.pins[i], g->grp.name, i);
1594 dev_dbg(npct->dev, "setting pin %d to altsetting %d\n", g->grp.pins[i], g->altsetting);
1597 bit = g->grp.pins[i] % NMK_GPIO_PER_CHIP;
1620 nmk_prcm_altcx_set_mode(npct, g->grp.pins[i],
1624 /* When all pins are successfully reconfigured we get here */
1741 /* All pins go into GPIO mode at sleep */
1782 /* TODO: isn't this only applicable on output pins? */
1906 nmk_pinctrl_desc.pins = npct->soc->pins;