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.
16 COMPLETION_XFERFINISH
,
17 COMPLETION_XFERFINISH_RSPFIN
,
21 struct platform_device
*pdev
;
22 struct s3c24xx_mci_pdata
*pdata
;
31 unsigned long clk_rate
;
32 unsigned long clk_div
;
33 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
;
71 #ifdef CONFIG_DEBUG_FS
72 struct dentry
*debug_root
;
73 struct dentry
*debug_state
;
74 struct dentry
*debug_regs
;
77 #ifdef CONFIG_ARM_S3C24XX_CPUFREQ
78 struct notifier_block freq_transition
;