Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/leds/
Dleds-powernv.c52 char *loc_code; /* LED location code */ member
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()
144 rc = opal_leds_get_ind(powernv_led->loc_code, in powernv_led_get()
221 powernv_led->loc_code, in powernv_led_create()
265 powernv_led->loc_code = (char *)np->name; in powernv_led_classdev()
/Linux-v6.1/arch/powerpc/platforms/pseries/
Dpci.c31 const char *loc_code = of_get_property(dn, "ibm,loc-code",
33 if (loc_code) {
34 int loc_len = strlen(loc_code);
38 memcpy(dev->dev.name, loc_code, loc_len);
/Linux-v6.1/arch/powerpc/include/asm/
Dopal.h215 int64_t opal_leds_get_ind(char *loc_code, __be64 *led_mask,
217 int64_t opal_leds_set_ind(uint64_t token, char *loc_code, const u64 led_mask,