Linux Kernel
3.7.1
|
#include <atmel-mci.h>
Data Fields | |
unsigned int | bus_width |
int | detect_pin |
int | wp_pin |
bool | detect_is_active_high |
struct mci_slot_pdata - board-specific per-slot configuration : Number of data lines wired up the slot : GPIO pin wired to the card detect switch : GPIO pin wired to the write protect sensor : The state of the detect pin when it is active
If a given slot is not present on the board, should be set to 0. The other fields are ignored in this case.
Any pins that aren't available should be set to a negative value.
Note that support for multiple slots is experimental – some cards might get upset if we don't get the clock management exactly right. But in most cases, it should work just fine.
Definition at line 22 of file atmel-mci.h.
unsigned int bus_width |
Definition at line 23 of file atmel-mci.h.
bool detect_is_active_high |
Definition at line 26 of file atmel-mci.h.
int detect_pin |
Definition at line 24 of file atmel-mci.h.
int wp_pin |
Definition at line 25 of file atmel-mci.h.