aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmc/core.h
AgeCommit message (Collapse)AuthorFilesLines
2007-09-23MMC headers learn about SPIDavid Brownell1-2/+24
Teach the MMC/SD/SDIO system headers that some hosts use SPI mode - New host capabilities and status bits * MMC_CAP_SPI, with mmc_host_is_spi() test * mmc_host.use_spi_crc flag - SPI-specific declarations: * Response types, MMC_RSP_SPI_R* * Two SPI-only commands * Status bits used native to SPI: R1_SPI_*, R2_SPI_* - Fix a few (unrelated) whitespace bugs in the headers. - Reorder a few mmc_host fields, removing several bytes of padding None of these changes affect current code. Signed-off-by: David Brownell <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: allow for mmc_claim_host to be abortedNicolas Pitre1-1/+12
It is sometimes necessary to give up on trying to claim the host lock, especially if that happens in a thread that has to be stopped. While at it, fix the description for mmc_claim_host() which was wrong. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: implement SDIO IO_RW_DIRECT operationPierre Ossman1-0/+1
Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: detect SDIO cardsPierre Ossman1-0/+1
Really basic init sequence for SDIO cards. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: remove confusing flagPierre Ossman1-1/+0
The MMC_DATA_MULTI flag never had a proper definition of what it means, so remove it and let the drivers check the block count in the request. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: mmc_set_data_timeout() parameter write is redundantPierre Ossman1-1/+1
The write parameter in mmc_set_data_timeout() is redundant as the data structure contains information about the direction of the transfer. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: remove custom error codesPierre Ossman1-6/+13
Convert the MMC layer to use standard error codes and not its own, incompatible values. Signed-off-by: Pierre Ossman <[email protected]>
2007-07-26mmc: update kerneldocPierre Ossman1-1/+1
Make sure the kerneldoc comments are up to date and relevant. Signed-off-by: Pierre Ossman <[email protected]>
2007-05-01mmc: Separate out protocol opsPierre Ossman1-1/+1
Move protocol operations and definitions into their own files in an effort to separate protocol handling and bus arbitration more clearly. Signed-off-by: Pierre Ossman <[email protected]>
2007-05-01mmc: Move core functions to subdirPierre Ossman1-0/+112
Create a "core" subdirectory to house the central bus handling functions. Signed-off-by: Pierre Ossman <[email protected]>