Lines Matching defs:led
475 struct upgt_lmac_led *led;
492 led = (struct upgt_lmac_led *)(mem + 1);
494 led->header1.flags = UPGT_H1_FLAGS_TX_NO_CALLBACK;
495 led->header1.type = UPGT_H1_TYPE_CTRL;
496 led->header1.len = htole16(
500 led->header2.reqid = htole32(sc->sc_memaddr_frame_start);
501 led->header2.type = htole16(UPGT_H2_TYPE_LED);
502 led->header2.flags = 0;
506 led->mode = htole16(UPGT_LED_MODE_SET);
507 led->action_fix = 0;
508 led->action_tmp = htole16(UPGT_LED_ACTION_OFF);
509 led->action_tmp_dur = 0;
512 led->mode = htole16(UPGT_LED_MODE_SET);
513 led->action_fix = 0;
514 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
515 led->action_tmp_dur = 0;
527 led->mode = htole16(UPGT_LED_MODE_SET);
528 led->action_fix = htole16(UPGT_LED_ACTION_OFF);
529 led->action_tmp = htole16(UPGT_LED_ACTION_ON);
530 led->action_tmp_dur = htole16(UPGT_LED_ACTION_TMP_DUR);
540 data_cmd->buflen = sizeof(*mem) + sizeof(*led);
542 mem->chksum = upgt_chksum_le((uint32_t *)led,