Searched +full:my +full:- +full:drc +full:- +full:index (Results 1 – 7 of 7) sorted by relevance
/linux/arch/powerpc/platforms/pseries/ |
H A D | dlpar.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <asm/rtas-work-area.h> 45 kfree(prop->name); in dlpar_free_cc_property() 46 kfree(prop->value); in dlpar_free_cc_property() 60 name = (char *)ccwa + be32_to_cpu(ccwa->name_offset); in dlpar_parse_cc_property() 61 prop->name = kstrdup(name, GFP_KERNEL); in dlpar_parse_cc_property() 62 if (!prop->name) { in dlpar_parse_cc_property() 67 prop->length = be32_to_cpu(ccwa->prop_length); in dlpar_parse_cc_property() 68 value = (char *)ccwa + be32_to_cpu(ccwa->prop_offset); in dlpar_parse_cc_property() 69 prop->value = kmemdup(value, prop->length, GFP_KERNEL); in dlpar_parse_cc_property() [all …]
|
H A D | hotplug-cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #define pr_fmt(fmt) "pseries-hotplug-cpu: " fmt 88 systemcfg->processorCount--; in pseries_cpu_disable() 111 * the cpu-offline. Here we wait for long enough to allow the cpu in question 112 * to self-destroy so that the cpu-offline thread can send the CPU_DEAD 116 * self-destruct. 144 paca_ptrs[cpu]->cpu_start = 0; in pseries_cpu_die() 148 * find_cpu_id_range - found a linear ranger of @nthreads free CPU ids. 161 int rc = -ENOSPC; in find_cpu_id_range() 164 return -ENOMEM; in find_cpu_id_range() [all …]
|
H A D | pmem.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #define pr_fmt(fmt) "pseries-pmem: " fmt 34 pr_debug("Attempting to add pmem node, drc index: %x\n", drc_index); in pmem_drc_add_node() 38 pr_err("Failed to acquire DRC, rc: %d, drc index: %x\n", in pmem_drc_add_node() 40 return -EINVAL; in pmem_drc_add_node() 45 pr_err("configure-connector failed for drc %x\n", drc_index); in pmem_drc_add_node() 47 return -EINVAL; in pmem_drc_add_node() 53 pr_err("Failed to attach node %pOF, rc: %d, drc index: %x\n", in pmem_drc_add_node() 62 pr_info("Successfully added %pOF, drc index: %x\n", dn, drc_index); in pmem_drc_add_node() 70 uint32_t index; in pmem_drc_remove_node() local [all …]
|
/linux/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * PCI Hot Plug Controller Driver for RPA-compliant PPC64 platform. 23 #include <asm/pci-bridge.h> /* for pci_controller */ 46 * set_attention_status - set attention LED 50 * echo 0 > attention -- set LED OFF 51 * echo 1 > attention -- set LED ON 52 * echo 2 > attention -- set LED ID(identify, light is blinking) 69 rc = rtas_set_indicator(DR_INDICATOR, slot->index, value); in set_attention_status() 71 slot->attention_status = value; in set_attention_status() 77 * get_power_status - get power status of a slot [all …]
|
H A D | rpaphp_slot.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 of_node_put(slot->dn); in dealloc_slot_struct() 26 kfree(slot->name); in dealloc_slot_struct() 38 slot->name = kstrdup(drc_name, GFP_KERNEL); in alloc_slot_struct() 39 if (!slot->name) in alloc_slot_struct() 41 slot->dn = of_node_get(dn); in alloc_slot_struct() 42 slot->index = drc_index; in alloc_slot_struct() 43 slot->power_domain = power_domain; in alloc_slot_struct() 44 slot->hotplug_slot.ops = &rpaphp_hotplug_slot_ops; in alloc_slot_struct() 59 if (!strcmp(tmp_slot->name, slot->name)) in is_registered() [all …]
|
/linux/Documentation/devicetree/bindings/tpm/ |
H A D | ibm,vtpm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nayna Jain <nayna@linux.ibm.com> 23 - IBM,vtpm 24 - IBM,vtpm20 30 - IBM,vtpm 31 - IBM,vtpm20 36 ibm,#dma-address-cells: 39 dma-window properties [all …]
|
/linux/drivers/misc/ |
H A D | ibmvmc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 83 * h_request_vmc: - request a hypervisor virtual management channel device 84 * @vmc_index: drc index of the vmc device created 91 * 0 - Success 92 * Non-zero - Failure 114 * ibmvmc_handle_event: - Interrupt handler for crq events 127 vio_disable_interrupts(to_vio_dev(adapter->dev)); in ibmvmc_handle_event() 128 tasklet_schedule(&adapter->work_task); in ibmvmc_handle_event() 134 * ibmvmc_release_crq_queue - Release CRQ Queue 139 * 0 - Success [all …]
|