~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/cris/include/arch-v32/arch/hwregs/iop/iop_fifo_out_extra_defs.h

Version: ~ [ linux-5.5-rc1 ] ~ [ linux-5.4.2 ] ~ [ linux-5.3.15 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.88 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.158 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.206 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.206 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.78 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-3.9.11 ] ~ [ linux-3.8.13 ] ~ [ linux-3.7.10 ] ~ [ linux-3.6.11 ] ~ [ linux-3.5.7 ] ~ [ linux-3.4.113 ] ~ [ linux-3.3.8 ] ~ [ linux-3.2.102 ] ~ [ linux-3.1.10 ] ~ [ linux-3.0.101 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef __iop_fifo_out_extra_defs_h
  2 #define __iop_fifo_out_extra_defs_h
  3 
  4 /*
  5  * This file is autogenerated from
  6  *   file:           ../../inst/io_proc/rtl/iop_fifo_out_extra.r
  7  *     id:           <not found>
  8  *     last modfied: Mon Apr 11 16:10:10 2005
  9  *
 10  *   by /n/asic/design/tools/rdesc/src/rdes2c --outfile iop_fifo_out_extra_defs.h ../../inst/io_proc/rtl/iop_fifo_out_extra.r
 11  *      id: $Id: iop_fifo_out_extra_defs.h,v 1.1 2005/04/24 18:31:05 starvik Exp $
 12  * Any changes here will be lost.
 13  *
 14  * -*- buffer-read-only: t -*-
 15  */
 16 /* Main access macros */
 17 #ifndef REG_RD
 18 #define REG_RD( scope, inst, reg ) \
 19   REG_READ( reg_##scope##_##reg, \
 20             (inst) + REG_RD_ADDR_##scope##_##reg )
 21 #endif
 22 
 23 #ifndef REG_WR
 24 #define REG_WR( scope, inst, reg, val ) \
 25   REG_WRITE( reg_##scope##_##reg, \
 26              (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
 27 #endif
 28 
 29 #ifndef REG_RD_VECT
 30 #define REG_RD_VECT( scope, inst, reg, index ) \
 31   REG_READ( reg_##scope##_##reg, \
 32             (inst) + REG_RD_ADDR_##scope##_##reg + \
 33             (index) * STRIDE_##scope##_##reg )
 34 #endif
 35 
 36 #ifndef REG_WR_VECT
 37 #define REG_WR_VECT( scope, inst, reg, index, val ) \
 38   REG_WRITE( reg_##scope##_##reg, \
 39              (inst) + REG_WR_ADDR_##scope##_##reg + \
 40              (index) * STRIDE_##scope##_##reg, (val) )
 41 #endif
 42 
 43 #ifndef REG_RD_INT
 44 #define REG_RD_INT( scope, inst, reg ) \
 45   REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg )
 46 #endif
 47 
 48 #ifndef REG_WR_INT
 49 #define REG_WR_INT( scope, inst, reg, val ) \
 50   REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg, (val) )
 51 #endif
 52 
 53 #ifndef REG_RD_INT_VECT
 54 #define REG_RD_INT_VECT( scope, inst, reg, index ) \
 55   REG_READ( int, (inst) + REG_RD_ADDR_##scope##_##reg + \
 56             (index) * STRIDE_##scope##_##reg )
 57 #endif
 58 
 59 #ifndef REG_WR_INT_VECT
 60 #define REG_WR_INT_VECT( scope, inst, reg, index, val ) \
 61   REG_WRITE( int, (inst) + REG_WR_ADDR_##scope##_##reg + \
 62              (index) * STRIDE_##scope##_##reg, (val) )
 63 #endif
 64 
 65 #ifndef REG_TYPE_CONV
 66 #define REG_TYPE_CONV( type, orgtype, val ) \
 67   ( { union { orgtype o; type n; } r; r.o = val; r.n; } )
 68 #endif
 69 
 70 #ifndef reg_page_size
 71 #define reg_page_size 8192
 72 #endif
 73 
 74 #ifndef REG_ADDR
 75 #define REG_ADDR( scope, inst, reg ) \
 76   ( (inst) + REG_RD_ADDR_##scope##_##reg )
 77 #endif
 78 
 79 #ifndef REG_ADDR_VECT
 80 #define REG_ADDR_VECT( scope, inst, reg, index ) \
 81   ( (inst) + REG_RD_ADDR_##scope##_##reg + \
 82     (index) * STRIDE_##scope##_##reg )
 83 #endif
 84 
 85 /* C-code for register scope iop_fifo_out_extra */
 86 
 87 /* Register rs_rd_data, scope iop_fifo_out_extra, type rs */
 88 typedef unsigned int reg_iop_fifo_out_extra_rs_rd_data;
 89 #define REG_RD_ADDR_iop_fifo_out_extra_rs_rd_data 0
 90 
 91 /* Register r_rd_data, scope iop_fifo_out_extra, type r */
 92 typedef unsigned int reg_iop_fifo_out_extra_r_rd_data;
 93 #define REG_RD_ADDR_iop_fifo_out_extra_r_rd_data 4
 94 
 95 /* Register r_stat, scope iop_fifo_out_extra, type r */
 96 typedef struct {
 97   unsigned int avail_bytes    : 4;
 98   unsigned int last           : 8;
 99   unsigned int dif_in_en      : 1;
100   unsigned int dif_out_en     : 1;
101   unsigned int zero_data_last : 1;
102   unsigned int dummy1         : 17;
103 } reg_iop_fifo_out_extra_r_stat;
104 #define REG_RD_ADDR_iop_fifo_out_extra_r_stat 8
105 
106 /* Register rw_strb_dif_out, scope iop_fifo_out_extra, type rw */
107 typedef unsigned int reg_iop_fifo_out_extra_rw_strb_dif_out;
108 #define REG_RD_ADDR_iop_fifo_out_extra_rw_strb_dif_out 12
109 #define REG_WR_ADDR_iop_fifo_out_extra_rw_strb_dif_out 12
110 
111 /* Register rw_intr_mask, scope iop_fifo_out_extra, type rw */
112 typedef struct {
113   unsigned int urun      : 1;
114   unsigned int last_data : 1;
115   unsigned int dav       : 1;
116   unsigned int free      : 1;
117   unsigned int orun      : 1;
118   unsigned int dummy1    : 27;
119 } reg_iop_fifo_out_extra_rw_intr_mask;
120 #define REG_RD_ADDR_iop_fifo_out_extra_rw_intr_mask 16
121 #define REG_WR_ADDR_iop_fifo_out_extra_rw_intr_mask 16
122 
123 /* Register rw_ack_intr, scope iop_fifo_out_extra, type rw */
124 typedef struct {
125   unsigned int urun      : 1;
126   unsigned int last_data : 1;
127   unsigned int dav       : 1;
128   unsigned int free      : 1;
129   unsigned int orun      : 1;
130   unsigned int dummy1    : 27;
131 } reg_iop_fifo_out_extra_rw_ack_intr;
132 #define REG_RD_ADDR_iop_fifo_out_extra_rw_ack_intr 20
133 #define REG_WR_ADDR_iop_fifo_out_extra_rw_ack_intr 20
134 
135 /* Register r_intr, scope iop_fifo_out_extra, type r */
136 typedef struct {
137   unsigned int urun      : 1;
138   unsigned int last_data : 1;
139   unsigned int dav       : 1;
140   unsigned int free      : 1;
141   unsigned int orun      : 1;
142   unsigned int dummy1    : 27;
143 } reg_iop_fifo_out_extra_r_intr;
144 #define REG_RD_ADDR_iop_fifo_out_extra_r_intr 24
145 
146 /* Register r_masked_intr, scope iop_fifo_out_extra, type r */
147 typedef struct {
148   unsigned int urun      : 1;
149   unsigned int last_data : 1;
150   unsigned int dav       : 1;
151   unsigned int free      : 1;
152   unsigned int orun      : 1;
153   unsigned int dummy1    : 27;
154 } reg_iop_fifo_out_extra_r_masked_intr;
155 #define REG_RD_ADDR_iop_fifo_out_extra_r_masked_intr 28
156 
157 
158 /* Constants */
159 enum {
160   regk_iop_fifo_out_extra_no               = 0x00000000,
161   regk_iop_fifo_out_extra_rw_intr_mask_default = 0x00000000,
162   regk_iop_fifo_out_extra_yes              = 0x00000001
163 };
164 #endif /* __iop_fifo_out_extra_defs_h */
165 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp