Searched refs:drc_index (Results 1 – 12 of 12) sorted by relevance
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 32 __be32 drc_index; member 133 struct device_node *dlpar_configure_connector(__be32 drc_index, in dlpar_configure_connector() argument 156 ccwa->drc_index = drc_index; in dlpar_configure_connector() 297 int dlpar_acquire_drc(u32 drc_index) in dlpar_acquire_drc() argument 302 DR_ENTITY_SENSE, drc_index); in dlpar_acquire_drc() 306 rc = rtas_set_indicator(ALLOCATION_STATE, drc_index, ALLOC_USABLE); in dlpar_acquire_drc() 310 rc = rtas_set_indicator(ISOLATION_STATE, drc_index, UNISOLATE); in dlpar_acquire_drc() 312 rtas_set_indicator(ALLOCATION_STATE, drc_index, ALLOC_UNUSABLE); in dlpar_acquire_drc() 319 int dlpar_release_drc(u32 drc_index) in dlpar_release_drc() argument 324 DR_ENTITY_SENSE, drc_index); in dlpar_release_drc() [all …]
|
D | hotplug-memory.c | 112 lmbs[i].drc_index = be32_to_cpu(lmbs[i].drc_index); in dlpar_clone_drconf_property() 245 dlpar_release_drc(lmb->drc_index); in dlpar_remove_lmb() 301 lmbs[i].drc_index); in dlpar_memory_remove_by_count() 323 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) in dlpar_memory_remove_by_index() argument 330 pr_info("Attempting to hot-remove LMB, drc index %x\n", drc_index); in dlpar_memory_remove_by_index() 338 if (lmbs[i].drc_index == drc_index) { in dlpar_memory_remove_by_index() 380 static int dlpar_memory_remove_by_index(u32 drc_index, struct property *prop) in dlpar_memory_remove_by_index() argument 398 rc = dlpar_acquire_drc(lmb->drc_index); in dlpar_add_lmb() 408 dlpar_release_drc(lmb->drc_index); in dlpar_add_lmb() 416 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.4.14/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.4.14/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.4.14/arch/powerpc/mm/ |
D | numa.c | 401 drmem->drc_index = of_read_number(cp, 1); in read_drconf_cell()
|