Lines Matching defs:index
4256 * @index: index of the GPIO to obtain for the consumer
4275 int index,
4279 return gpiod_find_and_request(NULL, fwnode, con_id, index, flags, label, false);
4353 * requested function and/or index, or another IS_ERR() code if an error
4418 * gpiod_get_index - obtain a GPIO from a multi-index GPIO function
4421 * @idx: index of the GPIO to obtain in the consumer
4428 * requested function and/or index, or another IS_ERR() code if an error
4445 * gpiod_get_index_optional - obtain an optional GPIO from a multi-index GPIO
4449 * @index: index of the GPIO to obtain in the consumer
4453 * specified index was assigned to the requested function it will return NULL.
4458 unsigned int index,
4463 desc = gpiod_get_index(dev, con_id, index, flags);
4527 * gpiod_get_array - obtain multiple GPIOs from a multi-index GPIO function
4621 * hardware number is different from its array index.
4654 * gpiod_get_array_optional - obtain multiple GPIOs from a multi-index GPIO
4814 loff_t index = *pos;
4825 if (index-- == 0)