Lines Matching refs:x
73 #define LED_NETWORK_SET_G(x) argument
74 #define LED_NETWORK_SET_R(x) argument
75 #define LED_ACTIVE_SET_G(x) argument
76 #define LED_ACTIVE_SET_R(x) argument
77 #define LED_DISK_WRITE(x) argument
78 #define LED_DISK_READ(x) argument
82 #define LED_BIT_SET(x) argument
83 #define LED_BIT_CLR(x) argument
92 #define LED_NETWORK_SET(x) \ argument
94 LED_NETWORK_SET_G((x) & LED_GREEN); \
97 #define LED_NETWORK_SET(x) \ argument
99 LED_NETWORK_SET_G((x) & LED_GREEN); \
100 LED_NETWORK_SET_R((x) & LED_RED); \
104 #define LED_ACTIVE_SET(x) \ argument
106 LED_ACTIVE_SET_G((x) & LED_GREEN); \
109 #define LED_ACTIVE_SET(x) \ argument
111 LED_ACTIVE_SET_G((x) & LED_GREEN); \
112 LED_ACTIVE_SET_R((x) & LED_RED); \
117 #define LED_NETWORK_SET_G(x) \ argument
118 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED1G, !(x))
119 #define LED_NETWORK_SET_R(x) \ argument
120 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED1R, !(x))
121 #define LED_ACTIVE_SET_G(x) \ argument
122 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED2G, !(x))
123 #define LED_ACTIVE_SET_R(x) \ argument
124 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED2R, !(x))
125 #define LED_DISK_WRITE(x) \ argument
127 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED3G, !(x));\
128 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED3R, !(x));\
130 #define LED_DISK_READ(x) \ argument
131 REG_SHADOW_SET(R_PORT_PA_DATA, port_pa_data_shadow, CONFIG_ETRAX_LED3G, !(x))
135 #define LED_NETWORK_SET_G(x) \ argument
136 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED1G, !(x))
137 #define LED_NETWORK_SET_R(x) \ argument
138 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED1R, !(x))
139 #define LED_ACTIVE_SET_G(x) \ argument
140 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED2G, !(x))
141 #define LED_ACTIVE_SET_R(x) \ argument
142 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED2R, !(x))
143 #define LED_DISK_WRITE(x) \ argument
145 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED3G, !(x));\
146 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED3R, !(x));\
148 #define LED_DISK_READ(x) \ argument
149 REG_SHADOW_SET(R_PORT_PB_DATA, port_pb_data_shadow, CONFIG_ETRAX_LED3G, !(x))
165 #define LED_NETWORK_SET_G(x) \ argument
166 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED1G, !(x))
167 #define LED_NETWORK_SET_R(x) \ argument
168 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED1R, !(x))
169 #define LED_ACTIVE_SET_G(x) \ argument
170 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED2G, !(x))
171 #define LED_ACTIVE_SET_R(x) \ argument
172 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED2R, !(x))
173 #define LED_DISK_WRITE(x) \ argument
175 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED3G, !(x));\
176 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED3R, !(x));\
178 #define LED_DISK_READ(x) \ argument
179 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, CONFIG_ETRAX_LED3G, !(x))
180 #define LED_BIT_SET(x)\ argument
182 if((( 1 << x) & CONFIGURABLE_LEDS) != 0)\
183 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, x, 1);\
185 #define LED_BIT_CLR(x)\ argument
187 if((( 1 << x) & CONFIGURABLE_LEDS) != 0)\
188 REG_SHADOW_SET(port_csp0_addr, port_csp0_shadow, x, 0);\
260 #define inb(x) (0) argument
261 #define inw(x) (0) argument
262 #define inl(x) (0) argument
263 #define outb(x,y) argument
264 #define outw(x,y) argument
265 #define outl(x,y) argument
266 #define insb(x,y,z) argument
267 #define insw(x,y,z) argument
268 #define insl(x,y,z) argument
269 #define outsb(x,y,z) argument
270 #define outsw(x,y,z) argument
271 #define outsl(x,y,z) argument