Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Jens Scharsig | 698ad06 | 2010-02-03 22:46:01 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2009 Jens Scharsig (js_at_ng@scharsoft.de) |
Jens Scharsig | 698ad06 | 2010-02-03 22:46:01 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef AT91_PDC_H |
| 7 | #define AT91_PDC_H |
| 8 | |
| 9 | typedef struct at91_pdc { |
| 10 | u32 rpr; /* 0x100 Receive Pointer Register */ |
| 11 | u32 rcr; /* 0x104 Receive Counter Register */ |
| 12 | u32 tpr; /* 0x108 Transmit Pointer Register */ |
| 13 | u32 tcr; /* 0x10C Transmit Counter Register */ |
| 14 | u32 pnpr; /* 0x110 Receive Next Pointer Register */ |
| 15 | u32 pncr; /* 0x114 Receive Next Counter Register */ |
| 16 | u32 tnpr; /* 0x118 Transmit Next Pointer Register */ |
| 17 | u32 tncr; /* 0x11C Transmit Next Counter Register */ |
| 18 | u32 ptcr; /* 0x120 Transfer Control Register */ |
| 19 | u32 ptsr; /* 0x124 Transfer Status Register */ |
| 20 | } at91_pdc_t; |
| 21 | |
| 22 | #endif |