Lines Matching defs:side
235 int side = 0;
239 /* It's a PCI slot; left side of chassis */
240 side = 1;
243 old = fault_leds[side];
245 assert(fdi <= sizeof (fault_leds[side]) * BITSPERBYTE);
249 fault_leds[side] |= (1<<fdi);
253 fault_leds[side] &= ~(1<<fdi);
259 old, side, fault_leds[side]));
261 if ((old == 0) != (fault_leds[side] == 0) && ok2rem_leds[side] == 0) {
264 * off on this side, and all the OK2REMOVE LEDS are off on this
265 * side. So we have to update the front panel ARROW LED.
267 set_front_panel_led(side ? LEFT_DOOR_ATTEN_LED :
269 fault_leds[side] ? LED_ON : LED_OFF);
276 int side = 0;
280 /* It's a PCI slot; left side of chassis */
281 side = 1;
284 old = ok2rem_leds[side];
286 assert(fdi <= sizeof (ok2rem_leds[side]) * BITSPERBYTE);
290 ok2rem_leds[side] |= (1<<fdi);
294 ok2rem_leds[side] &= ~(1<<fdi);
300 old, side, ok2rem_leds[side]));
302 if ((old == 0) != (ok2rem_leds[side] == 0)) {
305 * one has gone off (on this side). We may have to update
308 if (ok2rem_leds[!side] == 0) {
311 * side of the chassis, so this side determines
315 ok2rem_leds[side] ? LED_ON : LED_OFF);
317 if (fault_leds[side] == 0) {
319 * All the FAULT LEDs are off on this side. So the
322 set_front_panel_led(side ? LEFT_DOOR_ATTEN_LED :
324 ok2rem_leds[side] ? LED_ON : LED_OFF);