Ian Lepore
7ec74c580d
Add a pair of convenience routines for doing simple "register" read/writes
...
on i2c devices, where the "register" can be any length.
Many (perhaps most) common i2c devices are organized as a collection of
(usually 1-byte-wide) registers, and are accessed by first writing a 1-byte
register index/offset number, then by reading or writing the data.
Generally there is an auto-increment feature so the when multiple bytes
are read or written, multiple contiguous registers are accessed.
Most existing slave device drivers allocate an array of iic_msg structures,
fill in all the transfer info, and invoke iicbus_transfer(). These new
functions commonize all that and reduce register access to a simple call
with a few arguments.
2017-07-26 20:40:24 +00:00
..
2017-07-01 05:35:29 +00:00
2017-07-01 05:35:29 +00:00
2017-07-05 17:39:17 +00:00
2017-02-19 17:27:58 +00:00
2017-04-14 02:24:02 +00:00
2017-04-14 08:27:42 +00:00
2017-07-09 22:53:24 +00:00
2017-02-19 17:27:58 +00:00
2017-06-21 00:30:57 +00:00
2017-07-10 05:08:01 +00:00
2017-02-20 03:43:12 +00:00
2017-03-03 22:51:04 +00:00
2017-02-20 03:43:12 +00:00
2017-07-14 14:53:13 +00:00
2017-02-17 18:49:18 +00:00
2017-02-19 17:27:58 +00:00
2017-06-29 03:59:02 +00:00
2017-05-29 20:43:00 +00:00
2017-02-15 13:56:04 +00:00
2017-02-20 03:43:12 +00:00
2017-02-20 03:43:12 +00:00
2017-05-28 12:05:16 +00:00
2017-06-27 03:57:31 +00:00
2017-07-25 15:33:34 +00:00
2017-02-20 03:43:12 +00:00
2017-07-06 17:03:22 +00:00
2017-04-06 17:08:59 +00:00
2017-07-19 14:21:29 +00:00
2017-02-23 15:30:21 +00:00
2017-05-19 08:19:39 +00:00
2017-05-06 05:52:01 +00:00
2017-02-25 15:55:46 +00:00
2017-02-20 03:43:12 +00:00
2017-02-20 03:43:12 +00:00
2017-03-19 21:25:27 +00:00
2017-05-17 00:34:34 +00:00
2017-02-20 03:43:12 +00:00
2017-02-20 03:43:12 +00:00
2017-07-01 05:35:29 +00:00
2017-07-26 20:20:58 +00:00
2017-04-27 16:14:32 +00:00
2017-02-20 03:43:12 +00:00
2017-05-12 04:10:02 +00:00
2017-02-16 21:57:13 +00:00
2017-07-10 05:08:01 +00:00
2017-05-18 18:37:19 +00:00
2017-07-21 17:42:54 +00:00
2017-02-20 03:43:12 +00:00
2017-07-10 22:11:30 +00:00
2017-02-16 21:56:51 +00:00
2017-06-20 18:11:23 +00:00
2017-07-23 20:41:58 +00:00
2017-04-06 17:16:41 +00:00
2017-03-05 07:13:29 +00:00
2017-04-20 15:18:15 +00:00
2017-02-28 23:42:47 +00:00
2017-04-30 07:31:48 +00:00
2017-02-20 03:43:12 +00:00
2017-06-11 00:44:19 +00:00
2017-03-07 16:07:52 +00:00
2017-05-06 06:08:44 +00:00
2017-04-14 02:33:26 +00:00
2017-02-10 15:18:41 +00:00
2017-02-20 03:43:12 +00:00
2017-07-06 05:32:22 +00:00
2017-02-10 15:18:41 +00:00
2017-02-10 15:18:41 +00:00
2017-06-13 18:53:56 +00:00
2017-07-24 04:00:43 +00:00
2017-02-28 23:42:47 +00:00
2017-04-02 11:36:25 +00:00
2017-03-01 05:18:43 +00:00
2017-02-16 21:56:57 +00:00
2017-05-22 20:00:01 +00:00
2017-07-26 20:40:24 +00:00
2017-03-04 12:51:57 +00:00
2017-07-10 05:08:01 +00:00
2017-06-08 21:30:34 +00:00
2017-07-10 06:25:30 +00:00
2017-07-06 17:03:22 +00:00
2017-07-26 05:52:37 +00:00
2017-04-02 13:24:58 +00:00
2017-05-17 00:34:34 +00:00
2017-07-25 14:38:30 +00:00
2017-07-14 00:10:51 +00:00
2017-06-23 11:55:43 +00:00
2017-04-14 08:11:50 +00:00
2017-02-20 03:43:12 +00:00
2017-05-17 00:34:34 +00:00
2017-06-14 03:55:11 +00:00
2017-07-01 05:35:29 +00:00
2017-06-11 00:38:16 +00:00
2017-02-16 21:56:32 +00:00
2017-07-10 19:26:50 +00:00
2017-06-21 18:20:17 +00:00
2017-07-25 20:36:44 +00:00
2017-07-09 17:02:47 +00:00
2017-07-26 01:48:13 +00:00
2017-07-19 15:39:01 +00:00
2017-06-30 22:06:24 +00:00
2017-05-17 00:34:34 +00:00
2017-04-14 07:27:23 +00:00
2017-02-19 17:27:58 +00:00
2017-02-20 02:08:08 +00:00
2017-05-17 00:34:34 +00:00
2017-05-04 20:42:31 +00:00
2017-02-20 03:43:12 +00:00
2017-06-20 18:14:56 +00:00
2017-07-21 03:59:56 +00:00
2017-02-28 23:42:47 +00:00
2017-04-23 14:25:51 +00:00
2017-07-14 14:52:20 +00:00
2017-04-20 15:06:16 +00:00
2017-02-26 20:49:35 +00:00
2017-02-20 03:43:12 +00:00
2017-04-27 16:32:42 +00:00
2017-05-17 00:34:34 +00:00
2017-02-16 21:57:08 +00:00
2017-02-20 03:43:12 +00:00
2017-05-17 00:34:34 +00:00
2017-05-17 00:34:34 +00:00
2017-06-18 00:08:38 +00:00
2017-07-18 06:15:05 +00:00
2017-05-17 00:34:34 +00:00
2017-07-19 19:08:37 +00:00
2017-05-17 00:34:34 +00:00
2017-02-26 20:49:35 +00:00
2017-04-16 09:11:02 +00:00
2017-05-17 00:34:34 +00:00
2017-05-06 06:20:34 +00:00
2017-07-06 07:37:33 +00:00
2017-02-20 03:43:12 +00:00
2017-07-23 16:11:47 +00:00
2017-02-19 17:27:58 +00:00
2017-02-28 23:42:47 +00:00
2017-02-20 03:43:12 +00:00
2017-05-23 09:29:05 +00:00
2017-05-25 05:23:47 +00:00
2017-05-17 00:34:34 +00:00
2017-03-09 01:00:27 +00:00
2017-02-20 03:43:12 +00:00
2017-07-10 09:00:35 +00:00
2017-05-17 00:34:34 +00:00
2017-04-06 22:21:49 +00:00
2017-02-19 17:27:58 +00:00
2017-07-01 05:35:29 +00:00
2017-03-01 04:40:57 +00:00
2017-05-17 13:22:13 +00:00
2017-04-14 03:23:03 +00:00
2017-06-02 14:01:17 +00:00
2017-07-13 02:20:07 +00:00
2017-02-13 21:44:29 +00:00
2017-05-25 10:49:56 +00:00
2017-03-31 18:04:34 +00:00
2017-06-14 02:28:10 +00:00
2017-02-20 03:43:12 +00:00
2017-02-23 18:56:31 +00:00
2017-04-20 09:01:31 +00:00
2017-05-17 00:34:34 +00:00
2017-03-15 09:31:58 +00:00
2017-02-26 20:49:35 +00:00
2017-07-01 05:35:29 +00:00
2017-07-01 05:35:29 +00:00
2017-05-17 00:34:34 +00:00