Home
last modified time | relevance | path

Searched +full:rpm +full:- +full:requests (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v6.1/drivers/interconnect/qcom/
Dicc-rpm.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include <dt-bindings/interconnect/qcom,icc.h>
24 * struct qcom_icc_provider - Qualcomm specific interconnect provider
44 * struct qcom_icc_qos - Qualcomm specific interconnect QoS parameters
45 * @areq_prio: node requests priority
48 * @ap_owned: indicates if the node is owned by the AP or by the RPM
64 * struct qcom_icc_node - Qualcomm specific interconnect nodes
70 * @sum_avg: current sum aggregate value of all avg bw requests
71 * @max_peak: current max aggregate value of all peak bw requests
72 * @mas_rpm_id: RPM id for devices that are bus masters
[all …]
Dicc-rpm.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/interconnect-provider.h>
18 #include "smd-rpm.h"
19 #include "icc-common.h"
20 #include "icc-rpm.h"
53 struct icc_provider *provider = src->provider; in qcom_icc_set_qnoc_qos()
55 struct qcom_icc_node *qn = src->data; in qcom_icc_set_qnoc_qos()
56 struct qcom_icc_qos *qos = &qn->qos; in qcom_icc_set_qnoc_qos()
59 rc = regmap_update_bits(qp->regmap, in qcom_icc_set_qnoc_qos()
60 qp->qos_offset + QNOC_QOS_MCTL_LOWn_ADDR(qos->qos_port), in qcom_icc_set_qnoc_qos()
[all …]
Dmsm8974.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
15 * |----------+-----------------------------------+-----------|
19 * |------------+-+-----------| |------------+-+-----------|
23 * |--------------+-+---------------------------------+-+-------------|
27 * |------------+-------------| |------------+-------------|
30 #include <dt-bindings/interconnect/qcom,msm8974.h>
33 #include <linux/interconnect-provider.h>
41 #include "smd-rpm.h"
187 * struct msm8974_icc_provider - Qualcomm specific interconnect provider
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
7 title: Qualcomm Resource Power Manager (RPM) over SMD
10 This driver is used to interface with the Resource Power Manager (RPM) found
11 in various Qualcomm platforms. The RPM allows each component in the system
15 The SMD information for the RPM edge should be filled out. See qcom,smd.yaml
17 within the RPM node itself.
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
[all …]
Dqcom,glink.txt4 communication between subsystem-pairs on various Qualcomm platforms. Two types
5 of edges can be described by the binding; the GLINK RPM edge and a SMEM based
8 - compatible:
9 Usage: required for glink-rpm
11 Definition: must be "qcom,glink-rpm"
13 - label:
18 - interrupts:
20 Value type: <prop-encoded-array>
24 - qcom,remote-pid:
25 Usage: required for glink-smem
[all …]
Dqcom,smd.yaml1 # SPDX-License-Identifier: GPL-2.0-only 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>
12 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
23 "^smd-edge|rpm$":
24 $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
28 processor of some sort - or in SMD language an "edge". The name of the
32 - compatible
[all …]
/Linux-v6.1/drivers/soc/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 the low-power state for resources related to the remoteproc
26 resource on a RPM-hardened platform must use this database to get
43 be called qcom-cpr
105 purpose of exchanging sector-data between the remote filesystem
111 tristate "Qualcomm RPM-Hardened (RPMH) Communication"
115 Support for communication with the hardened-RPM blocks in
117 internal bus to transmit state requests for shared resources. A set
118 of hardware components aggregate requests for these resources and
125 QCOM RPMh Power domain driver to support power-domains with
[all …]
Dsmd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
15 #include <linux/soc/qcom/smd-rpm.h>
20 * struct qcom_smd_rpm - state of the rpm device driver
23 * @dev: rpm device
26 * @ack_status: result of the rpm request
39 * struct qcom_rpm_header - header for all rpm requests and responses
49 * struct qcom_rpm_request - request message to the rpm
65 * struct qcom_rpm_message - response message from the rpm
69 * @message: textual message from the rpm
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dqcom,rpmcc.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm RPM Clock Controller
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
11 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
14 The clock enumerators are defined in <dt-bindings/clock/qcom,rpmcc.h> and
19 suspend, you need to specify the non-active clock, the one not containing
25 - enum:
26 - qcom,rpmcc-apq8060
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc.c1 // SPDX-License-Identifier: MIT
16 err = -ETIMEDOUT; in request_add_spin()
32 ret = i915_sw_fence_await_dma_fence(&rq->submit, in nop_user_request()
33 &from->fence, 0, in nop_user_request()
60 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_scrub_ctbs()
63 /* Submit requests and inject errors forcing G2H to be dropped */ in intel_guc_scrub_ctbs()
68 drm_err(&gt->i915->drm, "Failed to create context, %d: %d\n", i, ret); in intel_guc_scrub_ctbs()
74 ce->drop_schedule_enable = true; in intel_guc_scrub_ctbs()
77 ce->drop_schedule_disable = true; in intel_guc_scrub_ctbs()
80 ce->drop_deregister = true; in intel_guc_scrub_ctbs()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dselftest_reset.c1 // SPDX-License-Identifier: MIT
22 struct i915_ggtt *ggtt = gt->ggtt; in __igt_reset_stolen()
23 const struct resource *dsm = &gt->i915->dsm; in __igt_reset_stolen()
34 if (!drm_mm_node_allocated(&ggtt->error_capture)) in __igt_reset_stolen()
43 return -ENOMEM; in __igt_reset_stolen()
47 err = -ENOMEM; in __igt_reset_stolen()
52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen()
62 if (!(mask & engine->mask)) in __igt_reset_stolen()
83 dma_addr_t dma = (dma_addr_t)dsm->start + (page << PAGE_SHIFT); in __igt_reset_stolen()
87 ggtt->vm.insert_page(&ggtt->vm, dma, in __igt_reset_stolen()
[all …]
Dintel_reset.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2008-2018 Intel Corporation
50 struct drm_i915_file_private *file_priv = ctx->file_priv; in client_mark_guilty()
61 prev_hang = xchg(&file_priv->hang_timestamp, jiffies); in client_mark_guilty()
66 atomic_add(score, &file_priv->ban_score); in client_mark_guilty()
68 drm_dbg(&ctx->i915->drm, in client_mark_guilty()
70 ctx->name, score, in client_mark_guilty()
71 atomic_read(&file_priv->ban_score)); in client_mark_guilty()
82 if (intel_context_is_closed(rq->context)) in mark_guilty()
86 ctx = rcu_dereference(rq->context->gem_context); in mark_guilty()
[all …]
Dintel_engine_pm.c1 // SPDX-License-Identifier: MIT
24 if (ce->state) { in dbg_poison_ce()
25 struct drm_i915_gem_object *obj = ce->state->obj; in dbg_poison_ce()
26 int type = i915_coherent_map_type(ce->engine->i915, obj, true); in dbg_poison_ce()
34 memset(map, CONTEXT_REDZONE, obj->base.size); in dbg_poison_ce()
50 intel_gt_pm_get(engine->gt); in __engine_unpark()
53 ce = engine->kernel_context; in __engine_unpark()
55 GEM_BUG_ON(test_bit(CONTEXT_VALID_BIT, &ce->flags)); in __engine_unpark()
65 ce->ops->reset(ce); in __engine_unpark()
68 ce->timeline->seqno, in __engine_unpark()
[all …]
Dintel_gt.c1 // SPDX-License-Identifier: MIT
7 #include <drm/intel-gtt.h>
41 spin_lock_init(gt->irq_lock); in intel_gt_common_init_early()
43 INIT_LIST_HEAD(&gt->lmem_userfault_list); in intel_gt_common_init_early()
44 mutex_init(&gt->lmem_userfault_lock); in intel_gt_common_init_early()
45 INIT_LIST_HEAD(&gt->closed_vma); in intel_gt_common_init_early()
46 spin_lock_init(&gt->closed_lock); in intel_gt_common_init_early()
48 init_llist_head(&gt->watchdog.list); in intel_gt_common_init_early()
49 INIT_WORK(&gt->watchdog.work, intel_gt_watchdog_work); in intel_gt_common_init_early()
55 mutex_init(&gt->tlb.invalidate_lock); in intel_gt_common_init_early()
[all …]
Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
28 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
36 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
37 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
39 atomic_add(count, &gt->wakeref.count); in user_forcewake()
47 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
48 gt->stats.start = ktime_get(); in runtime_begin()
49 gt->stats.active = true; in runtime_begin()
50 write_seqcount_end(&gt->stats.lock); in runtime_begin()
57 write_seqcount_begin(&gt->stats.lock); in runtime_end()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/
Dqcom,smd-edge.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/qcom,smd-edge.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Bjorn Andersson <bjorn.andersson@linaro.org>
14 some sort - or in SMD language an "edge". The name of the edges are not
24 const: "smd-edge"
29 - qcom,smd-channels
36 - qcom,smd-channels
55 $ref: /schemas/types.yaml#/definitions/phandle-array
[all …]
/Linux-v6.1/drivers/clk/qcom/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
67 tristate "RPM based Clock Controller"
71 The RPM (Resource Power Manager) is a dedicated hardware engine for
74 memory and accepts clock requests, aggregates the requests and turns
76 Say Y if you want to support the clocks exposed by the RPM on
80 tristate "RPM over SMD based Clock Controller"
84 The RPM (Resource Power Manager) is a dedicated hardware engine for
87 memory and accepts clock requests, aggregates the requests and turns
89 Say Y if you want to support the clocks exposed by the RPM on
97 SoCs. It accepts requests from other hardware subsystems via RSC.
[all …]
Dclk-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
19 #include <dt-bindings/mfd/qcom-rpm.h>
20 #include <dt-bindings/clock/qcom,rpmcc.h>
97 struct qcom_rpm *rpm; member
102 struct qcom_rpm *rpm; member
123 * RPM clock. in clk_rpm_handoff()
125 if (r->rpm_clk_id == QCOM_RPM_PLL_4 || in clk_rpm_handoff()
126 r->rpm_clk_id == QCOM_RPM_CXO_BUFFERS) in clk_rpm_handoff()
129 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff()
[all …]
Dclk-smd-rpm.c1 // SPDX-License-Identifier: GPL-2.0-only
7 #include <linux/clk-provider.h>
17 #include <linux/soc/qcom/smd-rpm.h>
19 #include <dt-bindings/clock/qcom,rpmcc.h>
144 struct qcom_smd_rpm *rpm; member
164 .key = cpu_to_le32(r->rpm_key), in clk_smd_rpm_handoff()
166 .value = cpu_to_le32(r->branch ? 1 : INT_MAX), in clk_smd_rpm_handoff()
169 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff()
170 r->rpm_res_type, r->rpm_clk_id, &req, in clk_smd_rpm_handoff()
174 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_handoff()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/
Dintel_pcode.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2013-2021 Intel Corporation
16 return -ENODEV; in gen6_check_mailbox_status()
18 return -ENXIO; in gen6_check_mailbox_status()
21 return -EOVERFLOW; in gen6_check_mailbox_status()
23 return -ETIMEDOUT; in gen6_check_mailbox_status()
36 return -ENXIO; in gen7_check_mailbox_status()
38 return -ETIMEDOUT; in gen7_check_mailbox_status()
40 return -EINVAL; in gen7_check_mailbox_status()
42 return -ENXIO; in gen7_check_mailbox_status()
[all …]
Di915_driver.c1 /* i915_drv.c -- i830,i845,i855,i865,i915 driver -*- linux-c -*-
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
117 int domain = pci_domain_nr(to_pci_dev(dev_priv->drm.dev)->bus); in i915_get_bridge_dev()
119 dev_priv->bridge_dev = in i915_get_bridge_dev()
121 if (!dev_priv->bridge_dev) { in i915_get_bridge_dev()
122 drm_err(&dev_priv->drm, "bridge device not found\n"); in i915_get_bridge_dev()
123 return -EIO; in i915_get_bridge_dev()
126 return drmm_add_action_or_reset(&dev_priv->drm, i915_release_bridge_dev, in i915_get_bridge_dev()
127 dev_priv->bridge_dev); in i915_get_bridge_dev()
140 pci_read_config_dword(dev_priv->bridge_dev, reg + 4, &temp_hi); in intel_alloc_mchbar_resource()
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Dqcom-apq8084.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 /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 …]
Dqcom-msm8226.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/clock/qcom,gcc-msm8974.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/power/qcom-rpmpd.h>
12 #include <dt-bindings/reset/qcom,gcc-msm8974.h>
15 #address-cells = <1>;
16 #size-cells = <1>;
17 interrupt-parent = <&intc>;
[all …]
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsm6125.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
6 #include <dt-bindings/clock/qcom,gcc-sm6125.h>
7 #include <dt-bindings/clock/qcom,rpmcc.h>
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/power/qcom-rpmpd.h>
13 interrupt-parent = <&intc>;
14 #address-cells = <2>;
15 #size-cells = <2>;
20 xo_board: xo-board {
[all …]
/Linux-v6.1/arch/um/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "UML-specific options"
119 Add /lib (and /lib64 for 64-bit) to the linux binary's rpath
130 While the User-Mode Linux port uses its own root file system for
136 mount none /tmp/fromhost -t hostfs -o /tmp/umlshare
143 <http://user-mode-linux.sourceforge.net/hostfs.html>.
153 The user mode linux management console is a low-level interface to
155 a full-blown operating system running under every user mode linux
161 2.4.5-9um and later (path /tools/mconsole), and is also in the
162 distribution RPM package in 2.4.6 and later.
[all …]

123