| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rpm.c | 83 rpm_t *rpm = rpmd; in is_dev_rpm2() local 85 return (rpm->pdev->device == PCI_DEVID_CN10KB_RPM); in is_dev_rpm2() 88 struct mac_ops *rpm_get_mac_ops(rpm_t *rpm) in rpm_get_mac_ops() argument 90 if (is_dev_rpm2(rpm)) in rpm_get_mac_ops() 96 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument 98 cgx_write(rpm, lmac, offset, val); in rpm_write() 101 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument 103 return cgx_read(rpm, lmac, offset); in rpm_read() 111 rpm_t *rpm = rpmd; in is_mac_rpmusx() local 113 return rpm_read(rpm, 0, RPMX_CONST1) & 0x700ULL; in is_mac_rpmusx() [all …]
|
| /linux/drivers/rpmsg/ |
| H A D | qcom_glink_rpm.c | 198 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() 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() 315 &rpm->rx_pipe, &rpm->tx_pipe); in glink_rpm_probe() 319 rpm->irq = of_irq_get(dev->of_node, 0); in glink_rpm_probe() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | smd-rpm.c | 94 int qcom_rpm_smd_write(struct qcom_smd_rpm *rpm, in qcom_rpm_smd_write() argument 118 mutex_lock(&rpm->lock); in qcom_rpm_smd_write() 130 ret = rpmsg_send(rpm->rpm_channel, pkt, size); in qcom_rpm_smd_write() 134 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_smd_write() 138 ret = rpm->ack_status; in qcom_rpm_smd_write() 142 mutex_unlock(&rpm->lock); in qcom_rpm_smd_write() 156 struct qcom_smd_rpm *rpm = dev_get_drvdata(&rpdev->dev); in qcom_smd_rpm_callback() local 165 dev_err(rpm->dev, "invalid request\n"); in qcom_smd_rpm_callback() 190 rpm->ack_status = status; in qcom_smd_rpm_callback() 191 complete(&rpm->ack); in qcom_smd_rpm_callback() [all …]
|
| /linux/drivers/clk/qcom/ |
| H A D | clk-rpm.c | 97 struct qcom_rpm *rpm; member 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() 261 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare() 282 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_unprepare() 297 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_prepare() 311 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_unprepare() 519 struct qcom_rpm *rpm; in rpm_clk_probe() local [all …]
|
| /linux/scripts/ |
| H A D | Makefile.package | 56 PHONY += rpm-sources 57 rpm-sources: linux.tar.gz 63 PHONY += rpm-pkg srcrpm-pkg binrpm-pkg 66 rpm-no-devel = --without=devel 69 rpm-pkg: private build-type := a 73 rpm-pkg srcrpm-pkg: rpm-sources 74 rpm-pkg srcrpm-pkg binrpm-pkg: rpmbuild/SPECS/kernel.spec 79 $$(rpm -q rpm >/dev/null 2>&1 || echo --nodeps) \ 80 $(rpm-no-devel)) \
|
| H A D | prune-kernel | 10 if rpm -qf "/lib/modules/$f" >/dev/null; then
|
| /linux/tools/perf/Documentation/ |
| H A D | security.txt | 15 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/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8660-surf.dts | 68 &rpm { 70 compatible = "qcom,rpm-pm8901-regulators"; 74 compatible = "qcom,rpm-pm8058-regulators";
|
| H A D | qcom-apq8064-cm-qs600.dts | 94 &rpm { 96 compatible = "qcom,rpm-pm8921-regulators";
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_reset.c | 52 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in __igt_reset_stolen() 176 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in __igt_reset_stolen() 219 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_global_reset() 230 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_global_reset() 247 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in igt_wedged_reset() 254 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in igt_wedged_reset()
|
| H A D | selftest_llc.c | 17 wakeref = intel_runtime_pm_get(llc_to_gt(llc)->uncore->rpm); in gen6_verify_ring_freq() 63 intel_runtime_pm_put(llc_to_gt(llc)->uncore->rpm, wakeref); in gen6_verify_ring_freq()
|
| /linux/Documentation/hwmon/ |
| H A D | lineage-pem.rst | 75 fan1_input Fan 1 speed (rpm, optional) 76 fan2_input Fan 2 speed (rpm, optional) 77 fan3_input Fan 3 speed (rpm, optional)
|
| H A D | nzxt-kraken2.rst | 39 fan1_input Fan speed (in rpm) 40 fan2_input Pump speed (in rpm)
|
| H A D | gigabyte_waterforce.rst | 37 fan1_input Fan speed (in rpm) 38 fan2_input Pump speed (in rpm)
|
| H A D | corsair-cpro.rst | 34 fan[1-6]_input Connected fan rpm. 36 fan[1-6]_target Sets fan speed target rpm.
|
| H A D | fsp-3y.rst | 23 * fan1_input fan rpm
|
| /linux/drivers/thunderbolt/ |
| H A D | icm.c | 101 bool rpm; member 113 u8 *proto_version, size_t *nboot_acl, bool *rpm); 478 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_fr_driver_ready() argument 886 sw->rpm = intel_vss_is_rtd3(pkg->ep_name, sizeof(pkg->ep_name)); in icm_fr_device_connected() 1044 u8 *proto_version, size_t *nboot_acl, bool *rpm) in icm_tr_driver_ready() argument 1066 if (rpm) in icm_tr_driver_ready() 1067 *rpm = !!(reply.hdr.flags & ICM_TR_FLAGS_RTD3); in icm_tr_driver_ready() 1320 sw->rpm = force_rtd3; in __icm_tr_device_connected() 1321 if (!sw->rpm) in __icm_tr_device_connected() 1322 sw->rpm = intel_vss_is_rtd3(pkg->ep_name, in __icm_tr_device_connected() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | aspeed-g6-pwm-tach.c | 287 u64 rpm; in aspeed_tach_val_to_rpm() local 295 rpm = (u64)priv->clk_rate * 60; in aspeed_tach_val_to_rpm() 297 do_div(rpm, tach_div); in aspeed_tach_val_to_rpm() 299 rpm = 0; in aspeed_tach_val_to_rpm() 301 return (int)rpm; in aspeed_tach_val_to_rpm()
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | i915_gem_migrate.c | 340 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_pages_failsafe_migrate() 344 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_pages_failsafe_migrate() 495 wakeref = intel_runtime_pm_get(__gt->uncore->rpm); in igt_lmem_async_migrate() 499 intel_runtime_pm_put(__gt->uncore->rpm, wakeref); in igt_lmem_async_migrate()
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_gsc_uc.c | 24 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in gsc_work() 95 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in gsc_work() 349 with_intel_runtime_pm(uncore->rpm, wakeref) { in intel_gsc_uc_load_status()
|
| /linux/drivers/regulator/ |
| H A D | qcom_rpm-regulator.c | 48 struct qcom_rpm *rpm; member 199 return qcom_rpm_write(vreg->rpm, in rpm_reg_write() 943 struct qcom_rpm *rpm; in rpm_reg_probe() local 945 rpm = dev_get_drvdata(pdev->dev.parent); in rpm_reg_probe() 946 if (!rpm) { in rpm_reg_probe() 966 vreg->rpm = rpm; in rpm_reg_probe()
|
| /linux/include/linux/mfd/ |
| H A D | qcom_rpm.h | 12 int qcom_rpm_write(struct qcom_rpm *rpm, int state, int resource, u32 *buf, size_t count);
|
| /linux/drivers/platform/x86/hp/ |
| H A D | hp-wmi.c | 606 static inline u8 rpm_to_pwm(u8 rpm, struct hp_wmi_hwmon_priv *priv) in rpm_to_pwm() argument 609 clamp_val(rpm, 0, priv->max_rpm)); in rpm_to_pwm() 2707 int rpm, ret; in hp_wmi_hwmon_read() local 2726 rpm = hp_wmi_get_active_fan_speed(channel); in hp_wmi_hwmon_read() 2727 if (rpm < 0) in hp_wmi_hwmon_read() 2728 return rpm; in hp_wmi_hwmon_read() 2729 *val = rpm_to_pwm(rpm / 100, priv); in hp_wmi_hwmon_read() 2760 int rpm; in hp_wmi_hwmon_write() local 2768 rpm = pwm_to_rpm(val, priv); in hp_wmi_hwmon_write() 2769 rpm = clamp_val(rpm, priv->min_rpm, priv->max_rpm); in hp_wmi_hwmon_write() [all …]
|
| /linux/include/linux/soc/qcom/ |
| H A D | smd-rpm.h | 63 int qcom_rpm_smd_write(struct qcom_smd_rpm *rpm,
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | ipq6018-mp5496.dtsi | 27 compatible = "qcom,rpm-mp5496-regulators";
|