summaryrefslogblamecommitdiffstats
path: root/arch/arm/mach-s3c2410/dma.h
blob: 0ebfe0aab80be885bd256e6677793c19ce12be0b (plain) (tree)












































                                                                       
/* arch/arm/mach-s3c2410/dma.h
 *
 * Copyright (C) 2006 Simtec Electronics
 *	Ben Dooks <ben@simtec.co.uk>
 *
 * Samsung S3C24XX DMA support
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

extern struct sysdev_class dma_sysclass;
extern struct s3c2410_dma_chan s3c2410_chans[S3C2410_DMA_CHANNELS];

#define DMA_CH_VALID		(1<<31)

struct s3c24xx_dma_addr {
	unsigned long		from;
	unsigned long		to;
};

/* struct s3c24xx_dma_map
 *
 * this holds the mapping information for the channel selected
 * to be connected to the specified device
*/

struct s3c24xx_dma_map {
	const char		*name;
	struct s3c24xx_dma_addr  hw_addr;

	unsigned long		 channels[S3C2410_DMA_CHANNELS];
};

struct s3c24xx_dma_selection {
	struct s3c24xx_dma_map	*map;
	unsigned long		 map_size;
	unsigned long		 dcon_mask;

	void	(*select)(struct s3c2410_dma_chan *chan,
			  struct s3c24xx_dma_map *map);
};

extern int s3c24xx_dma_init_map(struct s3c24xx_dma_selection *sel);
td>2018-11-211-1/+2 * fuse: fix possibly missed wake-up after abortMiklos Szeredi2018-11-211-3/+9 * fuse: fix leaked notify replyMiklos Szeredi2018-11-211-1/+3 * fuse: fix use-after-free in fuse_direct_IO()Lukas Czerner2018-11-211-1/+3 * nfsd: COPY and CLONE operations require the saved filehandle to be setScott Mayhew2018-11-211-0/+3 * NFSv4: Don't exit the state manager without clearing NFS4CLNT_MANAGER_RUNNINGTrond Myklebust2018-11-211-3/+5 * mnt: fix __detach_mounts infinite loopBenjamin Coddington2018-11-211-3/+3 * mount: Prevent MNT_DETACH from disconnecting locked mountsEric W. Biederman2018-11-211-1/+1 * mount: Don't allow copying MNT_UNBINDABLE|MNT_LOCKED mountsEric W. Biederman2018-11-211-2/+8 * mount: Retest MNT_LOCKED in do_umountEric W. Biederman2018-11-211-2/+8 * ext4: fix buffer leak in __ext4_read_dirblock() on error pathVasily Averin2018-11-211-0/+1 * ext4: fix buffer leak in ext4_expand_extra_isize_ea() on error pathVasily Averin2018-11-211-2/+5 * ext4: fix buffer leak in ext4_xattr_move_to_block() on error pathVasily Averin2018-11-211-0/+2 * ext4: release bs.bh before re-using in ext4_xattr_block_find()Vasily Averin2018-11-211-0/+2 * ext4: fix buffer leak in ext4_xattr_get_block() on error pathVasily Averin2018-11-211-1/+3 * ext4: fix possible leak of s_journal_flag_rwsem in error pathVasily Averin2018-11-211-0/+1 * ext4: fix possible leak of sbi->s_group_desc_leak in error pathTheodore Ts'o2018-11-211-8/+8 * ext4: avoid possible double brelse() in add_new_gdb() on error pathTheodore Ts'o2018-11-211-0/+1 * ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizingVasily Averin2018-11-211-1/+1 * ext4: avoid buffer leak in ext4_orphan_add() after prior errorsVasily Averin2018-11-211-1/+3 * ext4: avoid buffer leak on shutdown in ext4_mark_iloc_dirty()Vasily Averin2018-11-211-2/+3 * ext4: fix possible inode leak in the retry loop of ext4_resize_fs()Vasily Averin2018-11-211-0/+4 * ext4: missing !bh check in ext4_xattr_inode_write()Vasily Averin2018-11-211-0/+6 * ext4: avoid potential extra brelse in setup_new_flex_group_blocks()Vasily Averin2018-11-211-6/+2Star * ext4: add missing brelse() add_new_gdb_meta_bg()'s error pathVasily Averin2018-11-211-2/+1Star * ext4: add missing brelse() in set_flexbg_block_bitmap()'s error pathVasily Averin2018-11-211-2/+4 * ext4: add missing brelse() update_backups()'s error pathVasily Averin2018-11-211-1/+3 * btrfs: tree-checker: Fix misleading group system informationShaokun Zhang2018-11-211-1/+1 * Btrfs: fix data corruption due to cloning of eof blockFilipe Manana2018-11-211-2/+10 * Btrfs: fix infinite loop on inode eviction after deduplication of eof blockFilipe Manana2018-11-211-0/+2 * Btrfs: fix cur_offset in the error case for nocowRobbie Ko2018-11-211-3/+2Star * Btrfs: fix missing data checksums after a ranged fsync (msync)Filipe Manana2018-11-21