Lines Matching refs:ledvalue
1075 static int ax88179_convert_old_led(struct usbnet *dev, u16 *ledvalue) in ax88179_convert_old_led() argument
1108 *ledvalue = led; in ax88179_convert_old_led()
1116 u16 tmp, ledact, ledlink, ledvalue = 0, delay = HZ / 10; in ax88179_led_setting() local
1154 ledvalue = (value << 8); in ax88179_led_setting()
1158 ledvalue |= value; in ax88179_led_setting()
1161 if ((ledvalue == 0xFFFF) || ((ledvalue & LED_VALID) == 0)) in ax88179_led_setting()
1162 ax88179_convert_old_led(dev, &ledvalue); in ax88179_led_setting()
1164 } else if (!ax88179_check_efuse(dev, &ledvalue)) { in ax88179_led_setting()
1165 if ((ledvalue == 0xFFFF) || ((ledvalue & LED_VALID) == 0)) in ax88179_led_setting()
1166 ax88179_convert_old_led(dev, &ledvalue); in ax88179_led_setting()
1168 ax88179_convert_old_led(dev, &ledvalue); in ax88179_led_setting()
1188 if (ledvalue & LED0_ACTIVE) in ax88179_led_setting()
1191 if (ledvalue & LED1_ACTIVE) in ax88179_led_setting()
1194 if (ledvalue & LED2_ACTIVE) in ax88179_led_setting()
1197 if (ledvalue & LED0_LINK_10) in ax88179_led_setting()
1200 if (ledvalue & LED1_LINK_10) in ax88179_led_setting()
1203 if (ledvalue & LED2_LINK_10) in ax88179_led_setting()
1206 if (ledvalue & LED0_LINK_100) in ax88179_led_setting()
1209 if (ledvalue & LED1_LINK_100) in ax88179_led_setting()
1212 if (ledvalue & LED2_LINK_100) in ax88179_led_setting()
1215 if (ledvalue & LED0_LINK_1000) in ax88179_led_setting()
1218 if (ledvalue & LED1_LINK_1000) in ax88179_led_setting()
1221 if (ledvalue & LED2_LINK_1000) in ax88179_led_setting()
1238 if (ledvalue & LED0_FD) in ax88179_led_setting()
1240 else if ((ledvalue & LED0_USB3_MASK) == 0) in ax88179_led_setting()
1243 if (ledvalue & LED1_FD) in ax88179_led_setting()
1245 else if ((ledvalue & LED1_USB3_MASK) == 0) in ax88179_led_setting()
1248 if (ledvalue & LED2_FD) in ax88179_led_setting()
1250 else if ((ledvalue & LED2_USB3_MASK) == 0) in ax88179_led_setting()