• Home
  • Raw
  • Download

Lines Matching refs:pins

153 		pin = pctldev->desc->pins[i].number;  in pin_get_from_name()
207 const struct pinctrl_pin_desc *pins, in pinctrl_free_pindescs() argument
216 pins[i].number); in pinctrl_free_pindescs()
219 pins[i].number); in pinctrl_free_pindescs()
267 struct pinctrl_pin_desc const *pins, in pinctrl_register_pins() argument
275 pins[i].number, pins[i].name); in pinctrl_register_pins()
300 if (range->pins) in gpio_to_pin()
301 return range->pins[offset]; in gpio_to_pin()
466 const unsigned **pins, unsigned *num_pins) in pinctrl_get_group_pins() argument
478 return pctlops->get_group_pins(pctldev, gs, pins, num_pins); in pinctrl_get_group_pins()
497 if (range->pins) { in pinctrl_find_gpio_range_from_pin()
500 if (range->pins[a] == pin) in pinctrl_find_gpio_range_from_pin()
1251 struct dev_pin_info *pins = dev->pins; in pinctrl_pm_select_state() local
1256 ret = pinctrl_select_state(pins->p, state); in pinctrl_pm_select_state()
1269 if (!dev->pins) in pinctrl_pm_select_default_state()
1272 return pinctrl_pm_select_state(dev, dev->pins->default_state); in pinctrl_pm_select_default_state()
1282 if (!dev->pins) in pinctrl_pm_select_sleep_state()
1285 return pinctrl_pm_select_state(dev, dev->pins->sleep_state); in pinctrl_pm_select_sleep_state()
1295 if (!dev->pins) in pinctrl_pm_select_idle_state()
1298 return pinctrl_pm_select_state(dev, dev->pins->idle_state); in pinctrl_pm_select_idle_state()
1319 pin = pctldev->desc->pins[i].number; in pinctrl_pins_show()
1352 const unsigned *pins = NULL; in pinctrl_groups_show() local
1361 &pins, &num_pins); in pinctrl_groups_show()
1368 pname = pin_get_name(pctldev, pins[i]); in pinctrl_groups_show()
1373 seq_printf(s, "pin %d (%s)\n", pins[i], pname); in pinctrl_groups_show()
1396 if (range->pins) { in pinctrl_gpioranges_show()
1402 seq_printf(s, "%u, ", range->pins[a]); in pinctrl_gpioranges_show()
1403 seq_printf(s, "%u}\n", range->pins[a]); in pinctrl_gpioranges_show()
1746 ret = pinctrl_register_pins(pctldev, pctldesc->pins, pctldesc->npins); in pinctrl_register()
1749 pinctrl_free_pindescs(pctldev, pctldesc->pins, in pinctrl_register()
1814 pinctrl_free_pindescs(pctldev, pctldev->desc->pins, in pinctrl_unregister()