Alexandre Courbot
1a989d0f1d
gpiolib: link all gpio_chips using a list
...
Add a list member to gpio_chip that allows all chips to be parsed
quickly. The current method requires parsing the entire GPIO integer
space, which is painfully slow. Using a list makes many chip operations
that involve lookup or parsing faster, and also simplifies the code. It
is also necessary to eventually get rid of the global gpio_desc[] array.
The list of gpio_chips is always ordered by base GPIO number to ensure
chips traversal is done in the right order.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2013-02-09 09:20:12 +00:00
..
2012-07-05 14:49:13 +02:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-07-12 13:40:13 +02:00
2012-11-28 11:39:59 -08:00
2012-10-07 17:49:05 +09:00
2012-10-27 18:17:30 +02:00
2012-11-28 11:39:59 -08:00
2012-12-16 18:55:20 -08:00
2013-01-03 15:57:16 -08:00
2012-09-01 01:12:01 +02:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:33 -08:00
2012-03-16 11:15:48 -05:00
2012-11-28 11:39:59 -08:00
2012-12-19 22:13:08 +00:00
2011-06-06 10:10:11 -06:00
2012-11-28 11:39:59 -08:00
2011-08-22 09:12:54 +01:00
2013-02-05 13:33:30 +00:00
2012-11-28 11:39:59 -08:00
2013-02-05 13:33:29 +00:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-09-01 01:02:27 +02:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2012-05-21 14:31:53 +01:00
2013-02-04 21:41:46 +01:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:33 -08:00
2011-08-01 04:58:00 -07:00
2012-11-28 11:39:59 -08:00
2013-01-17 12:27:08 +01:00
2012-11-28 11:39:33 -08:00
2013-01-29 12:02:05 +01:00
2012-12-11 13:13:55 -08:00
2013-01-28 11:17:04 +01:00
2012-12-07 09:16:12 +01:00
2012-12-11 13:13:55 -08:00
2013-01-22 10:43:15 +01:00
2013-01-25 10:51:12 +01:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-03-25 23:57:20 +01:00
2013-01-17 11:53:54 +01:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:33 -08:00
2012-11-18 00:01:27 +01:00
2012-11-28 11:39:33 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:33 -08:00
2012-11-28 11:39:59 -08:00
2012-12-11 13:13:55 -08:00
2012-12-11 13:13:55 -08:00
2012-11-28 11:39:59 -08:00
2011-08-22 09:12:55 +01:00
2012-12-16 18:55:20 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-01-03 15:57:16 -08:00
2013-01-17 11:48:12 +01:00
2012-11-28 11:39:59 -08:00
2012-01-02 00:26:06 -07:00
2013-01-03 15:57:16 -08:00
2012-11-28 11:39:59 -08:00
2013-01-10 11:45:35 +01:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2012-11-28 11:39:59 -08:00
2013-02-04 21:41:47 +01:00
2012-11-21 08:55:03 +01:00
2013-02-09 09:20:12 +00:00
2013-02-05 13:37:46 +00:00
2013-02-05 13:37:46 +00:00