1 /* 2 * Copyright (C) 2009 Jens Scharsig (js_at_ng@scharsoft.de) 3 * 4 * SPDX-License-Identifier: GPL-2.0+ 5 */ 6 7 #ifndef AT91_PDC_H 8 #define AT91_PDC_H 9 10 typedef struct at91_pdc { 11 u32 rpr; /* 0x100 Receive Pointer Register */ 12 u32 rcr; /* 0x104 Receive Counter Register */ 13 u32 tpr; /* 0x108 Transmit Pointer Register */ 14 u32 tcr; /* 0x10C Transmit Counter Register */ 15 u32 pnpr; /* 0x110 Receive Next Pointer Register */ 16 u32 pncr; /* 0x114 Receive Next Counter Register */ 17 u32 tnpr; /* 0x118 Transmit Next Pointer Register */ 18 u32 tncr; /* 0x11C Transmit Next Counter Register */ 19 u32 ptcr; /* 0x120 Transfer Control Register */ 20 u32 ptsr; /* 0x124 Transfer Status Register */ 21 } at91_pdc_t; 22 23 #endif 24