Searched refs:rpm (Results 1 - 25 of 131) sorted by relevance

123456

/linux-master/drivers/gpu/drm/xe/compat-i915-headers/
H A Dintel_runtime_pm.h10 static inline void disable_rpm_wakeref_asserts(void *rpm) argument
14 static inline void enable_rpm_wakeref_asserts(void *rpm) argument
/linux-master/drivers/gpu/drm/i915/
H A Dintel_runtime_pm.c53 static struct drm_i915_private *rpm_to_i915(struct intel_runtime_pm *rpm) argument
55 return container_of(rpm, struct drm_i915_private, runtime_pm);
60 static void init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) argument
62 ref_tracker_dir_init(&rpm->debug, INTEL_REFTRACK_DEAD_COUNT, dev_name(rpm->kdev));
66 track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) argument
68 if (!rpm->available || rpm->no_wakeref_tracking)
71 return intel_ref_tracker_alloc(&rpm->debug);
74 static void untrack_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, argument
83 untrack_all_intel_runtime_pm_wakerefs(struct intel_runtime_pm *rpm) argument
89 __intel_wakeref_dec_and_check_tracking(struct intel_runtime_pm *rpm) argument
102 print_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, struct drm_printer *p) argument
110 init_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) argument
115 track_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm) argument
120 untrack_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, intel_wakeref_t wakeref) argument
126 __intel_wakeref_dec_and_check_tracking(struct intel_runtime_pm *rpm) argument
132 untrack_all_intel_runtime_pm_wakerefs(struct intel_runtime_pm *rpm) argument
139 intel_runtime_pm_acquire(struct intel_runtime_pm *rpm, bool wakelock) argument
151 intel_runtime_pm_release(struct intel_runtime_pm *rpm, int wakelock) argument
163 __intel_runtime_pm_get(struct intel_runtime_pm *rpm, bool wakelock) argument
195 intel_runtime_pm_get_raw(struct intel_runtime_pm *rpm) argument
212 intel_runtime_pm_get(struct intel_runtime_pm *rpm) argument
239 __intel_runtime_pm_get_if_active(struct intel_runtime_pm *rpm, bool ignore_usecount) argument
261 intel_runtime_pm_get_if_in_use(struct intel_runtime_pm *rpm) argument
266 intel_runtime_pm_get_if_active(struct intel_runtime_pm *rpm) argument
286 intel_runtime_pm_get_noresume(struct intel_runtime_pm *rpm) argument
296 __intel_runtime_pm_put(struct intel_runtime_pm *rpm, intel_wakeref_t wref, bool wakelock) argument
320 intel_runtime_pm_put_raw(struct intel_runtime_pm *rpm, intel_wakeref_t wref) argument
337 intel_runtime_pm_put_unchecked(struct intel_runtime_pm *rpm) argument
352 intel_runtime_pm_put(struct intel_runtime_pm *rpm, intel_wakeref_t wref) argument
368 intel_runtime_pm_enable(struct intel_runtime_pm *rpm) argument
421 intel_runtime_pm_disable(struct intel_runtime_pm *rpm) argument
436 intel_runtime_pm_driver_release(struct intel_runtime_pm *rpm) argument
449 intel_runtime_pm_driver_last_release(struct intel_runtime_pm *rpm) argument
455 intel_runtime_pm_init_early(struct intel_runtime_pm *rpm) argument
[all...]
H A Dintel_runtime_pm.h101 assert_rpm_device_not_suspended(struct intel_runtime_pm *rpm) argument
103 WARN_ONCE(pm_runtime_suspended(rpm->kdev),
108 __assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm, int wakeref_count) argument
110 assert_rpm_device_not_suspended(rpm);
116 __assert_rpm_wakelock_held(struct intel_runtime_pm *rpm, int wakeref_count) argument
118 __assert_rpm_raw_wakeref_held(rpm, wakeref_count);
124 assert_rpm_raw_wakeref_held(struct intel_runtime_pm *rpm) argument
126 __assert_rpm_raw_wakeref_held(rpm, atomic_read(&rpm->wakeref_count));
130 assert_rpm_wakelock_held(struct intel_runtime_pm *rpm) argument
154 disable_rpm_wakeref_asserts(struct intel_runtime_pm *rpm) argument
172 enable_rpm_wakeref_asserts(struct intel_runtime_pm *rpm) argument
207 intel_runtime_pm_put(struct intel_runtime_pm *rpm, intel_wakeref_t wref) argument
218 print_intel_runtime_pm_wakeref(struct intel_runtime_pm *rpm, struct drm_printer *p) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drpm.c12 .name = "rpm",
45 .name = "rpm",
79 rpm_t *rpm = rpmd; local
81 return (rpm->pdev->device == PCI_DEVID_CN10KB_RPM);
84 struct mac_ops *rpm_get_mac_ops(rpm_t *rpm) argument
86 if (is_dev_rpm2(rpm))
92 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) argument
94 cgx_write(rpm, lmac, offset, val);
97 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) argument
99 return cgx_read(rpm, lma
107 rpm_t *rpm = rpmd; local
114 rpm_t *rpm = rpmd; local
121 rpm_t *rpm = rpmd; local
128 rpm_t *rpm = rpmd; local
148 rpm_t *rpm = rpmd; local
165 rpm_t *rpm = rpmd; local
194 rpm_t *rpm = rpmd; local
209 rpm_cfg_pfc_quanta_thresh(rpm_t *rpm, int lmac_id, unsigned long pfc_en, bool enable) argument
289 rpm2_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument
309 rpm_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) argument
332 rpm_t *rpm = rpmd; local
361 rpm_t *rpm = rpmd; local
399 rpm_t *rpm = rpmd; local
427 rpm_t *rpm = rpmd; local
450 rpm_t *rpm = rpmd; local
465 rpm_t *rpm = rpmd; local
478 rpm_t *rpm = rpmd; local
505 rpmusx_lmac_internal_loopback(rpm_t *rpm, int lmac_id, bool enable) argument
523 rpm_t *rpm = rpmd; local
570 rpm_t *rpm = rpmd; local
600 rpm_t *rpm = rpmd; local
632 rpm_t *rpm = rpmd; local
675 rpm_t *rpm = rpmd; local
693 rpm_t *rpm = rpmd; local
749 rpm_t *rpm = rpmd; local
[all...]
H A DMakefile13 rvu_cpt.o rvu_devlink.o rpm.o rvu_cn10k.o rvu_switch.o \
/linux-master/drivers/mfd/
H A Dqcom_rpm.c20 #include <dt-bindings/mfd/qcom-rpm.h>
60 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4)
61 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4)
62 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4)
438 { .compatible = "qcom,rpm-apq8064", .data = &apq8064_template },
439 { .compatible = "qcom,rpm-msm8660", .data = &msm8660_template },
440 { .compatible = "qcom,rpm
447 qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count) argument
496 struct qcom_rpm *rpm = dev; local
518 struct qcom_rpm *rpm = dev; local
534 struct qcom_rpm *rpm; local
[all...]
/linux-master/include/linux/mfd/
H A Dqcom_rpm.h12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
/linux-master/drivers/rpmsg/
H A Dqcom_glink_rpm.c198 struct glink_rpm *rpm = container_of(pipe, struct glink_rpm, tx_pipe); local
200 mbox_send_message(rpm->mbox_chan, NULL);
201 mbox_client_txdone(rpm->mbox_chan, 0);
206 struct glink_rpm *rpm = data; local
208 qcom_glink_native_rx(rpm->glink);
291 struct glink_rpm *rpm; local
299 rpm = devm_kzalloc(&pdev->dev, sizeof(*rpm), GFP_KERNEL);
300 if (!rpm)
303 np = of_parse_phandle(dev->of_node, "qcom,rpm
366 struct glink_rpm *rpm = platform_get_drvdata(pdev); local
[all...]
/linux-master/drivers/soc/qcom/
H A 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
94 qcom_rpm_smd_write(struct qcom_smd_rpm *rpm, int state, u32 type, u32 id, void *buf, size_t count) argument
156 struct qcom_smd_rpm *rpm = dev_get_drvdata(&rpdev->dev); local
197 struct qcom_smd_rpm *rpm; local
[all...]
H A DMakefile23 obj-$(CONFIG_QCOM_SMD_RPM) += rpm-proc.o smd-rpm.o
/linux-master/kernel/trace/
H A Drpm-traces.c16 #include <trace/events/rpm.h>
/linux-master/scripts/
H A Dprune-kernel10 if rpm -qf "/lib/modules/$f" >/dev/null; then
11 echo "keeping $f (installed from rpm)"
H A DMakefile.package47 # rpm-pkg srcrpm-pkg binrpm-pkg
56 PHONY += rpm-sources
57 rpm-sources: linux.tar.gz
63 PHONY += rpm-pkg srcrpm-pkg binrpm-pkg
65 rpm-pkg: private build-type := a
69 rpm-pkg srcrpm-pkg: rpm-sources
70 rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec
75 $$(rpm -q rpm >/de
[all...]
/linux-master/drivers/gpu/drm/i915/gt/
H A Dselftest_llc.c17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm);
63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref);
H A Dselftest_reset.c52 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
176 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
219 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
230 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
247 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
254 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
/linux-master/drivers/hwmon/
H A Dmax31790.c48 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2))
148 static u8 bits_for_tach_period(int rpm) argument
152 if (rpm < 500)
154 else if (rpm < 1000)
156 else if (rpm < 2000)
158 else if (rpm < 4000)
160 else if (rpm < 8000)
172 int sr, rpm; local
181 rpm
[all...]
H A Dgpio-fan.c26 int rpm; member in struct:gpio_fan_speed
152 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, unsigned long rpm) argument
158 if (speed[i].rpm >= rpm)
245 return sprintf(buf, "%d\n", fan_data->speed[0].rpm);
254 fan_data->speed[fan_data->num_speed - 1].rpm);
262 return sprintf(buf, "%d\n", fan_data->speed[fan_data->speed_index].rpm);
269 unsigned long rpm; local
272 if (kstrtoul(buf, 10, &rpm))
282 set_fan_speed(fan_data, rpm_to_speed_index(fan_data, rpm));
[all...]
H A Dultra45_env.c103 int rpm, period; local
109 rpm = FAN_PERIOD_TO_RPM(period);
111 rpm = 0;
113 return sprintf(buf, "%d\n", rpm);
120 unsigned long rpm; local
126 err = kstrtoul(buf, 10, &rpm);
130 if (!rpm)
133 period = FAN_RPM_TO_PERIOD(rpm);
H A Daspeed-pwm-tacho.c617 int rpm; local
620 rpm = aspeed_get_fan_tach_ch_rpm(priv, index);
621 if (rpm < 0)
622 return rpm;
624 return sprintf(buf, "%d\n", rpm);
674 static SENSOR_DEVICE_ATTR_RO(fan1_input, rpm, 0);
675 static SENSOR_DEVICE_ATTR_RO(fan2_input, rpm, 1);
676 static SENSOR_DEVICE_ATTR_RO(fan3_input, rpm, 2);
677 static SENSOR_DEVICE_ATTR_RO(fan4_input, rpm, 3);
678 static SENSOR_DEVICE_ATTR_RO(fan5_input, rpm,
[all...]
/linux-master/drivers/gpu/drm/i915/pxp/
H A Dintel_pxp_session.c25 with_intel_runtime_pm_if_in_use(uncore->rpm, wakeref)
39 wakeref = intel_runtime_pm_get_if_in_use(uncore->rpm);
49 intel_runtime_pm_put(uncore->rpm, wakeref);
171 wakeref = intel_runtime_pm_get_if_in_use(gt->uncore->rpm);
183 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
/linux-master/drivers/clk/qcom/
H A Dclk-rpm.c18 #include <dt-bindings/mfd/qcom-rpm.h>
96 struct qcom_rpm *rpm; member in struct:clk_rpm
127 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE,
131 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE,
143 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE,
151 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE,
263 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1);
284 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1);
299 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE,
313 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STAT
535 struct qcom_rpm *rpm; local
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Daperture_gm.c138 assert_rpm_wakelock_held(uncore->rpm);
177 wakeref = intel_runtime_pm_get(uncore->rpm);
188 intel_runtime_pm_put(uncore->rpm, wakeref);
199 wakeref = intel_runtime_pm_get(uncore->rpm);
215 intel_runtime_pm_put(uncore->rpm, wakeref);
229 intel_runtime_pm_put_unchecked(uncore->rpm);
326 with_intel_runtime_pm(gvt->gt->uncore->rpm, wakeref)
/linux-master/drivers/interconnect/qcom/
H A DMakefile38 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o icc-rpm-clocks.o
72 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
H A Dicc-rpm.h9 #include <linux/soc/qcom/smd-rpm.h>
11 #include <dt-bindings/interconnect/qcom,rpm-icc.h>
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc.c62 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
126 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
162 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
282 intel_runtime_pm_put(gt->uncore->rpm, wakeref);
324 wakeref = intel_runtime_pm_get(gt->uncore->rpm);
399 intel_runtime_pm_put(gt->uncore->rpm, wakeref);

Completed in 193 milliseconds

123456