Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/pseries/
A Dpmem.c37 rc = dlpar_acquire_drc(drc_index); in pmem_drc_add_node()
40 rc, drc_index); in pmem_drc_add_node()
47 dlpar_release_drc(drc_index); in pmem_drc_add_node()
55 dn, rc, drc_index); in pmem_drc_add_node()
57 if (dlpar_release_drc(drc_index)) in pmem_drc_add_node()
77 if (index == drc_index) in pmem_drc_remove_node()
93 rc = dlpar_release_drc(drc_index); in pmem_drc_remove_node()
96 drc_index, dn, rc); in pmem_drc_remove_node()
108 u32 drc_index; in dlpar_hp_pmem() local
125 drc_index = hp_elog->_drc_u.drc_index; in dlpar_hp_pmem()
[all …]
A Dhotplug-memory.c233 if (lmb->drc_index == drc_index) { in get_lmb_range()
453 lmb->drc_index); in dlpar_memory_remove_by_count()
494 if (lmb->drc_index == drc_index) { in dlpar_memory_remove_by_index()
582 lmb->drc_index); in dlpar_memory_remove_by_ic()
731 lmb->drc_index); in dlpar_memory_add_by_count()
770 if (lmb->drc_index == drc_index) { in dlpar_memory_add_by_index()
801 lmbs_to_add, drc_index); in dlpar_memory_add_by_ic()
847 lmb->drc_index); in dlpar_memory_add_by_ic()
870 u32 count, drc_index; in dlpar_memory() local
883 drc_index = hp_elog->_drc_u.drc_index; in dlpar_memory()
[all …]
A Dhotplug-cpu.c568 rc, drc_index); in dlpar_cpu_add()
576 drc_index); in dlpar_cpu_add()
590 dn, rc, drc_index); in dlpar_cpu_add()
605 dn, rc, drc_index); in dlpar_cpu_add()
615 drc_index); in dlpar_cpu_add()
671 dn, drc_index); in dlpar_cpu_remove()
730 drc_index); in dlpar_cpu_remove_by_index()
741 u32 drc_index; in dlpar_cpu() local
744 drc_index = hp_elog->_drc_u.drc_index; in dlpar_cpu()
783 u32 drc_index; in dlpar_cpu_probe() local
[all …]
A Ddlpar.c35 __be32 drc_index; member
132 struct device_node *dlpar_configure_connector(__be32 drc_index, in dlpar_configure_connector() argument
154 ccwa->drc_index = drc_index; in dlpar_configure_connector()
288 int dlpar_acquire_drc(u32 drc_index) in dlpar_acquire_drc() argument
309 int dlpar_release_drc(u32 drc_index) in dlpar_release_drc() argument
323 rtas_set_indicator(ISOLATION_STATE, drc_index, UNISOLATE); in dlpar_release_drc()
330 int dlpar_unisolate_drc(u32 drc_index) in dlpar_unisolate_drc() argument
338 rtas_set_indicator(ISOLATION_STATE, drc_index, UNISOLATE); in dlpar_unisolate_drc()
354 hp_elog->_drc_u.drc_index = in handle_dlpar_errorlog()
355 be32_to_cpu(hp_elog->_drc_u.drc_index); in handle_dlpar_errorlog()
[all …]
A Dpapr_scm.c92 uint32_t drc_index; member
132 dev_dbg(&p->pdev->dev, "flush drc 0x%x", p->drc_index); in papr_scm_pmem_flush()
176 rc = plpar_hcall(H_SCM_BIND_MEM, ret, p->drc_index, 0, in drc_pmem_bind()
189 p->drc_index, (unsigned long)saved); in drc_pmem_bind()
206 p->drc_index, token); in drc_pmem_unbind()
223 p->drc_index); in drc_pmem_unbind()
237 p->drc_index, 0); in drc_pmem_query_n_bind()
244 p->drc_index, p->blocks - 1); in drc_pmem_query_n_bind()
353 rc = plpar_hcall(H_SCM_HEALTH, ret, p->drc_index); in __drc_pmem_query_health()
1132 u32 drc_index, metadata_size; in papr_scm_probe() local
[all …]
A Dpseries.h53 extern int dlpar_acquire_drc(u32 drc_index);
54 extern int dlpar_release_drc(u32 drc_index);
55 extern int dlpar_unisolate_drc(u32 drc_index);
A Dpseries_energy.c109 static int drc_index_to_cpu(u32 drc_index) in drc_index_to_cpu() argument
139 if (drc_index > drc.last_drc_index) { in drc_index_to_cpu()
143 cpu += ((drc_index - drc.drc_index_start) / in drc_index_to_cpu()
162 if (indexes[i + 1] == drc_index) in drc_index_to_cpu()
174 printk(KERN_WARNING "drc_index_to_cpu(%d) failed", drc_index); in drc_index_to_cpu()
A Dmobility.c237 static int add_dt_node(struct device_node *parent_dn, __be32 drc_index) in add_dt_node() argument
242 dn = dlpar_configure_connector(drc_index, parent_dn); in add_dt_node()
299 __be32 drc_index; in pseries_devicetree_update() local
316 drc_index = *data++; in pseries_devicetree_update()
317 add_dt_node(np, drc_index); in pseries_devicetree_update()
/linux/arch/powerpc/mm/
A Ddrmem.c83 dr_cell->drc_index = cpu_to_be32(lmb->drc_index); in drmem_update_dt_v1()
98 dr_cell->drc_index = cpu_to_be32(lmb->drc_index); in init_drconf_v2_cell()
208 lmb->drc_index = of_read_number(p++, 1); in read_drconf_v1_cell()
245 dr_cell->drc_index = of_read_number(p++, 1); in read_drconf_v2_cell()
269 lmb.drc_index = dr_cell.drc_index; in __walk_drmem_v2_lmbs()
270 dr_cell.drc_index++; in __walk_drmem_v2_lmbs()
327 if (lmb->drc_index != updated_lmb->drc_index) in update_lmb()
479 lmb->drc_index = dr_cell.drc_index; in init_drmem_v2_lmbs()
480 dr_cell.drc_index++; in init_drmem_v2_lmbs()
/linux/arch/powerpc/include/asm/
A Ddrmem.h15 u32 drc_index; member
59 __be32 drc_index; member
73 u32 drc_index; member
A Dio_event_irq.h42 uint32_t drc_index; /* 0x04 DRC Index */ member
A Drtas-types.h109 __be32 drc_index; member
/linux/drivers/pci/hotplug/
A Drpaphp_slot.c30 int drc_index, char *drc_name, int power_domain) in alloc_slot_struct() argument
41 slot->index = drc_index; in alloc_slot_struct()
A Drpaphp.h95 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_dom…

Completed in 28 milliseconds