mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 13:00:35 +00:00
4342d6479e
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Reviewed-by: Ryan Mallon <rmallon@gmail.com> Cc: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
469 B
C
24 lines
469 B
C
/*
|
|
* Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Under GPLv2
|
|
*/
|
|
|
|
#ifndef __MACH_AT91_MATRIX_H__
|
|
#define __MACH_AT91_MATRIX_H__
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern void __iomem *at91_matrix_base;
|
|
|
|
#define at91_matrix_read(field) \
|
|
__raw_readl(at91_matrix_base + field)
|
|
|
|
#define at91_matrix_write(field, value) \
|
|
__raw_writel(value, at91_matrix_base + field);
|
|
|
|
#else
|
|
.extern at91_matrix_base
|
|
#endif
|
|
|
|
#endif /* __MACH_AT91_MATRIX_H__ */
|