Lines Matching +full:request +full:- +full:gpios
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * devres.c - managed gpio resources
41 struct gpio_descs **this = res, **gpios = data; in devm_gpiod_match_array() local
43 return *this == *gpios; in devm_gpiod_match_array()
47 * devm_gpiod_get - Resource-managed gpiod_get()
65 * devm_gpiod_get_optional - Resource-managed gpiod_get_optional()
83 * devm_gpiod_get_index - Resource-managed gpiod_get_index()
106 * For non-exclusive GPIO descriptors, check if this descriptor is in devm_gpiod_get_index()
122 return ERR_PTR(-ENOMEM); in devm_gpiod_get_index()
133 * devm_fwnode_gpiod_get_index - get a GPIO descriptor from a given node
144 * On successful request the GPIO pin is configured in accordance with
159 return ERR_PTR(-ENOMEM); in devm_fwnode_gpiod_get_index()
175 * devm_gpiod_get_index_optional - Resource-managed gpiod_get_index_optional()
202 * devm_gpiod_get_array - Resource-managed gpiod_get_array()
221 return ERR_PTR(-ENOMEM); in devm_gpiod_get_array()
237 * devm_gpiod_get_array_optional - Resource-managed gpiod_get_array_optional()
262 * devm_gpiod_put - Resource-managed gpiod_put()
278 * devm_gpiod_unhinge - Remove resource management from a gpio descriptor
298 * so it is OK if devres_destroy() returns -ENOENT. in devm_gpiod_unhinge()
300 if (ret == -ENOENT) in devm_gpiod_unhinge()
308 * devm_gpiod_put_array - Resource-managed gpiod_put_array()
313 * Normally this function will not be called as the GPIOs will be disposed of
331 * devm_gpio_request - request a GPIO for a managed device
332 * @dev: device to request the GPIO for
338 * gpio_request(). GPIOs requested with this function will be
348 return -ENOMEM; in devm_gpio_request()
364 * devm_gpio_request_one - request a single GPIO with initial setup
365 * @dev: device to request for
378 return -ENOMEM; in devm_gpio_request_one()
401 * devm_gpiochip_add_data_with_key() - Resource managed gpiochip_add_data_with_key()
404 * @data: driver-private data associated with this chip
406 * @request_key: lockdep class for IRQ request
414 * gc->base is invalid or already associated with a different chip.