Home
last modified time | relevance | path

Searched refs:powernv_led (Results 1 – 1 of 1) sorted by relevance

/kernel/linux/linux-5.10/drivers/leds/
Dleds-powernv.c76 static int powernv_led_set(struct powernv_led_data *powernv_led, in powernv_led_set() argument
83 struct device *dev = powernv_led->cdev.dev; in powernv_led_set()
84 struct powernv_led_common *powernv_led_common = powernv_led->common; in powernv_led_set()
88 led_mask = OPAL_SLOT_LED_STATE_ON << powernv_led->led_type; in powernv_led_set()
101 rc = opal_leds_set_ind(token, powernv_led->loc_code, in powernv_led_set()
105 __func__, powernv_led->loc_code, rc); in powernv_led_set()
131 static enum led_brightness powernv_led_get(struct powernv_led_data *powernv_led) in powernv_led_get() argument
136 struct device *dev = powernv_led->cdev.dev; in powernv_led_get()
137 struct powernv_led_common *powernv_led_common = powernv_led->common; in powernv_led_get()
144 rc = opal_leds_get_ind(powernv_led->loc_code, in powernv_led_get()
[all …]