/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rpm.c | 2 /* Marvell CN10K RPM driver 12 .name = "rpm", 45 static void rpm_write(rpm_t *rpm, u64 lmac, u64 offset, u64 val) in rpm_write() argument 47 cgx_write(rpm, lmac, offset, val); in rpm_write() 50 static u64 rpm_read(rpm_t *rpm, u64 lmac, u64 offset) in rpm_read() argument 52 return cgx_read(rpm, lmac, offset); in rpm_read() 57 rpm_t *rpm = rpmd; in rpm_get_nr_lmacs() local 59 return hweight8(rpm_read(rpm, 0, CGXX_CMRX_RX_LMACS) & 0xFULL); in rpm_get_nr_lmacs() 64 rpm_t *rpm = rpmd; in rpm_lmac_tx_enable() local 67 if (!is_lmac_valid(rpm, lmac_id)) in rpm_lmac_tx_enable() [all …]
|
D | lmac_common.h | 2 /* Marvell CN10K RPM driver 50 /* CGX & RPM has different feature set 58 * RPM DMAC_CTL0 0x4ff8 62 * defined hence CGX uses OVERFLOW bit in CMR_INT. RPM block supports 68 /* lmac offset is different is RPM */ 75 /* RPM & CGX differs in number of Receive/transmit stats */ 78 /* Incase of RPM get number of lmacs from RPMX_CMR_RX_LMACS[LMAC_EXIST]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.c | 68 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 …]
|
D | intel_runtime_pm.h | 95 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() 106 "RPM raw-wakeref not held\n"); 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() 114 "RPM wakelock ref not held during HW access\n"); 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() [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-v6.1/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 | rpmpd.c | 14 #include <linux/soc/qcom/smd-rpm.h> 108 struct qcom_smd_rpm *rpm; member 121 /* mdm9607 RPM Power Domains */ 142 /* msm8226 RPM Power Domains */ 158 /* msm8939 RPM Power Domains */ 184 /* msm8916 RPM Power Domains */ 204 /* msm8953 RPM Power Domains */ 227 /* msm8976 RPM Power Domains */ 249 /* msm8994 RPM Power domains */ 274 /* msm8996 RPM Power domains */ [all …]
|
D | Kconfig | 26 resource on a RPM-hardened platform must use this database to get 111 tristate "Qualcomm RPM-Hardened (RPMH) Communication" 115 Support for communication with the hardened-RPM blocks in 131 tristate "Qualcomm RPM Power domain driver" 137 QCOM RPM Power domain driver to support power-domains with 139 value to RPM which then translates it into corresponding voltage 152 tristate "Qualcomm Resource Power Manager (RPM) over SMD" 161 frequencies controlled by the RPM on these devices. 163 Say M here if you want to include support for the Qualcomm RPM as a 164 module. This will build a module called "qcom-smd-rpm".
|
/Linux-v6.1/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.yaml 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 34 - qcom,rpm-apq8084 35 - 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-stats.yaml | 24 - qcom,rpm-stats 25 # For older RPM firmware versions with fixed offset for the sleep stats 26 - qcom,apq8084-rpm-stats 27 - qcom,msm8226-rpm-stats 28 - qcom,msm8916-rpm-stats 29 - qcom,msm8974-rpm-stats 47 # Example of rpm sleep stats 50 compatible = "qcom,rpm-stats";
|
D | qcom,smd.yaml | 23 "^smd-edge|rpm$": 38 # "rpm" subsystem. For the "rpm" subsystem we have a device tied to the 46 rpm { 51 rpm-requests { 52 compatible = "qcom,rpm-msm8974";
|
/Linux-v6.1/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. 84 - qcom,rpm-mp5496-regulators 85 - qcom,rpm-pm2250-regulators [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/Documentation/hwmon/ |
D | asus_wmi_sensors.rst | 49 * CPU Fan RPM, 50 * Chassis Fan 1 RPM, 51 * Chassis Fan 2 RPM, 52 * Chassis Fan 3 RPM, 53 * HAMP Fan RPM, 54 * Water Pump RPM, 55 * CPU OPT RPM, 56 * Water Flow RPM, 57 * AIO Pump RPM,
|
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
|
/Linux-v6.1/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-v6.1/drivers/clk/qcom/ |
D | clk-rpm.c | 19 #include <dt-bindings/mfd/qcom-rpm.h> 97 struct qcom_rpm *rpm; member 102 struct qcom_rpm *rpm; member 123 * RPM clock. in clk_rpm_handoff() 129 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_handoff() 133 ret = qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_handoff() 145 return qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_set_rate_active() 153 return qcom_rpm_write(r->rpm, QCOM_RPM_SLEEP_STATE, in clk_rpm_set_rate_sleep() 183 /* Don't send requests to the RPM if the rate has not been set. */ in clk_rpm_prepare() 265 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare() [all …]
|
/Linux-v6.1/scripts/package/ |
D | mkspec | 3 # Output a simple RPM spec file. 4 # This version assumes a minimum of RPM 4.0.3. 53 # /usr/lib/rpm/platform/*/macros was not included. 55 %define __spec_install_post /usr/lib/rpm/brp-compress || : 113 cp /boot/vmlinuz-$KERNELRELEASE /boot/.vmlinuz-$KERNELRELEASE-rpm 114 cp /boot/System.map-$KERNELRELEASE /boot/.System.map-$KERNELRELEASE-rpm 116 …installkernel $KERNELRELEASE /boot/.vmlinuz-$KERNELRELEASE-rpm /boot/.System.map-$KERNELRELEASE-rpm 117 rm -f /boot/.vmlinuz-$KERNELRELEASE-rpm /boot/.System.map-$KERNELRELEASE-rpm
|
/Linux-v6.1/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-v6.1/drivers/hwmon/ |
D | max31790.c | 48 #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 …]
|
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 151 static int rpm_to_speed_index(struct gpio_fan_data *fan_data, unsigned long rpm) in rpm_to_speed_index() argument 157 if (speed[i].rpm >= rpm) in rpm_to_speed_index() 244 return sprintf(buf, "%d\n", fan_data->speed[0].rpm); in fan1_min_show() 253 fan_data->speed[fan_data->num_speed - 1].rpm); in fan1_max_show() 261 return sprintf(buf, "%d\n", fan_data->speed[fan_data->speed_index].rpm); in fan1_input_show() 268 unsigned long rpm; in set_rpm() local 271 if (kstrtoul(buf, 10, &rpm)) in set_rpm() 281 set_fan_speed(fan_data, rpm_to_speed_index(fan_data, rpm)); in set_rpm() 444 /* Get number of RPM/ctrl_val pairs in speed map */ in gpio_fan_get_of_data() [all …]
|
/Linux-v6.1/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");
|