Home
last modified time | relevance | path

Searched refs:rpm (Results 1 – 25 of 192) sorted by relevance

12345678

/linux-5.19.10/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.h95 assert_rpm_device_not_suspended(struct intel_runtime_pm *rpm) in assert_rpm_device_not_suspended() argument
97 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
102 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_raw_wakeref_held() argument
104 assert_rpm_device_not_suspended(rpm); in __assert_rpm_raw_wakeref_held()
110 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) in __assert_rpm_wakelock_held() argument
112 __assert_rpm_raw_wakeref_held(rpm, wakeref_count); in __assert_rpm_wakelock_held()
118 assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm) in assert_rpm_raw_wakeref_held() argument
120 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_raw_wakeref_held()
124 assert_rpm_wakelock_held(struct intel_runtime_pm *rpm) in assert_rpm_wakelock_held() argument
126 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_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()
Dintel_wakeref.h42 struct intel_runtime_pm *rpm; member
54 struct intel_runtime_pm *rpm,
57 #define intel_wakeref_init(wf, rpm, ops) do { \ argument
60 __intel_wakeref_init((wf), (rpm), (ops), &__key); \
266 struct intel_runtime_pm *rpm; member
291 struct intel_runtime_pm *rpm);
Di915_driver.c964 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_driver_release() local
969 disable_rpm_wakeref_asserts(rpm); in i915_driver_release()
980 enable_rpm_wakeref_asserts(rpm); in i915_driver_release()
981 intel_runtime_pm_driver_release(rpm); in i915_driver_release()
1189 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in i915_drm_suspend_late() local
1192 disable_rpm_wakeref_asserts(rpm); in i915_drm_suspend_late()
1228 enable_rpm_wakeref_asserts(rpm); in i915_drm_suspend_late()
1230 intel_runtime_pm_driver_release(rpm); in i915_drm_suspend_late()
1550 struct intel_runtime_pm *rpm = &dev_priv->runtime_pm; in intel_runtime_suspend() local
1558 disable_rpm_wakeref_asserts(rpm); in intel_runtime_suspend()
[all …]
/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/af/
Drpm.c44 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument
46 cgx_write(rpm, lmac, offset, val); in rpm_write()
49 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument
51 return cgx_read(rpm, lmac, offset); in rpm_read()
56 rpm_t *rpm = rpmd; in rpm_get_nr_lmacs() local
58 return hweight8(rpm_read(rpm, 0, CGXX_CMRX_RX_LMACS) & 0xFULL); in rpm_get_nr_lmacs()
63 rpm_t *rpm = rpmd; in rpm_lmac_tx_enable() local
66 if (!is_lmac_valid(rpm, lmac_id)) in rpm_lmac_tx_enable()
69 cfg = rpm_read(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG); in rpm_lmac_tx_enable()
77 rpm_write(rpm, lmac_id, RPMX_MTI_MAC100X_COMMAND_CONFIG, cfg); in rpm_lmac_tx_enable()
[all …]
/linux-5.19.10/drivers/mfd/
Dqcom_rpm.c58 #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
445 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() argument
451 const struct qcom_rpm_data *data = rpm->data; in qcom_rpm_write()
464 mutex_lock(&rpm->lock); in qcom_rpm_write()
467 writel_relaxed(buf[i], RPM_REQ_REG(rpm, res->target_id + i)); in qcom_rpm_write()
470 for (i = 0; i < rpm->data->req_sel_size; i++) { in qcom_rpm_write()
472 RPM_CTRL_REG(rpm, rpm->data->req_sel_off + i)); in qcom_rpm_write()
475 writel_relaxed(BIT(state), RPM_CTRL_REG(rpm, rpm->data->req_ctx_off)); in qcom_rpm_write()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,smd-rpm.yaml4 $id: "http://devicetree.org/schemas/soc/qcom/qcom,smd-rpm.yaml#"
23 Refer to Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
34 - qcom,rpm-apq8084
35 - qcom,rpm-ipq6018
36 - qcom,rpm-msm8226
37 - qcom,rpm-msm8916
38 - qcom,rpm-msm8936
39 - qcom,rpm-msm8953
40 - qcom,rpm-msm8974
41 - qcom,rpm-msm8976
[all …]
Dqcom-stats.yaml23 - qcom,rpm-stats
25 - qcom,apq8084-rpm-stats
26 - qcom,msm8226-rpm-stats
27 - qcom,msm8916-rpm-stats
28 - qcom,msm8974-rpm-stats
46 # Example of rpm sleep stats
49 compatible = "qcom,rpm-stats";
Dqcom,glink.txt9 Usage: required for glink-rpm
11 Definition: must be "qcom,glink-rpm"
29 - qcom,rpm-msg-ram:
30 Usage: required for glink-rpm
73 compatible = "qcom,rpm-msg-ram";
77 rpm-glink {
78 compatible = "qcom,glink-rpm";
82 qcom,rpm-msg-ram = <&rpm_msg_ram>;
86 rpm-requests {
87 compatible = "qcom,rpm-msm8996";
Dqcom,smd.yaml23 "^.*-edge|rpm$":
69 rpm-requests:
111 # "rpm" subsystem. For the "rpm" subsystem we have a device tied to the
119 rpm {
124 rpm-requests {
125 compatible = "qcom,rpm-msm8974";
/linux-5.19.10/drivers/soc/qcom/
Dsmd-rpm.c96 int qcom_rpm_smd_write(struct qcom_smd_rpm *rpm, in qcom_rpm_smd_write() argument
120 mutex_lock(&rpm->lock); in qcom_rpm_smd_write()
132 ret = rpmsg_send(rpm->rpm_channel, pkt, size); in qcom_rpm_smd_write()
136 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_smd_write()
140 ret = rpm->ack_status; in qcom_rpm_smd_write()
144 mutex_unlock(&rpm->lock); in qcom_rpm_smd_write()
158 struct qcom_smd_rpm *rpm = dev_get_drvdata(&rpdev->dev); in qcom_smd_rpm_callback() local
167 dev_err(rpm->dev, "invalid request\n"); in qcom_smd_rpm_callback()
192 rpm->ack_status = status; in qcom_smd_rpm_callback()
193 complete(&rpm->ack); in qcom_smd_rpm_callback()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/regulator/
Dqcom,smd-rpm-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,smd-rpm-regulator.yaml#
18 Please refer to Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
78 - qcom,rpm-mp5496-regulators
79 - qcom,rpm-pm8226-regulators
80 - qcom,rpm-pm8841-regulators
81 - qcom,rpm-pm8916-regulators
82 - qcom,rpm-pm8941-regulators
83 - qcom,rpm-pm8950-regulators
84 - qcom,rpm-pm8953-regulators
85 - qcom,rpm-pm8994-regulators
[all …]
/linux-5.19.10/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 …]
Daspeed-pwm-tacho.c610 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);
671 static SENSOR_DEVICE_ATTR_RO(fan5_input, rpm, 4);
[all …]
Dultra45_env.c102 int rpm, period; in show_fan_speed() local
108 rpm = FAN_PERIOD_TO_RPM(period); in show_fan_speed()
110 rpm = 0; in show_fan_speed()
112 return sprintf(buf, "%d\n", rpm); in show_fan_speed()
119 unsigned long rpm; in set_fan_speed() local
125 err = kstrtoul(buf, 10, &rpm); in set_fan_speed()
129 if (!rpm) in set_fan_speed()
132 period = FAN_RPM_TO_PERIOD(rpm); in set_fan_speed()
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()
474 speed[i].rpm = u; in gpio_fan_get_of_data()
/linux-5.19.10/Documentation/devicetree/bindings/mfd/
Dqcom-rpm.txt12 "qcom,rpm-apq8064"
13 "qcom,rpm-msm8660"
14 "qcom,rpm-msm8960"
15 "qcom,rpm-ipq8064"
16 "qcom,rpm-mdm9615"
60 "qcom,rpm-pm8058-regulators"
61 "qcom,rpm-pm8901-regulators"
62 "qcom,rpm-pm8921-regulators"
63 "qcom,rpm-pm8018-regulators"
64 "qcom,rpm-smb208-regulators"
[all …]
/linux-5.19.10/drivers/clk/qcom/
Dclk-rpm.c89 struct qcom_rpm *rpm; member
94 struct qcom_rpm *rpm; member
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()
257 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare()
278 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_unprepare()
293 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_prepare()
307 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_unprepare()
[all …]
/linux-5.19.10/drivers/gpu/drm/i915/pxp/
Dintel_pxp_session.c28 with_intel_runtime_pm_if_in_use(uncore->rpm, wakeref) in intel_pxp_session_is_in_play()
42 wakeref = intel_runtime_pm_get_if_in_use(uncore->rpm); in pxp_wait_for_session_state()
52 intel_runtime_pm_put(uncore->rpm, wakeref); in pxp_wait_for_session_state()
161 wakeref = intel_runtime_pm_get_if_in_use(gt->uncore->rpm); in intel_pxp_session_work()
173 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_pxp_session_work()
/linux-5.19.10/scripts/package/
Dmkspec52 %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-5.19.10/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-5.19.10/drivers/interconnect/qcom/
DMakefile24 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o
47 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
/linux-5.19.10/drivers/gpu/drm/i915/gvt/
Daperture_gm.c138 assert_rpm_wakelock_held(uncore->rpm); in intel_vgpu_write_fence()
177 wakeref = intel_runtime_pm_get(uncore->rpm); in free_vgpu_fence()
188 intel_runtime_pm_put(uncore->rpm, wakeref); in free_vgpu_fence()
199 wakeref = intel_runtime_pm_get(uncore->rpm); in alloc_vgpu_fence()
215 intel_runtime_pm_put(uncore->rpm, wakeref); in alloc_vgpu_fence()
229 intel_runtime_pm_put_unchecked(uncore->rpm); in alloc_vgpu_fence()
326 with_intel_runtime_pm(gvt->gt->uncore->rpm, wakeref) in intel_vgpu_reset_resource()
/linux-5.19.10/drivers/gpu/drm/i915/gt/
Dselftest_reset.c52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen()
172 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in __igt_reset_stolen()
215 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_global_reset()
226 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_global_reset()
243 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_wedged_reset()
250 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_wedged_reset()

12345678