| /linux/Documentation/devicetree/bindings/soc/qcom/ | 
| H A D | qcom,rpm-master-stats.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats
 10   - Konrad Dybcio <konradybcio@kernel.org>
 13   The Qualcomm RPM (Resource Power Manager) architecture includes a concept
 14   of "RPM Masters". They can be thought of as "the local gang leaders", usually
 15   spanning a single subsystem (e.g. APSS, ADSP, CDSP). All of the RPM decisions
 16   (particularly around entering hardware-driven low power modes: XO shutdown
 [all …]
 
 | 
| H A D | qcom,smem.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Andy Gross <agross@kernel.org>
 11   - Bjorn Andersson <bjorn.andersson@linaro.org>
 15   reserved-memory used to share data between various subsystems and OSes in
 25   memory-region:
 32   qcom,rpm-msg-ram:
 34     description: handle to RPM message memory resource
 36   no-map: true
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/interrupt-controller/ | 
| H A D | qcom,mpm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/interrupt-controller/qcom,mpm.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 10   - Shawn Guo <shawn.guo@linaro.org>
 13   Qualcomm Technologies Inc. SoCs based on the RPM architecture have a
 14   MSM Power Manager (MPM) that is in always-on domain. In addition to managing
 21   - $ref: /schemas/interrupt-controller.yaml#
 26       - const: qcom,mpm
 31       Specifies the base address and size of vMPM registers in RPM MSG RAM.
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/remoteproc/ | 
| H A D | qcom,glink-rpm-edge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Qualcomm G-Link RPM edge
 10   Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource
 11   Power Manager (RPM) on various Qualcomm platforms.
 14   - Bjorn Andersson <andersson@kernel.org>
 18     const: qcom,glink-rpm
 30       - description: rpm_hlos mailbox in APCS
 [all …]
 
 | 
| H A D | qcom,rpm-proc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Qualcomm Resource Power Manager (RPM) Processor/Subsystem
 10   - Bjorn Andersson <andersson@kernel.org>
 11   - Konrad Dybcio <konradybcio@kernel.org>
 12   - Stephan Gerhold <stephan@gerhold.net>
 15   Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
 17                   +--------------------------------------------+
 [all …]
 
 | 
| /linux/drivers/soc/qcom/ | 
| H A D | qcom_stats.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (c) 2011-2021, The Linux Foundation. All rights reserved.
 4  * Copyright (c) 2022-2025, Qualcomm Innovation Center, Inc. All rights reserved.
 100 	u64 accumulated = stat->accumulated;  in qcom_print_stats()
 105 	if (stat->last_entered_at > stat->last_exited_at)  in qcom_print_stats()
 106 		accumulated += arch_timer_read_counter() - stat->last_entered_at;  in qcom_print_stats()
 108 	seq_printf(s, "Count: %u\n", stat->count);  in qcom_print_stats()
 109 	seq_printf(s, "Last Entered At: %llu\n", stat->last_entered_at);  in qcom_print_stats()
 110 	seq_printf(s, "Last Exited At: %llu\n", stat->last_exited_at);  in qcom_print_stats()
 116 	struct subsystem_data *subsystem = s->private;  in qcom_subsystem_sleep_stats_show()
 [all …]
 
 | 
| /linux/drivers/rpmsg/ | 
| H A D | qcom_glink_rpm.c | 1 // SPDX-License-Identifier: GPL-2.03  * Copyright (c) 2016-2017, Linaro Ltd
 27 #define RPM_TOC_MAX_ENTRIES	((RPM_TOC_SIZE - sizeof(struct rpm_toc)) / \
 75 	head = readl(pipe->head);  in glink_rpm_rx_avail()
 76 	tail = readl(pipe->tail);  in glink_rpm_rx_avail()
 79 		return pipe->native.length - tail + head;  in glink_rpm_rx_avail()
 81 		return head - tail;  in glink_rpm_rx_avail()
 91 	tail = readl(pipe->tail);  in glink_rpm_rx_peek()
 93 	if (tail >= pipe->native.length)  in glink_rpm_rx_peek()
 94 		tail -= pipe->native.length;  in glink_rpm_rx_peek()
 [all …]
 
 | 
| /linux/drivers/irqchip/ | 
| H A D | irq-qcom-mpm.c | 1 // SPDX-License-Identifier: GPL-2.0-only4  * Copyright (c) 2010-2020, The Linux Foundation. All rights reserved.
 27  * which is commonly found on Qualcomm SoCs built on the RPM architecture.
 28  * Sitting in always-on domain, MPM monitors the wakeup interrupts when SoC is
 32  * AP and RPM.  This piece of memory is called 'vMPM' in the driver.
 36  * driver sends a mailbox notification to RPM, which will take over the vMPM
 38  * up by a MPM pin/interrupt, and RPM will copy STATUS registers into vMPM.
 44  *    +--------------------------------+
 46  *    +--------------------------------+
 48  *    +--------------------------------+
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/qcom/ | 
| H A D | qcom-apq8084.dtsi | 1 // SPDX-License-Identifier: GPL-2.02 /dts-v1/;
 4 #include <dt-bindings/interrupt-controller/arm-gic.h>
 5 #include <dt-bindings/clock/qcom,gcc-apq8084.h>
 6 #include <dt-bindings/gpio/gpio.h>
 9 	#address-cells = <1>;
 10 	#size-cells = <1>;
 13 	interrupt-parent = <&intc>;
 15 	reserved-memory {
 16 		#address-cells = <1>;
 [all …]
 
 | 
| H A D | qcom-msm8226.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause6 /dts-v1/;
 8 #include <dt-bindings/interrupt-controller/arm-gic.h>
 9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 10 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
 11 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
 12 #include <dt-bindings/clock/qcom,rpmcc.h>
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/power/qcom-rpmpd.h>
 15 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
 [all …]
 
 | 
| H A D | qcom-msm8974.dtsi | 1 // SPDX-License-Identifier: GPL-2.02 /dts-v1/;
 4 #include <dt-bindings/interconnect/qcom,msm8974.h>
 5 #include <dt-bindings/interrupt-controller/arm-gic.h>
 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 7 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
 8 #include <dt-bindings/clock/qcom,mmcc-msm8974.h>
 9 #include <dt-bindings/clock/qcom,rpmcc.h>
 10 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
 11 #include <dt-bindings/gpio/gpio.h>
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/qcom/ | 
| H A D | sm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause6 #include <dt-bindings/clock/qcom,dispcc-sm6125.h>
 7 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 8 #include <dt-bindings/clock/qcom,gcc-sm6125.h>
 9 #include <dt-bindings/clock/qcom,rpmcc.h>
 10 #include <dt-bindings/dma/qcom-gpi.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>
 16 	interrupt-parent = <&intc>;
 [all …]
 
 | 
| H A D | msm8917.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only3 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 4 #include <dt-bindings/clock/qcom,gcc-msm8917.h>
 5 #include <dt-bindings/clock/qcom,rpmcc.h>
 6 #include <dt-bindings/interrupt-controller/arm-gic.h>
 7 #include <dt-bindings/power/qcom-rpmpd.h>
 8 #include <dt-bindings/thermal/thermal.h>
 11 	interrupt-parent = <&intc>;
 13 	#address-cells = <2>;
 14 	#size-cells = <2>;
 [all …]
 
 | 
| H A D | msm8976.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause3  * Copyright (c) 2016-2022, AngeloGioacchino Del Regno
 9 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 10 #include <dt-bindings/clock/qcom,gcc-msm8976.h>
 11 #include <dt-bindings/clock/qcom,rpmcc.h>
 12 #include <dt-bindings/gpio/gpio.h>
 13 #include <dt-bindings/interrupt-controller/arm-gic.h>
 14 #include <dt-bindings/interrupt-controller/irq.h>
 15 #include <dt-bindings/power/qcom-rpmpd.h>
 18 	interrupt-parent = <&intc>;
 [all …]
 
 | 
| H A D | sm6115.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 7 #include <dt-bindings/clock/qcom,gcc-sm6115.h>
 8 #include <dt-bindings/clock/qcom,sm6115-dispcc.h>
 9 #include <dt-bindings/clock/qcom,sm6115-gpucc.h>
 10 #include <dt-bindings/clock/qcom,rpmcc.h>
 11 #include <dt-bindings/dma/qcom-gpi.h>
 12 #include <dt-bindings/firmware/qcom,scm.h>
 13 #include <dt-bindings/gpio/gpio.h>
 14 #include <dt-bindings/interconnect/qcom,rpm-icc.h>
 [all …]
 
 | 
| H A D | sdm630.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause7 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h>
 8 #include <dt-bindings/clock/qcom,gcc-sdm660.h>
 9 #include <dt-bindings/clock/qcom,gpucc-sdm660.h>
 10 #include <dt-bindings/clock/qcom,mmcc-sdm660.h>
 11 #include <dt-bindings/clock/qcom,rpmcc.h>
 12 #include <dt-bindings/firmware/qcom,scm.h>
 13 #include <dt-bindings/interconnect/qcom,sdm660.h>
 14 #include <dt-bindings/power/qcom-rpmpd.h>
 15 #include <dt-bindings/gpio/gpio.h>
 [all …]
 
 | 
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ | 
| H A D | otx2_pf.c | 1 // SPDX-License-Identifier: GPL-2.062 	if (pf->xdp_prog && new_mtu > MAX_XDP_MTU) {  in otx2_change_mtu()
 64 			    netdev->mtu);  in otx2_change_mtu()
 65 		return -EINVAL;  in otx2_change_mtu()
 71 		    netdev->mtu, new_mtu);  in otx2_change_mtu()
 72 	WRITE_ONCE(netdev->mtu, new_mtu);  in otx2_change_mtu()
 82 	int irq, vfs = pf->total_vfs;  in otx2_disable_flr_me_intr()
 86 	irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFME0);  in otx2_disable_flr_me_intr()
 91 	irq = pci_irq_vector(pf->pdev, RVU_PF_INT_VEC_VFFLR0);  in otx2_disable_flr_me_intr()
 97 	otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64));  in otx2_disable_flr_me_intr()
 [all …]
 
 |