2 * bfin_ppi.h - interface to Blackfin PPIs
4 * Copyright 2005-2010 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
9 #ifndef __ASM_BFIN_PPI_H__
10 #define __ASM_BFIN_PPI_H__
12 #include <linux/types.h>
15 * All Blackfin system MMRs are padded to 32bits even if the register
16 * itself is only 16bits. So use a helper macro to streamline this.
18 #define __BFP(m) u16 m; u16 __pad_##m
21 * bfin ppi registers layout
23 struct bfin_ppi_regs
{
32 * bfin eppi registers layout
34 struct bfin_eppi_regs
{