mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 18:45:02 +07:00
2874c5fd28
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3029 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070032.746973796@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 lines
1.3 KiB
C
35 lines
1.3 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
* include/linux/atmel_pdc.h
|
|
*
|
|
* Copyright (C) 2005 Ivan Kokshaysky
|
|
* Copyright (C) SAN People
|
|
*
|
|
* Peripheral Data Controller (PDC) registers.
|
|
* Based on AT91RM9200 datasheet revision E.
|
|
*/
|
|
|
|
#ifndef ATMEL_PDC_H
|
|
#define ATMEL_PDC_H
|
|
|
|
#define ATMEL_PDC_RPR 0x100 /* Receive Pointer Register */
|
|
#define ATMEL_PDC_RCR 0x104 /* Receive Counter Register */
|
|
#define ATMEL_PDC_TPR 0x108 /* Transmit Pointer Register */
|
|
#define ATMEL_PDC_TCR 0x10c /* Transmit Counter Register */
|
|
#define ATMEL_PDC_RNPR 0x110 /* Receive Next Pointer Register */
|
|
#define ATMEL_PDC_RNCR 0x114 /* Receive Next Counter Register */
|
|
#define ATMEL_PDC_TNPR 0x118 /* Transmit Next Pointer Register */
|
|
#define ATMEL_PDC_TNCR 0x11c /* Transmit Next Counter Register */
|
|
|
|
#define ATMEL_PDC_PTCR 0x120 /* Transfer Control Register */
|
|
#define ATMEL_PDC_RXTEN (1 << 0) /* Receiver Transfer Enable */
|
|
#define ATMEL_PDC_RXTDIS (1 << 1) /* Receiver Transfer Disable */
|
|
#define ATMEL_PDC_TXTEN (1 << 8) /* Transmitter Transfer Enable */
|
|
#define ATMEL_PDC_TXTDIS (1 << 9) /* Transmitter Transfer Disable */
|
|
|
|
#define ATMEL_PDC_PTSR 0x124 /* Transfer Status Register */
|
|
|
|
#define ATMEL_PDC_SCND_BUF_OFF 0x10 /* Offset between first and second buffer registers */
|
|
|
|
#endif
|