Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drpm.c2 /* Marvell CN10K RPM driver
12 .name = "rpm",
39 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument
41 cgx_write(rpm, lmac, offset, val); in rpm_write()
44 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument
46 return cgx_read(rpm, lmac, offset); in rpm_read()
51 rpm_t *rpm = rpmd; in rpm_get_nr_lmacs() local
53 return hweight8(rpm_read(rpm, 0, CGXX_CMRX_RX_LMACS) & 0xFULL); in rpm_get_nr_lmacs()
58 rpm_t *rpm = rpmd; in rpm_lmac_enadis_rx_pause_fwding() local
61 if (!rpm) in rpm_lmac_enadis_rx_pause_fwding()
[all …]
Dlmac_common.h2 /* Marvell CN10K RPM driver
46 /* CGX & RPM has different feature set
54 * RPM DMAC_CTL0 0x4ff8
58 * defined hence CGX uses OVERFLOW bit in CMR_INT. RPM block supports
64 /* lmac offset is different is RPM */
71 /* RPM & CGX differs in number of Receive/transmit stats */
74 /* Incase of RPM get number of lmacs from RPMX_CMR_RX_LMACS[LMAC_EXIST]
/Linux-v5.15/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 …]
Dintel_wakeref.c14 wf->wakeref = intel_runtime_pm_get(wf->rpm); in rpm_get()
21 intel_runtime_pm_put(wf->rpm, wakeref); in rpm_put()
97 struct intel_runtime_pm *rpm, in __intel_wakeref_init() argument
101 wf->rpm = rpm; in __intel_wakeref_init()
140 intel_runtime_pm_put(wf->rpm, wakeref); in wakeref_auto_timeout()
144 struct intel_runtime_pm *rpm) in intel_wakeref_auto_init() argument
150 wf->rpm = rpm; in intel_wakeref_auto_init()
164 assert_rpm_wakelock_held(wf->rpm); in intel_wakeref_auto()
170 wf->wakeref = intel_runtime_pm_get_if_in_use(wf->rpm); in intel_wakeref_auto()
/Linux-v5.15/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 …]
DKconfig26 resource on a RPM-hardened platform must use this database to get
111 tristate "Qualcomm RPM-Hardened (RPMH) Communication"
115 Support for communication with the hardened-RPM blocks in
131 tristate "Qualcomm RPM Power domain driver"
134 QCOM RPM Power domain driver to support power-domains with
136 value to RPM which then translates it into corresponding voltage
149 tristate "Qualcomm Resource Power Manager (RPM) over SMD"
158 frequencies controlled by the RPM on these devices.
160 Say M here if you want to include support for the Qualcomm RPM as a
161 module. This will build a module called "qcom-smd-rpm".
Drpmpd.c14 #include <linux/soc/qcom/smd-rpm.h>
108 struct qcom_smd_rpm *rpm; member
121 /* mdm9607 RPM Power Domains */
142 /* msm8939 RPM Power Domains */
168 /* msm8916 RPM Power Domains */
188 /* msm8976 RPM Power Domains */
210 /* msm8994 RPM Power domains */
235 /* msm8996 RPM Power domains */
259 /* msm8998 RPM Power domains */
291 /* qcs404 RPM Power domains */
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 …]
/Linux-v5.15/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.
74 - qcom,rpm-mp5496-regulators
75 - qcom,rpm-pm8226-regulators
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/scripts/
DMakefile.package6 # RPM target
8 # The rpm target generates two rpm files:
9 # /usr/src/packages/SRPMS/kernel-2.6.7rc2-1.src.rpm
10 # /usr/src/packages/RPMS/i386/kernel-2.6.7rc2-1.<arch>.rpm
11 # The src.rpm files includes all source for the kernel being built
12 # The <arch>.rpm includes kernel configuration, modules etc.
14 # Process to create the rpm files
20 # e) generate the rpm files, based on kernel.spec
23 # Note that the rpm-pkg target cannot be used with KBUILD_OUTPUT,
26 # Remove hyphens since they have special meaning in RPM filenames
[all …]
/Linux-v5.15/drivers/clk/qcom/
Dclk-rpm.c19 #include <dt-bindings/mfd/qcom-rpm.h>
89 struct qcom_rpm *rpm; member
94 struct qcom_rpm *rpm; member
115 * RPM clock. in clk_rpm_handoff()
121 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff()
125 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_handoff()
137 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_set_rate_active()
145 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_set_rate_sleep()
175 /* Don't send requests to the RPM if the rate has not been set. */ in clk_rpm_prepare()
257 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare()
[all …]
Dclk-smd-rpm.c17 #include <linux/soc/qcom/smd-rpm.h>
20 #include <dt-bindings/mfd/qcom-rpm.h>
144 struct qcom_smd_rpm *rpm; member
154 struct qcom_rpm *rpm; member
175 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff()
180 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_handoff()
198 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_set_rate_active()
212 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_set_rate_sleep()
243 /* Don't send requests to the RPM if the rate has not been set. */ in clk_smd_rpm_prepare()
359 * RPM handles rate rounding and we don't have a way to in clk_smd_rpm_round_rate()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/interconnect/
Dqcom,rpm.yaml4 $id: http://devicetree.org/schemas/interconnect/qcom,rpm.yaml#
7 title: Qualcomm RPM Network-On-Chip Interconnect
13 RPM interconnect providers support system bandwidth requirements through
14 RPM processor. The provider is able to communicate with the RPM through
15 the RPM shared memory device.
/Linux-v5.15/drivers/hwmon/
Dmax31790.c48 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2)) argument
145 static u8 bits_for_tach_period(int rpm) in bits_for_tach_period() argument
149 if (rpm < 500) in bits_for_tach_period()
151 else if (rpm < 1000) in bits_for_tach_period()
153 else if (rpm < 2000) in bits_for_tach_period()
155 else if (rpm < 4000) in bits_for_tach_period()
157 else if (rpm < 8000) in bits_for_tach_period()
169 int sr, rpm; in max31790_read_fan() local
178 rpm = 0; in max31790_read_fan()
180 rpm = RPM_FROM_REG(data->tach[channel], sr); in max31790_read_fan()
[all …]
Dtc654.c21 TC654_REG_RPM1 = 0x00, /* RPM Output 1 */
22 TC654_REG_RPM2 = 0x01, /* RPM Output 2 */
45 /* RPM resolution for RPM Output registers */
46 #define TC654_HIGH_RPM_RESOLUTION 25 /* 25 RPM resolution */
47 #define TC654_LOW_RPM_RESOLUTION 50 /* 50 RPM resolution */
49 /* Convert to the fan fault RPM threshold from register value */
50 #define TC654_FAN_FAULT_FROM_REG(val) ((val) * 50) /* 50 RPM resolution */
52 /* Convert to register value from the fan fault RPM threshold */
68 u8 rpm_output[2]; /* The fan RPM data for fans 1 and 2 is then
80 * 6: Resolution Selection for RPM Output Registers
[all …]
Daspeed-pwm-tacho.c165 /* How long we sleep in us while waiting for an RPM result. */
610 int rpm; in rpm_show() local
613 rpm = aspeed_get_fan_tach_ch_rpm(priv, index); in rpm_show()
614 if (rpm < 0) in rpm_show()
615 return rpm; in rpm_show()
617 return sprintf(buf, "%d\n", rpm); in rpm_show()
667 static SENSOR_DEVICE_ATTR_RO(fan1_input, rpm, 0);
668 static SENSOR_DEVICE_ATTR_RO(fan2_input, rpm, 1);
669 static SENSOR_DEVICE_ATTR_RO(fan3_input, rpm, 2);
670 static SENSOR_DEVICE_ATTR_RO(fan4_input, rpm, 3);
[all …]
Dgpio-fan.c25 int rpm; member
153 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, unsigned long rpm) in rpm_to_speed_index() argument
159 if (speed[i].rpm >= rpm) in rpm_to_speed_index()
246 return sprintf(buf, "%d\n", fan_data->speed[0].rpm); in fan1_min_show()
255 fan_data->speed[fan_data->num_speed - 1].rpm); in fan1_max_show()
263 return sprintf(buf, "%d\n", fan_data->speed[fan_data->speed_index].rpm); in fan1_input_show()
270 unsigned long rpm; in set_rpm() local
273 if (kstrtoul(buf, 10, &rpm)) in set_rpm()
283 set_fan_speed(fan_data, rpm_to_speed_index(fan_data, rpm)); in set_rpm()
443 /* Get number of RPM/ctrl_val pairs in speed map */ in gpio_fan_get_of_data()
[all …]
/Linux-v5.15/scripts/package/
Dmkspec3 # Output a simple RPM spec file.
4 # This version assumes a minimum of RPM 4.0.3.
52 %define __spec_install_post /usr/lib/rpm/brp-compress || :
112 cp /boot/vmlinuz-$KERNELRELEASE /boot/.vmlinuz-$KERNELRELEASE-rpm
113 cp /boot/System.map-$KERNELRELEASE /boot/.System.map-$KERNELRELEASE-rpm
115 …installkernel $KERNELRELEASE /boot/.vmlinuz-$KERNELRELEASE-rpm /boot/.System.map-$KERNELRELEASE-rpm
116 rm -f /boot/.vmlinuz-$KERNELRELEASE-rpm /boot/.System.map-$KERNELRELEASE-rpm
/Linux-v5.15/tools/perf/Documentation/
Dsecurity.txt15 1. Download selinux-policy SRPM package (e.g. selinux-policy-3.14.4-48.fc31.src.rpm on FC31)
18 # rpm -Uhv selinux-policy-3.14.4-48.fc31.src.rpm
79 -rw-r--r--. 1 root root 112K Mar 20 12:16 selinux-policy-3.14.4-48.fc31.noarch.rpm
80 -rw-r--r--. 1 root root 1.2M Mar 20 12:17 selinux-policy-devel-3.14.4-48.fc31.noarch.rpm
81 -rw-r--r--. 1 root root 2.3M Mar 20 12:17 selinux-policy-doc-3.14.4-48.fc31.noarch.rpm
82 -rw-r--r--. 1 root root 12M Mar 20 12:17 selinux-policy-minimum-3.14.4-48.fc31.noarch.rpm
83 -rw-r--r--. 1 root root 4.5M Mar 20 12:16 selinux-policy-mls-3.14.4-48.fc31.noarch.rpm
84 -rw-r--r--. 1 root root 111K Mar 20 12:16 selinux-policy-sandbox-3.14.4-48.fc31.noarch.rpm
85 -rw-r--r--. 1 root root 14M Mar 20 12:17 selinux-policy-targeted-3.14.4-48.fc31.noarch.rpm
90 # rpm -Uhv rpmbuild/RPMS/noarch/selinux-policy-*
[all …]
/Linux-v5.15/drivers/interconnect/qcom/
Dsmd-rpm.c3 * RPM over SMD communication wrapper for interconnects
14 #include <linux/soc/qcom/smd-rpm.h>
16 #include "smd-rpm.h"
59 dev_err(&pdev->dev, "unable to retrieve handle to RPM\n"); in qcom_icc_rpm_smd_probe()
75 MODULE_DESCRIPTION("Qualcomm SMD RPM interconnect proxy driver");
/Linux-v5.15/Documentation/hwmon/
Demc2103.rst23 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
26 the readings more range or accuracy. Not all RPM values can accurately be
28 representable value is 480 RPM.
30 This driver supports RPM based control, to use this a fan target

12345678910>>...15