|
Linux Kernel
3.7.1
|
#include <linux/io.h>#include <linux/interrupt.h>#include <linux/spinlock.h>#include <linux/pci.h>#include <linux/platform_device.h>#include <linux/mmc/host.h>#include <linux/highmem.h>#include <linux/scatterlist.h>Go to the source code of this file.
Data Structures | |
| struct | cb710_slot |
| struct | cb710_chip |
Macros | |
| #define | CB710_SLOT_MMC 1 |
| #define | CB710_SLOT_MS 2 |
| #define | CB710_SLOT_SM 4 |
| #define | CB710_PORT_ACCESSORS(t) |
| #define | cb710_dump_regs(c, d) do {} while (0) |
| #define | CB710_DUMP_REGS_MMC 0x0F |
| #define | CB710_DUMP_REGS_MS 0x30 |
| #define | CB710_DUMP_REGS_SM 0xC0 |
| #define | CB710_DUMP_REGS_ALL 0xFF |
| #define | CB710_DUMP_REGS_MASK 0xFF |
| #define | CB710_DUMP_ACCESS_8 0x100 |
| #define | CB710_DUMP_ACCESS_16 0x200 |
| #define | CB710_DUMP_ACCESS_32 0x400 |
| #define | CB710_DUMP_ACCESS_ALL 0x700 |
| #define | CB710_DUMP_ACCESS_MASK 0x700 |
| #define | LINUX_CB710_SG_H |
Typedefs | |
| typedef int(* | cb710_irq_handler_t )(struct cb710_slot *) |
| typedef int(* cb710_irq_handler_t)(struct cb710_slot *) |
| void cb710_set_irq_handler | ( | struct cb710_slot * | slot, |
| cb710_irq_handler_t | handler | ||
| ) |
| uint32_t cb710_sg_dwiter_read_next_block | ( | struct sg_mapping_iter * | miter | ) |
cb710_sg_dwiter_read_next_block() - get next 32-bit word from sg buffer : sg mapping iterator used for reading
Description: Returns 32-bit word starting at byte pointed to by @ handling any alignment issues. Bytes past the buffer's end are not accessed (read) but are returned as zeroes. @ is advanced by 4 bytes or to the end of buffer whichever is closer.
Context: Same requirements as in sg_miter_next().
Returns: 32-bit word just read.
| void cb710_sg_dwiter_write_next_block | ( | struct sg_mapping_iter * | miter, |
| uint32_t | data | ||
| ) |
cb710_sg_dwiter_write_next_block() - write next 32-bit word to sg buffer : sg mapping iterator used for writing
Description: Writes 32-bit word starting at byte pointed to by @ handling any alignment issues. Bytes which would be written past the buffer's end are silently discarded. @ is advanced by 4 bytes or to the end of buffer whichever is closer.
Context: Same requirements as in sg_miter_next().
1.8.2