Searched refs:leds (Results 1 – 3 of 3) sorted by relevance
4498 bp->leds->num_leds = resp->num_leds; in bnxt_hwrm_port_led_qcaps()4499 memcpy(bp->leds, &resp->led0_id, in bnxt_hwrm_port_led_qcaps()4500 sizeof(bp->leds[0]) * bp->leds->num_leds); in bnxt_hwrm_port_led_qcaps()4501 for (i = 0; i < bp->leds->num_leds; i++) { in bnxt_hwrm_port_led_qcaps()4502 struct bnxt_led_info *led = &bp->leds[i]; in bnxt_hwrm_port_led_qcaps()4508 bp->leds->num_leds = 0; in bnxt_hwrm_port_led_qcaps()4528 if (!bp->leds->num_leds || BNXT_VF(bp)) in bnxt_hwrm_port_led_cfg()4538 req.num_leds = bp->leds->num_leds; in bnxt_hwrm_port_led_cfg()4540 for (i = 0; i < bp->leds->num_leds; i++, led_cfg++) { in bnxt_hwrm_port_led_cfg()4542 led_cfg->led_id = bp->leds[i].led_id; in bnxt_hwrm_port_led_cfg()[all …]
834 struct bnxt_led_info *leds; member
242 rte_free(bp->leds); in bnxt_free_leds_info()243 bp->leds = NULL; in bnxt_free_leds_info()316 bp->leds = rte_zmalloc("bnxt_leds", in bnxt_alloc_leds_info()319 if (bp->leds == NULL) in bnxt_alloc_leds_info()