• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/otus/80211core/

Lines Matching refs:ledStruct

70             ton = ((wd->ledStruct.ledMode[i] & 0xf00) >> 8) * 5;
71 toff = ((wd->ledStruct.ledMode[i] & 0xf000) >> 12) * 5;
75 tmp = wd->ledStruct.counter / (ton+toff);
76 tmp = wd->ledStruct.counter - (tmp * (ton+toff));
89 if ((zfPowerSavingMgrIsSleeping(dev)) && ((wd->ledStruct.ledMode[i] & 0x8) == 0))
96 if ((wd->ledStruct.ledMode[i] & 0x40) == 0)
98 if ((wd->ledStruct.counter & 1) == 0)
100 zfHpLedCtrl(dev, i, (wd->ledStruct.ledMode[i] & 0x10) >> 4);
104 if ((wd->ledStruct.txTraffic > 0) || (wd->ledStruct.rxTraffic > 0))
106 wd->ledStruct.txTraffic = wd->ledStruct.rxTraffic = 0;
107 if ((wd->ledStruct.ledMode[i] & 0x20) != 0)
109 zfHpLedCtrl(dev, i, ((wd->ledStruct.ledMode[i] & 0x10) >> 4)^1);
113 }// if ((wd->ledStruct.ledMode[i] & 0x40) == 0)
116 period = 5 * (1 << ((wd->ledStruct.ledMode[i] & 0x30) >> 4));
117 tmp = wd->ledStruct.counter / (period*2);
118 tmp = wd->ledStruct.counter - (tmp * (period*2));
121 if ((wd->ledStruct.counter & 1) == 0)
127 if ((wd->ledStruct.txTraffic > 0) || (wd->ledStruct.rxTraffic > 0))
129 wd->ledStruct.txTraffic = wd->ledStruct.rxTraffic = 0;
136 if ((wd->ledStruct.counter & 1) == 0)
142 if ((wd->ledStruct.txTraffic > 0) || (wd->ledStruct.rxTraffic > 0))
144 wd->ledStruct.txTraffic = wd->ledStruct.rxTraffic = 0;
149 } //else, if ((wd->ledStruct.ledMode[i] & 0x40) == 0)
196 if(wd->ledStruct.counter % 4 != 0)
226 if(wd->ledStruct.counter % 4 != 0)
243 if ((zfPowerSavingMgrIsSleeping(dev)) && ((wd->ledStruct.ledMode[OperateLED] & 0x8) == 0))
251 if ((wd->ledStruct.counter & 1) == 0) // even
258 if ((wd->ledStruct.txTraffic > 0) || (wd->ledStruct.rxTraffic > 0))
265 wd->ledStruct.txTraffic = wd->ledStruct.rxTraffic = 0;
284 switch(wd->ledStruct.counter % 16)
360 if(wd->ledStruct.counter % 2 != 0)
389 if(wd->ledStruct.counter % 2 != 0)
395 if ((zfPowerSavingMgrIsSleeping(dev)) && ((wd->ledStruct.ledMode[0] & 0x8) == 0))
404 if ((wd->ledStruct.counter & 1) == 0) // even
412 if ((wd->ledStruct.txTraffic > 0) || (wd->ledStruct.rxTraffic > 0))
419 wd->ledStruct.txTraffic = wd->ledStruct.rxTraffic = 0;
453 tmp = wd->ledStruct.counter % (ton+toff);
493 wd->ledStruct.LEDCtrlFlag &= ~(u8_t)ZM_LED_CTRL_FLAG_ALPHA;
525 wd->ledStruct.counter++;
527 if(wd->ledStruct.LEDCtrlFlag)
529 switch(wd->ledStruct.LEDCtrlFlag) {
537 switch(wd->ledStruct.LEDCtrlType) {