Lines Matching refs:pin
76 static inline unsigned nsp_pin_to_gpio(unsigned pin)
78 return pin;
82 * nsp_set_bit - set or clear one bit (corresponding to the GPIO pin) in a
88 * @gpio: GPIO pin
112 * nsp_get_bit - get one bit (corresponding to the GPIO pin) in a
459 static int nsp_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin,
469 gpio = nsp_pin_to_gpio(pin);
504 static int nsp_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin,
513 gpio = nsp_pin_to_gpio(pin);
569 * pull up, pull down, slew and drive strength, when the pin is configured
572 * Here a local pinctrl device is created with simple 1-to-1 pin mapping to the