2 * Copyright 2012 Tilera Corporation. All Rights Reserved.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation, version 2.
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11 * NON INFRINGEMENT. See the GNU General Public License for
15 /* Machine-generated file; do not edit. */
17 #ifndef __ARCH_TRIO_H__
18 #define __ARCH_TRIO_H__
21 #include <arch/trio_def.h>
26 * Tile PIO Region Configuration - CFG Address Format.
27 * This register describes the address format for PIO accesses when the
28 * associated region is setup with TYPE=CFG.
36 #ifndef __BIG_ENDIAN__
37 /* Register Address (full byte address). */
38 uint_reg_t reg_addr : 12;
45 /* Config Type: 0 for access to directly-attached device. 1 otherwise. */
48 uint_reg_t __reserved_0 : 1;
50 * MAC select. This must match the configuration in
51 * TILE_PIO_REGION_SETUP.MAC.
55 uint_reg_t __reserved_1 : 32;
56 #else /* __BIG_ENDIAN__ */
57 uint_reg_t __reserved_1 : 32;
59 uint_reg_t __reserved_0 : 1;
64 uint_reg_t reg_addr : 12;
69 } TRIO_TILE_PIO_REGION_SETUP_CFG_ADDR_t;
70 #endif /* !defined(__ASSEMBLER__) */
72 #endif /* !defined(__ARCH_TRIO_H__) */