2 * linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver
4 * Copyright (C) 2004-2006 Thomas Kleffel, All Rights Reserved.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 /* FIXME: DMA Resource management ?! */
19 COMPLETION_XFERFINISH
,
20 COMPLETION_XFERFINISH_RSPFIN
,
24 struct platform_device
*pdev
;
25 struct s3c24xx_mci_pdata
*pdata
;
34 unsigned long clk_rate
;
35 unsigned long clk_div
;
36 unsigned long real_rate
;
45 struct mmc_request
*mrq
;
48 spinlock_t complete_lock
;
49 enum s3cmci_waitfor complete_what
;
68 unsigned int ccnt
, dcnt
;
69 struct tasklet_struct pio_tasklet
;