Lines Matching defs:pins
36 * AMBA device, managing 32 pins and alternate functions. The logic block
1186 const unsigned **pins,
1191 *pins = npct->soc->groups[selector].pins;
1361 if (npct->soc->pins[i].number == pin_number)
1362 return npct->soc->pins[i].name;
1432 ret = of_property_count_strings(np, "pins");
1441 of_property_for_each_string(np, "pins", prop, pin) {
1534 dev_dbg(npct->dev, "enable group %s, %u pins\n", g->name, g->npins);
1562 /* Initially don't put any pins to sleep when switching */
1566 * Then mask the pins that need to be sleeping now when we're
1570 slpm[g->pins[i] / NMK_GPIO_PER_CHIP] &= ~BIT(g->pins[i]);
1578 nmk_chip = find_nmk_gpio_from_pin(g->pins[i]);
1582 g->pins[i], g->name, i);
1585 dev_dbg(npct->dev, "setting pin %d to altsetting %d\n", g->pins[i], g->altsetting);
1588 bit = g->pins[i] % NMK_GPIO_PER_CHIP;
1611 nmk_prcm_altcx_set_mode(npct, g->pins[i],
1615 /* When all pins are successfully reconfigured we get here */
1732 /* All pins go into GPIO mode at sleep */
1773 /* TODO: isn't this only applicable on output pins? */
1903 nmk_pinctrl_desc.pins = npct->soc->pins;