/Linux-v5.10/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.c | 78 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 …]
|
D | intel_runtime_pm.h | 96 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 …]
|
D | intel_wakeref.c | 14 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.10/drivers/soc/qcom/ |
D | smd-rpm.c | 15 #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 …]
|
D | Kconfig | 26 resource on a RPM-hardened platform must use this database to get 111 bool "Qualcomm RPM-Hardened (RPMH) Communication" 114 Support for communication with the hardened-RPM blocks in 130 tristate "Qualcomm RPM Power domain driver" 133 QCOM RPM Power domain driver to support power-domains with 135 value to RPM which then translates it into corresponding voltage 148 tristate "Qualcomm Resource Power Manager (RPM) over SMD" 157 frequencies controlled by the RPM on these devices. 159 Say M here if you want to include support for the Qualcomm RPM as a 160 module. This will build a module called "qcom-smd-rpm".
|
D | rpmpd.c | 14 #include <linux/soc/qcom/smd-rpm.h> 106 struct qcom_smd_rpm *rpm; member 119 /* msm8976 RPM Power Domains */ 141 /* msm8996 RPM Power domains */ 165 /* msm8998 RPM Power domains */ 197 /* qcs404 RPM Power domains */ 240 return qcom_rpm_smd_write(pd->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in rpmpd_send_enable() 252 return qcom_rpm_smd_write(pd->rpm, state, pd->res_type, pd->res_id, in rpmpd_send_corner() 367 struct qcom_smd_rpm *rpm; in rpmpd_probe() local 371 rpm = dev_get_drvdata(pdev->dev.parent); in rpmpd_probe() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/soc/qcom/ |
D | qcom,smd-rpm.yaml | 4 $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 …]
|
D | qcom,glink.txt | 5 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 …]
|
D | qcom,smem.txt | 17 - qcom,rpm-msg-ram: 20 Definition: handle to RPM message memory resource 30 at 0xfa00000 and the RPM message ram at 0xfc428000: 47 qcom,rpm-msg-ram = <&rpm_msg_ram>; 54 compatible = "qcom,rpm-msg-ram";
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | qcom,smd-rpm-regulator.yaml | 4 $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. 70 - qcom,rpm-mp5496-regulators 71 - qcom,rpm-pm8841-regulators [all …]
|
/Linux-v5.10/drivers/mfd/ |
D | qcom_rpm.c | 18 #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.10/Documentation/devicetree/bindings/mfd/ |
D | qcom-rpm.txt | 1 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.10/scripts/ |
D | Makefile.package | 6 # 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.10/drivers/clk/qcom/ |
D | clk-rpm.c | 19 #include <dt-bindings/mfd/qcom-rpm.h> 145 struct qcom_rpm *rpm; member 150 struct qcom_rpm *rpm; member 171 * RPM clock. in clk_rpm_handoff() 177 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff() 181 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_handoff() 193 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_set_rate_active() 201 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_set_rate_sleep() 231 /* Don't send requests to the RPM if the rate has not been set. */ in clk_rpm_prepare() 313 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare() [all …]
|
D | clk-smd-rpm.c | 17 #include <linux/soc/qcom/smd-rpm.h> 20 #include <dt-bindings/mfd/qcom-rpm.h> 132 struct qcom_smd_rpm *rpm; member 142 struct qcom_rpm *rpm; member 163 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_handoff() 168 ret = qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_handoff() 186 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_ACTIVE_STATE, in clk_smd_rpm_set_rate_active() 200 return qcom_rpm_smd_write(r->rpm, QCOM_SMD_RPM_SLEEP_STATE, in clk_smd_rpm_set_rate_sleep() 231 /* Don't send requests to the RPM if the rate has not been set. */ in clk_smd_rpm_prepare() 347 * RPM handles rate rounding and we don't have a way to in clk_smd_rpm_round_rate() [all …]
|
/Linux-v5.10/scripts/package/ |
D | mkspec | 3 # 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.10/tools/perf/Documentation/ |
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-v5.10/drivers/hwmon/ |
D | max31790.c | 45 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2)) argument 142 static u8 bits_for_tach_period(int rpm) in bits_for_tach_period() argument 146 if (rpm < 500) in bits_for_tach_period() 148 else if (rpm < 1000) in bits_for_tach_period() 150 else if (rpm < 2000) in bits_for_tach_period() 152 else if (rpm < 4000) in bits_for_tach_period() 154 else if (rpm < 8000) in bits_for_tach_period() 166 int sr, rpm; in max31790_read_fan() local 174 rpm = RPM_FROM_REG(data->tach[channel], sr); in max31790_read_fan() 175 *val = rpm; in max31790_read_fan() [all …]
|
D | tc654.c | 21 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 …]
|
D | aspeed-pwm-tacho.c | 165 /* 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 …]
|
D | gpio-fan.c | 25 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.10/drivers/interconnect/qcom/ |
D | smd-rpm.c | 3 * 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.10/Documentation/hwmon/ |
D | emc2103.rst | 23 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
|
D | f71882fg.rst | 154 voltage) mode, where 0-100% duty cycle (0-100% of 12V) is specified. And RPM 155 mode where the actual RPM of the fan (as measured) is controlled and the speed 160 important difference is that in RPM mode the 0-100% controls the fan speed 162 RPM mode, it will also set fan#_full_speed properly, if it does not then 172 chips, and some modes may only be available in RPM / PWM mode. 178 available on the F71858FG / F8000 if the fan channel is in RPM mode.
|
/Linux-v5.10/Documentation/devicetree/bindings/clock/ |
D | qcom,rpmcc.txt | 1 Qualcomm RPM Clock Controller Binding 3 The RPM is a dedicated hardware engine for managing the shared 42 rpm { 48 compatible = "qcom,rpm-msm8916";
|