Home | History | Annotate | Download | only in usb

Lines Matching defs:led

2154 	struct upgt_lmac_led *led;
2161 len = sizeof(*mem) + sizeof(*led);
2169 led = (struct upgt_lmac_led *)(mem + 1);
2171 led->header1.flags = UPGT_H1_FLAGS_TX_NO_CALLBACK;
2172 led->header1.type = UPGT_H1_TYPE_CTRL;
2173 led->header1.len = htole16(
2177 led->header2.reqid = htole32(sc->sc_memaddr_frame_start);
2178 led->header2.type = htole16(UPGT_H2_TYPE_LED);
2179 led->header2.flags = 0;
2183 led->mode = htole16(UPGT_LED_MODE_SET);
2184 led->action_fix = 0;
2185 led->action_tmp = htole16(UPGT_LED_ACTION_OFF);
2186 led->action_tmp_dur = 0;
2189 led->mode = htole16(UPGT_LED_MODE_SET);
2190 led->action_fix = 0;
2191 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
2192 led->action_tmp_dur = 0;
2200 led->mode = htole16(UPGT_LED_MODE_SET);
2201 led->action_fix = htole16(UPGT_LED_ACTION_OFF);
2202 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
2203 led->action_tmp_dur = htole16(UPGT_LED_ACTION_TMP_DUR);
2214 mem->chksum = upgt_chksum_le((uint32_t *)led, sizeof(*led));
2218 "could not transmit led CMD URB\n");