2 * linux/drivers/mmc/s3c2410mci.h - Samsung S3C2410 SDI Interface driver
4 * Copyright (C) 2004 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.
13 //FIXME: DMA Resource management ?!
14 #define S3C2410SDI_DMA 0
16 enum s3c2410sdi_waitfor
{
20 COMPLETION_XFERFINISH
,
21 COMPLETION_XFERFINISH_RSPFIN
,
24 struct s3c2410sdi_host
{
33 #ifdef S3C2410SDI_DMA_BACKBUF
34 dma_addr_t dmabuf_phys
;
36 unsigned int dmabuf_size
;
39 struct mmc_request
*mrq
;
41 spinlock_t complete_lock
;
42 struct completion complete_request
;
43 struct completion complete_dma
;
44 enum s3c2410sdi_waitfor complete_what
;