Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/platforms/pseries/
Ddlpar.c32 __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 …]
Dhotplug-memory.c112 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 …]
Dmobility.c217 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()
Dpseries.h64 extern int dlpar_acquire_drc(u32 drc_index);
65 extern int dlpar_release_drc(u32 drc_index);
Dpseries_energy.c71 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/
Drpaphp.h94 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…
Drpaphp_slot.c51 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument
69 slot->index = drc_index; in alloc_slot_struct()
Drpaphp_core.c203 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/
Dio_event_irq.h46 uint32_t drc_index; /* 0x04 DRC Index */ member
Dprom.h89 u32 drc_index; member
Drtas.h308 __be32 drc_index; member
/linux-4.4.14/arch/powerpc/mm/
Dnuma.c401 drmem->drc_index = of_read_number(cp, 1); in read_drconf_cell()