mmci.c (4d68c05ce11f4cdf6a6392f3a18dc6a985b4d0c4) mmci.c (258aea76f552cc755da92e7e823abbb85e021514)
1/*
2 * linux/drivers/mmc/host/mmci.c - ARM PrimeCell MMCI PL180/1 driver
3 *
4 * Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
5 * Copyright (C) 2010 ST-Ericsson SA
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 16 unchanged lines hidden (view full) ---

25#include <linux/clk.h>
26#include <linux/scatterlist.h>
27#include <linux/gpio.h>
28#include <linux/regulator/consumer.h>
29#include <linux/dmaengine.h>
30#include <linux/dma-mapping.h>
31#include <linux/amba/mmci.h>
32#include <linux/pm_runtime.h>
1/*
2 * linux/drivers/mmc/host/mmci.c - ARM PrimeCell MMCI PL180/1 driver
3 *
4 * Copyright (C) 2003 Deep Blue Solutions, Ltd, All Rights Reserved.
5 * Copyright (C) 2010 ST-Ericsson SA
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 16 unchanged lines hidden (view full) ---

25#include <linux/clk.h>
26#include <linux/scatterlist.h>
27#include <linux/gpio.h>
28#include <linux/regulator/consumer.h>
29#include <linux/dmaengine.h>
30#include <linux/dma-mapping.h>
31#include <linux/amba/mmci.h>
32#include <linux/pm_runtime.h>
33#include <linux/types.h>
33
34#include <asm/div64.h>
35#include <asm/io.h>
36#include <asm/sizes.h>
37
38#include "mmci.h"
39
40#define DRIVER_NAME "mmci-pl18x"

--- 324 unchanged lines hidden (view full) ---

365 struct variant_data *variant = host->variant;
366 struct dma_slave_config conf = {
367 .src_addr = host->phybase + MMCIFIFO,
368 .dst_addr = host->phybase + MMCIFIFO,
369 .src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES,
370 .dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES,
371 .src_maxburst = variant->fifohalfsize >> 2, /* # of words */
372 .dst_maxburst = variant->fifohalfsize >> 2, /* # of words */
34
35#include <asm/div64.h>
36#include <asm/io.h>
37#include <asm/sizes.h>
38
39#include "mmci.h"
40
41#define DRIVER_NAME "mmci-pl18x"

--- 324 unchanged lines hidden (view full) ---

366 struct variant_data *variant = host->variant;
367 struct dma_slave_config conf = {
368 .src_addr = host->phybase + MMCIFIFO,
369 .dst_addr = host->phybase + MMCIFIFO,
370 .src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES,
371 .dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES,
372 .src_maxburst = variant->fifohalfsize >> 2, /* # of words */
373 .dst_maxburst = variant->fifohalfsize >> 2, /* # of words */
374 .device_fc = false,
373 };
374 struct dma_chan *chan;
375 struct dma_device *device;
376 struct dma_async_tx_descriptor *desc;
377 enum dma_data_direction buffer_dirn;
378 int nr_sg;
379
380 /* Check if next job is already prepared */

--- 1157 unchanged lines hidden ---
375 };
376 struct dma_chan *chan;
377 struct dma_device *device;
378 struct dma_async_tx_descriptor *desc;
379 enum dma_data_direction buffer_dirn;
380 int nr_sg;
381
382 /* Check if next job is already prepared */

--- 1157 unchanged lines hidden ---