David Vrabel
eb65946892
sdio: extend sdio_readsb() and friends to handle any length of buffer
...
Extend sdio_readsb(), sdio_writesb(), sdio_memcpy_fromio(), and
sdio_memcpy_toio() to handle any length of buffer by splitting the transfer
into several IO_RW_EXTENDED commands. Typically, a transfer would be split
into a single block mode transfer followed by a byte mode transfer for the
remainder but we also handle lack of block mode support and the block size
being greater than 512 (the maximum byte mode transfer size).
host->max_seg_size <= host->max_req_size so there's no need to check both
when determining the maximum data size for a single command.
Signed-off-by: David Vrabel <david.vrabel@csr.com >
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx >
2007-09-23 21:21:32 +02:00
..
2007-07-31 15:39:39 -07:00
2007-09-22 17:15:34 -07:00
2007-04-27 10:57:29 -07:00
2007-09-20 16:07:33 -04:00
2007-08-18 09:52:50 -07:00
2007-08-22 19:52:46 -07:00
2007-09-19 11:24:18 -07:00
2007-09-19 11:24:16 -07:00
2007-09-09 08:39:27 +02:00
2007-07-24 09:28:11 +02:00
2007-09-19 11:24:18 -07:00
2007-07-21 18:37:12 -07:00
2007-07-16 09:05:40 -07:00
2007-07-13 01:29:51 -04:00
2007-08-18 09:52:50 -07:00
2007-08-26 18:35:40 -07:00
2007-09-11 17:21:19 -07:00
2007-05-08 11:15:02 -07:00
2007-02-14 08:09:54 -08:00
2007-09-07 18:44:35 +02:00
2007-07-16 09:05:42 -07:00
2007-08-18 09:52:50 -07:00
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
2007-09-17 12:35:30 +02:00
2007-09-20 21:19:45 +02:00
2007-08-31 20:40:37 -07:00
2007-09-12 07:57:00 -07:00
2007-08-26 18:35:46 -07:00
2007-09-22 12:55:18 -07:00
2007-07-16 01:15:51 +01:00
2007-09-12 12:19:46 -07:00
2007-08-25 16:58:27 +10:00
2007-05-09 12:30:49 -07:00
2007-09-14 13:56:47 -07:00
2007-09-19 11:24:17 -07:00
2007-08-06 17:48:34 -07:00
2007-07-19 10:04:50 -07:00
2007-09-17 00:58:40 -04:00
2007-09-23 21:21:32 +02:00
2007-09-19 11:24:17 -07:00
2007-09-20 12:42:47 -07:00
2007-07-19 10:04:50 -07:00
2007-07-20 14:25:51 +10:00
2007-07-20 21:42:24 +02:00
2007-07-18 08:38:22 -07:00
2007-07-31 15:39:37 -07:00
2007-09-11 04:22:16 -07:00
2007-07-31 15:39:38 -07:00
2007-09-11 17:21:19 -07:00
2007-07-23 12:42:45 +01:00
2007-06-28 19:19:20 +10:00
2007-07-19 10:04:50 -07:00
2007-09-19 11:24:17 -07:00
2007-09-11 07:46:09 -07:00
2007-07-31 15:39:43 -07:00
2007-09-11 07:46:09 -07:00
2007-09-17 16:47:07 -07:00
2007-07-19 10:04:50 -07:00
2007-07-19 10:04:50 -07:00
2007-09-11 17:21:19 -07:00
2007-07-18 08:38:22 -07:00
2007-07-19 10:04:50 -07:00
2007-07-18 15:57:16 -07:00
2007-09-13 06:01:24 -07:00
2007-09-19 11:24:18 -07:00
2007-08-22 19:52:46 -07:00
2007-07-26 11:35:17 -07:00
2007-08-22 19:52:45 -07:00
2007-07-20 13:39:59 +10:00
2007-07-29 18:58:39 +00:00