Searched refs:loc_code (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/leds/ |
H A D | leds-powernv.c | 52 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()
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | pci.c | 31 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);
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | opal.h | 212 int64_t opal_leds_get_ind(char *loc_code, __be64 *led_mask, 214 int64_t opal_leds_set_ind(uint64_t token, char *loc_code, const u64 led_mask,
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_pci.c | 1372 gchar *loc_code; in spapr_dt_pci_device() local 1412 loc_code = spapr_phb_get_loc_code(sphb, dev); in spapr_dt_pci_device() 1413 _FDT(fdt_setprop_string(fdt, offset, "ibm,loc-code", loc_code)); in spapr_dt_pci_device() 1414 g_free(loc_code); in spapr_dt_pci_device()
|