/linux-6.14.4/drivers/net/ipa/ |
D | ipa_power.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 15 #include "ipa.h" 23 * DOC: IPA Power Management 25 * The IPA hardware is enabled when the IPA core clock and all the 26 * interconnects (buses) it depends on are enabled. Runtime power 27 * management is used to determine whether the core clock and 28 * interconnects are enabled, and if not in use to be suspended 31 * The core clock currently runs at a fixed clock rate when enabled, [all …]
|
D | ipa_smp2p.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 16 #include "ipa.h" 21 * DOC: IPA SMP2P communication with the modem 24 * the modem. The IPA driver uses this for two purposes: to enable the modem 26 * state of IPA power in the event of a crash. 30 * latter case, the modem uses an SMP2P interrupt to tell the AP IPA driver 33 * The modem is also able to inquire about the current state of IPA 35 * whether power is enabled using two SMP2P state bits--one to indicate [all …]
|
D | ipa_power.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 13 struct ipa; 16 /* IPA device power management function block */ 20 * ipa_core_clock_rate() - Return the current IPA core clock rate 21 * @ipa: IPA structure 23 * Return: The current clock rate (in Hz), or 0. 25 u32 ipa_core_clock_rate(struct ipa *ipa); 28 * ipa_power_retention() - Control register retention on power collapse [all …]
|
D | ipa_main.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 20 #include "ipa.h" 39 * This driver supports the Qualcomm IP Accelerator (IPA), which is a 40 * networking component found in many Qualcomm SoCs. The IPA is connected 44 * The IPA is the conduit between the AP and the modem that carries network 48 * The IPA provides protocol checksum calculation, offloading this work 49 * from the AP. The IPA offers additional functionality, including routing, 51 * currently supported. Despite that, some resources--including routing [all …]
|
D | ipa_endpoint.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 10 #include <linux/dma-direction.h> 16 #include "ipa.h" 30 #define IPA_REPLENISH_BATCH 16 /* Must be non-zero */ 33 #define IPA_RX_BUFFER_OVERHEAD (PAGE_SIZE - SKB_MAX_ORDER(NET_SKB_PAD, 0)) 35 /* Where to find the QMAP mux_id for a packet within modem-supplied metadata */ 40 /** enum ipa_status_opcode - IPA status opcode field hardware values */ 51 /** enum ipa_status_exception - IPA status exception field hardware values */ [all …]
|
D | gsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 26 * DOC: The IPA Generic Software Interface 28 * The generic software interface (GSI) is an integral component of the IPA, 29 * providing a well-defined communication layer between the AP subsystem 30 * and the IPA core. The modem uses the GSI layer as well. 32 * -------- --------- 34 * | AP +<---. .----+ Modem | 35 * | +--. | | .->+ | [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/ |
D | qcom,ipa.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/net/qcom,ipa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm IP Accelerator (IPA) 10 - Alex Elder <[email protected]> 13 This binding describes the Qualcomm IPA. The IPA is capable of offloading 17 The IPA sits between multiple independent "execution environments," 18 including the Application Processor (AP) and the modem. The IPA presents 20 The GSI is an integral part of the IPA, but it is logically isolated [all …]
|
/linux-6.14.4/arch/arm/boot/dts/qcom/ |
D | qcom-sdx55.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx55.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interconnect/qcom,sdx55.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 15 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
D | qcom-sdx65.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 9 #include <dt-bindings/clock/qcom,gcc-sdx65.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/power/qcom-rpmpd.h> 14 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 15 #include <dt-bindings/interconnect/qcom,sdx65.h> 18 #address-cells = <1>; 19 #size-cells = <1>; [all …]
|
/linux-6.14.4/arch/s390/kvm/ |
D | intercept.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * in-kernel handling for sie intercepts 15 #include <asm/asm-offsets.h> 20 #include "kvm-s390.h" 23 #include "trace-s390.h" 28 struct kvm_s390_sie_block *sie_block = vcpu->arch.sie_block; in kvm_s390_get_ilen() 31 switch (vcpu->arch.sie_block->icptcode) { in kvm_s390_get_ilen() 38 ilen = insn_length(vcpu->arch.sie_block->ipa >> 8); in kvm_s390_get_ilen() 40 if (sie_block->icptstatus & 1) { in kvm_s390_get_ilen() 41 ilen = (sie_block->icptstatus >> 4) & 0x6; in kvm_s390_get_ilen() [all …]
|
D | priv.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <asm/asm-offsets.h> 23 #include <asm/page-states.h> 29 #include "kvm-s390.h" 34 vcpu->stat.instruction_ri++; in handle_ri() 36 if (test_kvm_facility(vcpu->kvm, 64)) { in handle_ri() 38 vcpu->arch.sie_block->ecb3 |= ECB3_RI; in handle_ri() 47 if ((vcpu->arch.sie_block->ipa & 0xf) <= 4) in kvm_s390_handle_aa() 50 return -EOPNOTSUPP; in kvm_s390_handle_aa() 55 vcpu->stat.instruction_gs++; in handle_gs() [all …]
|
D | vsie.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "kvm-s390.h" 66 __u8 reserved[0x0700 - 0x0268]; /* 0x0268 */ 75 scb->ipa = 0x1000; in set_validity_icpt() 76 scb->ipb = ((__u32) reason_code) << 16; in set_validity_icpt() 77 scb->icptcode = ICPT_VALIDITY; in set_validity_icpt() 84 atomic_or(PROG_REQUEST, &vsie_page->scb_s.prog20); in prefix_unmapped() 91 if (vsie_page->scb_s.prog0c & PROG_IN_SIE) in prefix_unmapped_sync() 92 atomic_or(CPUSTAT_STOP_INT, &vsie_page->scb_s.cpuflags); in prefix_unmapped_sync() 93 while (vsie_page->scb_s.prog0c & PROG_IN_SIE) in prefix_unmapped_sync() [all …]
|
/linux-6.14.4/arch/arm64/boot/dts/qcom/ |
D | sm6350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,dispcc-sm6350.h> 8 #include <dt-bindings/clock/qcom,gcc-sm6350.h> 9 #include <dt-bindings/clock/qcom,gpucc-sm6350.h> 10 #include <dt-bindings/clock/qcom,rpmh.h> 11 #include <dt-bindings/clock/qcom,sm6350-camcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interconnect/qcom,icc.h> 15 #include <dt-bindings/interconnect/qcom,osm-l3.h> [all …]
|
D | sm8350.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/interconnect/qcom,sm8350.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/qcom,dispcc-sm8350.h> 9 #include <dt-bindings/clock/qcom,gcc-sm8350.h> 10 #include <dt-bindings/clock/qcom,gpucc-sm8350.h> 11 #include <dt-bindings/clock/qcom,rpmh.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> [all …]
|
D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 14 #include <dt-bindings/firmware/qcom,scm.h> 15 #include <dt-bindings/interconnect/qcom,icc.h> [all …]
|
D | sm8650.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8650-camcc.h> 8 #include <dt-bindings/clock/qcom,sm8650-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm8650-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8650-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8650-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8650-videocc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
D | sdm845.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/clock/qcom,camcc-sdm845.h> 9 #include <dt-bindings/clock/qcom,dispcc-sdm845.h> 10 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 11 #include <dt-bindings/clock/qcom,gpucc-sdm845.h> 12 #include <dt-bindings/clock/qcom,lpass-sdm845.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sdm845.h> 15 #include <dt-bindings/dma/qcom-gpi.h> 16 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 8 #include <dt-bindings/clock/qcom,sm8550-camcc.h> 9 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
D | sc7280.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/clock/qcom,camcc-sc7280.h> 8 #include <dt-bindings/clock/qcom,dispcc-sc7280.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7280.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7280.h> 11 #include <dt-bindings/clock/qcom,lpassaudiocc-sc7280.h> 12 #include <dt-bindings/clock/qcom,lpasscorecc-sc7280.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,videocc-sc7280.h> [all …]
|
D | sdm850-samsung-w737.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 8 /dts-v1/; 10 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 #include <dt-bindings/sound/qcom,q6afe.h> 15 #include <dt-bindings/sound/qcom,q6asm.h> 17 #include "sdm845-wcd9340.dtsi" 24 /delete-node/ &qseecom_mem; [all …]
|
D | sm8350-hdk.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2020-2021, Linaro Limited 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 19 compatible = "qcom,sm8350-hdk", "qcom,sm8350"; 20 chassis-type = "embedded"; 27 stdout-path = "serial0:115200n8"; 30 hdmi-connector { 31 compatible = "hdmi-connector"; 36 remote-endpoint = <<9611_out>; [all …]
|
/linux-6.14.4/drivers/clk/qcom/ |
D | clk-smd-rpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 17 #include <linux/soc/qcom/smd-rpm.h> 19 #include <dt-bindings/clock/qcom,rpmcc.h> 167 bool enabled; member 194 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff() 196 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff() 200 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff() 205 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff() 217 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_set_rate_active() [all …]
|
/linux-6.14.4/Documentation/virt/kvm/ |
D | api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 The Definitive KVM (Kernel-based Virtual Machine) API Documentation 24 - System ioctls: These query and set global attributes which affect the 28 - VM ioctls: These query and set attributes that affect an entire virtual 35 - vcpu ioctls: These query and set attributes that control the operation 43 - device ioctls: These query and set attributes that control the operation 56 capabilities also need to be enabled for VMs or VCPUs where their 92 facility that allows backward-compatible extensions to the API to be 133 ----------------------- 150 ----------------- [all …]
|
/linux-6.14.4/tools/include/uapi/linux/ |
D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 20 * Backwards-compatible definitions. 59 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 60 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 187 /* Encounter unexpected vm-exit due to delivery event. */ 189 /* Encounter unexpected vm-exit reason */ 295 __u16 ipa; member 322 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of 324 * sub-types, this struct is ABI! It also needs to be backwards [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 6 * Userspace interface for /dev/kvm - kernel based virtual machine 20 * Backwards-compatible definitions. 59 * For IA-64 (APIC model) IOAPIC0: irq 0-23; IOAPIC1: irq 24-47.. 60 * For X86 (standard AT mode) PIC0/1: irq 0-15. IOAPIC0: 0-23.. 187 /* Encounter unexpected vm-exit due to delivery event. */ 189 /* Encounter unexpected vm-exit reason */ 295 __u16 ipa; member 322 * that is used for the KVM_INTERNAL_ERROR_EMULATION sub-type of 324 * sub-types, this struct is ABI! It also needs to be backwards [all …]
|