| /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/mfd/ |
| H A D | qcom_rpm.c | 60 #define RPM_STATUS_REG(rpm, i) ((rpm)->status_regs + (i) * 4) argument 61 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4) argument 62 #define RPM_REQ_REG(rpm, i) ((rpm)->req_regs + (i) * 4) argument 447 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() argument 453 const struct qcom_rpm_data *data = rpm->data; in qcom_rpm_write() 466 mutex_lock(&rpm->lock); in qcom_rpm_write() 469 writel_relaxed(buf[i], RPM_REQ_REG(rpm, res->target_id + i)); in qcom_rpm_write() 472 for (i = 0; i < rpm->data->req_sel_size; i++) { in qcom_rpm_write() 474 RPM_CTRL_REG(rpm, rpm->data->req_sel_off + i)); in qcom_rpm_write() 477 writel_relaxed(BIT(state), RPM_CTRL_REG(rpm, rpm->data->req_ctx_off)); in qcom_rpm_write() [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/Documentation/hwmon/ |
| H A D | asus_rog_ryujin.rst | 37 fan1_input Pump speed (in rpm) 38 fan2_input Internal fan speed (in rpm) 39 fan3_input External (controller) fan 1 speed (in rpm) 40 fan4_input External (controller) fan 2 speed (in rpm) 41 fan5_input External (controller) fan 3 speed (in rpm) 42 fan6_input External (controller) fan 4 speed (in rpm)
|
| 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.
|
| /linux/drivers/hwmon/ |
| H A D | aspeed-pwm-tacho.c | 617 int rpm; in rpm_show() local 620 rpm = aspeed_get_fan_tach_ch_rpm(priv, index); in rpm_show() 621 if (rpm < 0) in rpm_show() 622 return rpm; in rpm_show() 624 return sprintf(buf, "%d\n", rpm); in rpm_show() 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, 4); [all …]
|
| H A D | g762.c | 184 static inline unsigned char cnt_from_rpm(unsigned long rpm, u32 clk_freq, u16 p, in cnt_from_rpm() argument 190 if (!rpm) /* to stop the fan, set cnt to 255 */ in cnt_from_rpm() 193 rpm = clamp_val(rpm, f1 / (255 * f2), ULONG_MAX / f2); in cnt_from_rpm() 194 return DIV_ROUND_CLOSEST(f1, rpm * f2); in cnt_from_rpm() 749 unsigned int rpm = 0; in fan1_input_show() local 757 rpm = rpm_from_cnt(data->act_cnt, data->clk_freq, in fan1_input_show() 764 return sprintf(buf, "%u\n", rpm); in fan1_input_show() 953 unsigned int rpm; in fan1_target_show() local 959 rpm = rpm_from_cnt(data->set_cnt, data->clk_freq, in fan1_target_show() 965 return sprintf(buf, "%u\n", rpm); in fan1_target_show()
|
| H A D | g760a.c | 110 unsigned int rpm = 0; in fan1_input_show() local 114 rpm = rpm_from_cnt(data->act_cnt, data->clk, data->fan_div); in fan1_input_show() 117 return sprintf(buf, "%d\n", rpm); in fan1_input_show()
|
| /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)) \
|
| /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/drivers/gpu/drm/i915/ |
| H A D | i915_hwmon.c | 85 with_intel_runtime_pm(uncore->rpm, wakeref) { in hwm_locked_with_pm_intel_uncore_rmw() 107 with_intel_runtime_pm(uncore->rpm, wakeref) in hwm_field_read_and_scale() 150 with_intel_runtime_pm(uncore->rpm, wakeref) { in hwm_energy() 177 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power1_max_interval_show() 336 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_temp_read() 369 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_in_read() 415 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power_max_read() 428 with_intel_runtime_pm(ddat->uncore->rpm, wakeref) in hwm_power_max_read() 452 wakeref = intel_runtime_pm_get(ddat->uncore->rpm); in hwm_power_max_write() 466 intel_runtime_pm_put(ddat->uncore->rpm, wakeref); in hwm_power_max_write() [all …]
|
| /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/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-ipq8064-v2.0-smb208.dtsi | 5 &rpm { 7 compatible = "qcom,rpm-smb208-regulators";
|
| H A D | qcom-ipq8065-smb208.dtsi | 5 &rpm { 7 compatible = "qcom,rpm-smb208-regulators";
|
| H A D | qcom-ipq8064-smb208.dtsi | 5 &rpm { 7 compatible = "qcom,rpm-smb208-regulators";
|
| H A D | qcom-ipq8062-smb208.dtsi | 5 &rpm { 7 compatible = "qcom,rpm-smb208-regulators";
|
| H A D | qcom-apq8084.dtsi | 218 qcom,rpm-msg-ram = <&rpm_msg_ram>; 244 compatible = "qcom,apq8084-rpm-stats"; 719 compatible = "qcom,rpm-msg-ram"; 786 rpm: remoteproc { label 787 compatible = "qcom,apq8084-rpm-proc", "qcom,rpm-proc"; 794 rpm-requests { 795 compatible = "qcom,rpm-apq8084", "qcom,smd-rpm"; 799 compatible = "qcom,rpm-pma8084-regulators";
|
| /linux/drivers/interconnect/qcom/ |
| H A D | Makefile | 48 icc-smd-rpm-objs := smd-rpm.o icc-rpm.o icc-rpm-clocks.o 92 obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | selftest_guc.c | 62 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_scrub_ctbs() 126 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_scrub_ctbs() 162 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_steal_guc_ids() 282 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_steal_guc_ids() 324 wakeref = intel_runtime_pm_get(gt->uncore->rpm); in intel_guc_fast_request() 399 intel_runtime_pm_put(gt->uncore->rpm, wakeref); in intel_guc_fast_request()
|