Searched refs:drc_index (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 30 __be32 drc_index; member 131 struct device_node *dlpar_configure_connector(__be32 drc_index, in dlpar_configure_connector() argument 154 ccwa->drc_index = drc_index; in dlpar_configure_connector() 318 int dlpar_acquire_drc(u32 drc_index) in dlpar_acquire_drc() argument 323 DR_ENTITY_SENSE, drc_index); in dlpar_acquire_drc() 327 rc = rtas_set_indicator(ALLOCATION_STATE, drc_index, ALLOC_USABLE); in dlpar_acquire_drc() 331 rc = rtas_set_indicator(ISOLATION_STATE, drc_index, UNISOLATE); in dlpar_acquire_drc() 333 rtas_set_indicator(ALLOCATION_STATE, drc_index, ALLOC_UNUSABLE); in dlpar_acquire_drc() 340 int dlpar_release_drc(u32 drc_index) in dlpar_release_drc() argument 345 DR_ENTITY_SENSE, drc_index); in dlpar_release_drc() [all …]
|
D | hotplug-memory.c | 113 lmbs[i].drc_index = be32_to_cpu(lmbs[i].drc_index); in dlpar_clone_drconf_property() 246 dlpar_release_drc(lmb->drc_index); in dlpar_remove_lmb() 302 lmbs[i].drc_index); in dlpar_memory_remove_by_count() 324 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) in dlpar_memory_remove_by_index() argument 331 pr_info("Attempting to hot-remove LMB, drc index %x\n", drc_index); in dlpar_memory_remove_by_index() 339 if (lmbs[i].drc_index == drc_index) { in dlpar_memory_remove_by_index() 381 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) in dlpar_memory_remove_by_index() argument 399 rc = dlpar_acquire_drc(lmb->drc_index); in dlpar_add_lmb() 409 dlpar_release_drc(lmb->drc_index); in dlpar_add_lmb() 417 dlpar_release_drc(lmb->drc_index); in dlpar_add_lmb() [all …]
|
D | mobility.c | 217 static int add_dt_node(__be32 parent_phandle, __be32 drc_index) in add_dt_node() argument 227 dn = dlpar_configure_connector(drc_index, parent_dn); in add_dt_node() 269 __be32 drc_index; in pseries_devicetree_update() local 279 drc_index = *data++; in pseries_devicetree_update() 280 add_dt_node(phandle, drc_index); in pseries_devicetree_update()
|
D | pseries.h | 64 extern int dlpar_acquire_drc(u32 drc_index); 65 extern int dlpar_release_drc(u32 drc_index);
|
D | pseries_energy.c | 71 static int drc_index_to_cpu(u32 drc_index) in drc_index_to_cpu() argument 90 if (indexes[i + 1] == drc_index) in drc_index_to_cpu() 101 printk(KERN_WARNING "drc_index_to_cpu(%d) failed", drc_index); in drc_index_to_cpu()
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpaphp.h | 94 int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, 99 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_dom…
|
D | rpaphp_slot.c | 51 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument 69 slot->index = drc_index; in alloc_slot_struct()
|
D | rpaphp_core.c | 203 int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, in rpaphp_get_drc_props() argument 233 if (drc_index) in rpaphp_get_drc_props() 234 *drc_index = be32_to_cpu(*my_index); in rpaphp_get_drc_props()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | io_event_irq.h | 46 uint32_t drc_index; /* 0x04 DRC Index */ member
|
D | prom.h | 89 u32 drc_index; member
|
D | rtas.h | 308 __be32 drc_index; member
|
/linux-4.1.27/arch/powerpc/mm/ |
D | numa.c | 400 drmem->drc_index = of_read_number(cp, 1); in read_drconf_cell()
|