Home
last modified time | relevance | path

Searched full:rpm (Results 1 – 25 of 824) sorted by relevance

12345678910>>...33

/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drpm.c2 /* Marvell CN10K RPM driver
12 .name = "rpm",
44 .name = "rpm",
77 rpm_t *rpm = rpmd; in is_dev_rpm2() local
79 return (rpm->pdev->device == PCI_DEVID_CN10KB_RPM); in is_dev_rpm2()
82 struct mac_ops *rpm_get_mac_ops(rpm_t *rpm) in rpm_get_mac_ops() argument
84 if (is_dev_rpm2(rpm)) in rpm_get_mac_ops()
90 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument
92 cgx_write(rpm, lmac, offset, val); in rpm_write()
95 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#
7 title: Qualcomm Resource Power Manager (RPM) over SMD/GLINK
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 or GLINK information for the RPM edge should be filled out. See
17 properties will reside within the RPM node itself.
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
34 - qcom,rpm-apq8084
35 - qcom,rpm-ipq6018
[all …]
Dqcom,rpm.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm.yaml#
7 title: Qualcomm Resource Power Manager (RPM)
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
21 - qcom,rpm-apq8064
22 - qcom,rpm-msm8660
23 - qcom,rpm-msm8960
24 - qcom,rpm-ipq8064
25 - qcom,rpm-mdm9615
47 Three entries specifying the outgoing ipc bit used for signaling the RPM.
[all …]
Dqcom,rpm-master-stats.yaml4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpm-master-stats.yaml#
7 title: Qualcomm Technologies, Inc. (QTI) RPM Master Stats
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
31 const: qcom,rpm-master-stats
33 qcom,rpm-msg-ram:
35 description: Phandle to an RPM MSG RAM slice containing the master stats
42 The name of the RPM Master which owns the MSG RAM slice where this
49 - qcom,rpm-msg-ram
[all …]
Dqcom-stats.yaml24 - qcom,rpm-stats
25 # For older RPM firmware versions with fixed offset for the sleep stats
26 - qcom,apq8084-rpm-stats
27 - qcom,msm8226-rpm-stats
28 - qcom,msm8916-rpm-stats
29 - qcom,msm8974-rpm-stats
47 # Example of rpm sleep stats
50 compatible = "qcom,rpm-stats";
Dqcom,smd.yaml29 "^smd-edge|rpm$":
44 # "rpm" subsystem. For the "rpm" subsystem we have a device tied to the
46 # NOTE: This is deprecated, represent the RPM using "qcom,rpm-proc" instead.
53 rpm {
58 rpm-requests {
59 compatible = "qcom,rpm-msm8974";
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_runtime_pm.c78 static void init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in init_intel_runtime_pm_wakeref() argument
80 spin_lock_init(&rpm->debug.lock); in init_intel_runtime_pm_wakeref()
84 track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in track_intel_runtime_pm_wakeref() argument
89 if (!rpm->available) in track_intel_runtime_pm_wakeref()
96 spin_lock_irqsave(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
98 if (!rpm->debug.count) in track_intel_runtime_pm_wakeref()
99 rpm->debug.last_acquire = stack; in track_intel_runtime_pm_wakeref()
101 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref()
102 (rpm->debug.count + 1) * sizeof(*stacks), in track_intel_runtime_pm_wakeref()
105 stacks[rpm->debug.count++] = stack; in track_intel_runtime_pm_wakeref()
[all …]
Dintel_runtime_pm.h96 assert_rpm_device_not_suspended(struct intel_runtime_pm *rpm) in assert_rpm_device_not_suspended() argument
98 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
103 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument
105 assert_rpm_device_not_suspended(rpm); in __assert_rpm_raw_wakeref_held()
107 "RPM raw-wakeref not held\n"); in __assert_rpm_raw_wakeref_held()
111 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument
113 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()
115 "RPM wakelock ref not held during HW access\n"); in __assert_rpm_wakelock_held()
119 assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm) in assert_rpm_raw_wakeref_held() argument
121 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
Dintel_runtime_pm.c68 static void init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in init_intel_runtime_pm_wakeref() argument
70 spin_lock_init(&rpm->debug.lock); in init_intel_runtime_pm_wakeref()
75 track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) in track_intel_runtime_pm_wakeref() argument
80 if (rpm->no_wakeref_tracking) in track_intel_runtime_pm_wakeref()
87 spin_lock_irqsave(&rpm->debug.lock, flags); in track_intel_runtime_pm_wakeref()
89 if (!rpm->debug.count) in track_intel_runtime_pm_wakeref()
90 rpm->debug.last_acquire = stack; in track_intel_runtime_pm_wakeref()
92 stacks = krealloc(rpm->debug.owners, in track_intel_runtime_pm_wakeref()
93 (rpm->debug.count + 1) * sizeof(*stacks), in track_intel_runtime_pm_wakeref()
96 stacks[rpm->debug.count++] = stack; in track_intel_runtime_pm_wakeref()
[all …]
Dintel_runtime_pm.h111 assert_rpm_device_not_suspended(struct intel_runtime_pm *rpm) in assert_rpm_device_not_suspended() argument
113 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
118 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument
120 assert_rpm_device_not_suspended(rpm); in __assert_rpm_raw_wakeref_held()
122 "RPM raw-wakeref not held\n"); in __assert_rpm_raw_wakeref_held()
126 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument
128 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()
130 "RPM wakelock ref not held during HW access\n"); in __assert_rpm_wakelock_held()
134 assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm) in assert_rpm_raw_wakeref_held() argument
136 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmd-rpm.c15 #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
71 * Multiple of these messages can be stacked in an rpm message.
89 * @rpm: rpm handle
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/
Dqcom,rpm-proc.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,rpm-proc.yaml#
7 title: Qualcomm Resource Power Manager (RPM) Processor/Subsystem
15 Resource Power Manager (RPM) subsystem found in various Qualcomm platforms:
18 | RPM subsystem (qcom,rpm-proc) |
35 The firmware running on the processor inside the RPM subsystem allows each
44 | | RPM firmware | | | |
69 - qcom,apq8084-rpm-proc
70 - qcom,ipq6018-rpm-proc
71 - qcom,ipq9574-rpm-proc
72 - qcom,mdm9607-rpm-proc
[all …]
Dqcom,glink-rpm-edge.yaml4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml#
7 title: Qualcomm G-Link RPM edge
11 Power Manager (RPM) on various Qualcomm platforms.
18 const: qcom,glink-rpm
39 qcom,rpm-msg-ram:
42 RPM message memory resource (compatible: qcom,rpm-msg-ram).
44 rpm-requests:
46 $ref: /schemas/soc/qcom/qcom,smd-rpm.yaml#
49 Qualcomm Resource Power Manager (RPM) over G-Link
79 - qcom,rpm-msg-ram
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.yaml4 $id: "http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.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.txt
17 within the RPM node itself.
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
33 - qcom,rpm-apq8084
34 - qcom,rpm-ipq6018
[all …]
Dqcom,glink.txt5 of edges can be described by the binding; the GLINK RPM edge and a SMEM based
9 Usage: required for glink-rpm
11 Definition: must be "qcom,glink-rpm"
29 - qcom,rpm-msg-ram:
30 Usage: required for glink-rpm
32 Definition: handle to RPM message memory resource
61 The following example represents the GLINK RPM node on a MSM8996 device, with
73 compatible = "qcom,rpm-msg-ram";
77 rpm-glink {
78 compatible = "qcom,glink-rpm";
[all …]
/kernel/linux/linux-6.6/drivers/soc/qcom/
Dsmd-rpm.c15 #include <linux/soc/qcom/smd-rpm.h>
20 * struct qcom_smd_rpm - state of the rpm device driver
22 * @dev: rpm device
25 * @ack_status: result of the rpm request
37 * struct qcom_rpm_header - header for all rpm requests and responses
47 * struct qcom_rpm_request - request message to the rpm
63 * struct qcom_rpm_message - response message from the rpm
67 * @message: textual message from the rpm
69 * Multiple of these messages can be stacked in an rpm message.
87 * @rpm: rpm handle
[all …]
/kernel/linux/linux-6.6/drivers/rpmsg/
Dqcom_glink_rpm.c198 struct glink_rpm *rpm = container_of(pipe, struct glink_rpm, tx_pipe); in glink_rpm_tx_kick() local
200 mbox_send_message(rpm->mbox_chan, NULL); in glink_rpm_tx_kick()
201 mbox_client_txdone(rpm->mbox_chan, 0); in glink_rpm_tx_kick()
206 struct glink_rpm *rpm = data; in qcom_glink_rpm_intr() local
208 qcom_glink_native_rx(rpm->glink); in qcom_glink_rpm_intr()
237 dev_err(dev, "RPM TOC has invalid magic\n"); in glink_rpm_parse_toc()
291 struct glink_rpm *rpm; in glink_rpm_probe() local
299 rpm = devm_kzalloc(&pdev->dev, sizeof(*rpm), GFP_KERNEL); in glink_rpm_probe()
300 if (!rpm) in glink_rpm_probe()
303 np = of_parse_phandle(dev->of_node, "qcom,rpm-msg-ram", 0); in glink_rpm_probe()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml#
7 title: QCOM SMD RPM REGULATOR
10 The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM.
11 Because SMD is used as the communication transport mechanism, the RPM
12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires
13 that the SMD and RPM nodes be present.
18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
19 for information regarding the RPM node.
86 - qcom,rpm-mp5496-regulators
87 - qcom,rpm-pm2250-regulators
[all …]
Dqcom,rpm-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml#
7 title: Qualcomm RPM regulator
10 The Qualcomm RPM regulator is modelled as a subdevice of the RPM.
12 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,rpm.yaml
13 for information regarding the RPM node.
42 - qcom,rpm-pm8058-regulators
43 - qcom,rpm-pm8901-regulators
44 - qcom,rpm-pm8921-regulators
45 - qcom,rpm-pm8018-regulators
46 - qcom,rpm-smb208-regulators
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml#
7 title: QCOM SMD RPM REGULATOR
10 The Qualcomm RPM over SMD regulator is modelled as a subdevice of the RPM.
11 Because SMD is used as the communication transport mechanism, the RPM
12 resides as a subnode of the SMD. As such, the SMD-RPM regulator requires
13 that the SMD and RPM nodes be present.
18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
19 for information regarding the RPM node.
70 - qcom,rpm-mp5496-regulators
71 - qcom,rpm-pm8841-regulators
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dqcom_rpm.c18 #include <dt-bindings/mfd/qcom-rpm.h>
58 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4) argument
59 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) argument
60 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4) argument
436 { .compatible = "qcom,rpm-apq8064", .data = &apq8064_template },
437 { .compatible = "qcom,rpm-msm8660", .data = &msm8660_template },
438 { .compatible = "qcom,rpm-msm8960", .data = &msm8960_template },
439 { .compatible = "qcom,rpm-ipq8064", .data = &ipq806x_template },
440 { .compatible = "qcom,rpm-mdm9615", .data = &mdm9615_template },
445 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() argument
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dqcom_rpm.c18 #include <dt-bindings/mfd/qcom-rpm.h>
58 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4) argument
59 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) argument
60 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4) argument
436 { .compatible = "qcom,rpm-apq8064", .data = &apq8064_template },
437 { .compatible = "qcom,rpm-msm8660", .data = &msm8660_template },
438 { .compatible = "qcom,rpm-msm8960", .data = &msm8960_template },
439 { .compatible = "qcom,rpm-ipq8064", .data = &ipq806x_template },
440 { .compatible = "qcom,rpm-mdm9615", .data = &mdm9615_template },
445 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() argument
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dqcom-rpm.txt1 Qualcomm Resource Power Manager (RPM)
3 This driver is used to interface with the Resource Power Manager (RPM) found in
4 various Qualcomm platforms. The RPM allows each component in the system to vote
12 "qcom,rpm-apq8064"
13 "qcom,rpm-msm8660"
14 "qcom,rpm-msm8960"
15 "qcom,rpm-ipq8064"
16 "qcom,rpm-mdm9615"
21 Definition: base address and size of the RPM's message ram
26 Definition: three entries specifying the RPM's:
[all …]
/kernel/linux/linux-6.6/Documentation/hwmon/
Dasus_wmi_sensors.rst49 * CPU Fan RPM,
50 * Chassis Fan 1 RPM,
51 * Chassis Fan 2 RPM,
52 * Chassis Fan 3 RPM,
53 * HAMP Fan RPM,
54 * Water Pump RPM,
55 * CPU OPT RPM,
56 * Water Flow RPM,
57 * AIO Pump RPM,
/kernel/linux/linux-6.6/drivers/clk/qcom/
Dclk-rpm.c18 #include <dt-bindings/mfd/qcom-rpm.h>
96 struct qcom_rpm *rpm; member
101 struct qcom_rpm *rpm; member
122 * RPM clock. in clk_rpm_handoff()
128 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff()
132 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_handoff()
144 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_set_rate_active()
152 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_set_rate_sleep()
182 /* Don't send requests to the RPM if the rate has not been set. */ in clk_rpm_prepare()
264 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare()
[all …]

12345678910>>...33