aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mmc/sdio_func.h
AgeCommit message (Collapse)AuthorFilesLines
2007-09-23sdio: store vendor stringsPierre Ossman1-0/+3
Store vendor strings found in CISTPL_VERS_1 so that function drivers can access them. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: add sdio_f0_readb() and sdio_f0_writeb()David Vrabel1-0/+5
Add sdio_f0_readb() and sdio_f0_writeb() functions to reading and writing function 0 registers. Writes outside the vendor specific CCCR registers (0xF0 - 0xFF) are not permitted. Signed-off-by: David Vrabel <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: set the functions' block sizeDavid Vrabel1-1/+4
Before a driver is probed, set the function's block size to the default so the driver is sure the block size is something sensible and it needn't explicitly set it. The default block size is the largest that's supported by both the card and the host, with a maximum of 512 to ensure aribitrarily sized transfer use the optimal (least) number of commands. See http://lkml.org/lkml/2007/8/7/150 for reasons for the block size choice. Signed-off-by: David Vrabel <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: support IO_RW_EXTENDEDPierre Ossman1-0/+20
Support the multi-byte transfer operation, including handlers for common operations like writel()/readl(). Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: core support for SDIO function interruptNicolas Pitre1-0/+7
Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: add device id table and matchingPierre Ossman1-1/+29
Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: split up common and function CIS parsingPierre Ossman1-0/+2
Add a more clean separation between global, common CIS information and the function specific one as we need the common information in places where no specific function is specified. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: link unknown CIS tuples to the sdio_func structureNicolas Pitre1-0/+12
This way those tuples that the core cares about are consumed by the core code, and tuples that only function drivers might make sense of are available to drivers. Signed-off-by: Nicolas Pitre <[email protected]> Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23sdio: basic parsing of FBRPierre Ossman1-0/+5
Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: enable/disable functions for SDIOPierre Ossman1-0/+3
Like many other buses, the devices (functions) on the SDIO bus must be enabled before they can be used. Add functions that allow drivers to do so. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: add basic SDIO I/O operationsPierre Ossman1-0/+12
Add command wrappers that simplify register access from SDIO function drivers. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: add SDIO driver handlingPierre Ossman1-0/+18
Add basic driver handling to the SDIO device model. Signed-off-by: Pierre Ossman <[email protected]>
2007-09-23mmc: basic SDIO device modelPierre Ossman1-0/+35
Add the sdio bus type and basic device handling. Signed-off-by: Pierre Ossman <[email protected]>