| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A 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 …]
|
| H A 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() 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() 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() 125 assert_rpm_wakelock_held(struct intel_runtime_pm *rpm) in assert_rpm_wakelock_held() argument 127 __assert_rpm_wakelock_held(rpm, atomic_read(&rpm->wakeref_count)); in assert_rpm_wakelock_held() [all …]
|
| H A 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()
|
| H A D | intel_wakeref.h | 42 struct intel_runtime_pm *rpm; member 54 struct intel_runtime_pm *rpm, 57 #define intel_wakeref_init(wf, rpm, ops) do { \ argument 60 __intel_wakeref_init((wf), (rpm), (ops), &__key); \ 254 struct intel_runtime_pm *rpm; member 279 struct intel_runtime_pm *rpm);
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | qcom_rpm.c | 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 445 int qcom_rpm_write(struct qcom_rpm *rpm, in qcom_rpm_write() argument 451 const struct qcom_rpm_data *data = rpm->data; in qcom_rpm_write() 464 mutex_lock(&rpm->lock); in qcom_rpm_write() 467 writel_relaxed(buf[i], RPM_REQ_REG(rpm, res->target_id + i)); in qcom_rpm_write() 470 for (i = 0; i < rpm->data->req_sel_size; i++) { in qcom_rpm_write() 472 RPM_CTRL_REG(rpm, rpm->data->req_sel_off + i)); in qcom_rpm_write() 475 writel_relaxed(BIT(state), RPM_CTRL_REG(rpm, rpm->data->req_ctx_off)); in qcom_rpm_write() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/soc/qcom/ |
| H A D | smd-rpm.c | 96 int qcom_rpm_smd_write(struct qcom_smd_rpm *rpm, in qcom_rpm_smd_write() argument 120 mutex_lock(&rpm->lock); in qcom_rpm_smd_write() 132 ret = rpmsg_send(rpm->rpm_channel, pkt, size); in qcom_rpm_smd_write() 136 left = wait_for_completion_timeout(&rpm->ack, RPM_REQUEST_TIMEOUT); in qcom_rpm_smd_write() 140 ret = rpm->ack_status; in qcom_rpm_smd_write() 144 mutex_unlock(&rpm->lock); in qcom_rpm_smd_write() 158 struct qcom_smd_rpm *rpm = dev_get_drvdata(&rpdev->dev); in qcom_smd_rpm_callback() local 167 dev_err(rpm->dev, "invalid request\n"); in qcom_smd_rpm_callback() 192 rpm->ack_status = status; in qcom_smd_rpm_callback() 193 complete(&rpm->ack); in qcom_smd_rpm_callback() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/rpm/ |
| H A D | rpm_4.17.1.bb | 16 SUMMARY:python3-rpm = "Python bindings for apps which will manupulate RPM packages" 17 DESCRIPTION:python3-rpm = "The python3-rpm package contains a module that permits applications \ 21 HOMEPAGE = "http://www.rpm.org" 27 SRC_URI = "git://github.com/rpm-software-management/rpm;branch=rpm-4.17.x;protocol=https \ 28 file://environment.d-rpm.sh \ 34 file://0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch \ 41 file://0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch \ 65 # --sysconfdir prevents rpm from attempting to access machine-specific configuration in sysroot/etc… 66 # --localstatedir prevents rpm from writing its database to native sysroot when building images 89 # Direct rpm-native to read configuration from our sysroot, not the one it was compiled in [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/rpm/files/ |
| H A D | 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch | 4 Subject: [PATCH] Do not hardcode "lib/rpm" as the installation path for 7 Upstream-Status: Denied [https://github.com/rpm-software-management/rpm/pull/263] 13 rpm.am | 4 ++-- 24 -RPMCONFIGDIR="`echo ${usrprefix}/lib/rpm`" 25 +RPMCONFIGDIR="`echo ${libdir}/rpm`" 42 diff --git a/rpm.am b/rpm.am 44 --- a/rpm.am 45 +++ b/rpm.am 48 ## HACK: It probably should be $(libexecdir)/rpm or $(libdir)/rpm 49 -rpmlibexecdir = $(prefix)/lib/rpm [all …]
|
| H A D | 0002-Add-support-for-prefixing-etc-from-RPM_ETCCONFIGDIR-.patch | 7 This is needed so that rpm can pick up target-specific configuration 40 - SYSCONFDIR "/rpm/macros.*", ":", 41 - SYSCONFDIR "/rpm/macros", ":", 42 - SYSCONFDIR "/rpm/%{_target}/macros", ":"); 43 + etcconfdir, SYSCONFDIR "/rpm/macros.*", ":", 44 + etcconfdir, SYSCONFDIR "/rpm/macros", ":", 45 + etcconfdir, SYSCONFDIR "/rpm/%{_target}/macros", ":", NULL); 53 - const char * const platform_path = SYSCONFDIR "/rpm/platform"; 58 + const char * const platform_path = rstrscat(NULL, etcconfdir, SYSCONFDIR "/rpm/platform", NULL…
|
| H A D | 0001-Do-not-read-config-files-from-HOME.patch | 28 SYSCONFDIR "/rpm/macros.*", ":", 29 SYSCONFDIR "/rpm/macros", ":", 30 - SYSCONFDIR "/rpm/%{_target}/macros", ":", 32 + SYSCONFDIR "/rpm/%{_target}/macros", ":");
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/qcom/ |
| H A D | qcom,glink.txt | 9 Usage: required for glink-rpm 11 Definition: must be "qcom,glink-rpm" 29 - qcom,rpm-msg-ram: 30 Usage: required for glink-rpm 73 compatible = "qcom,rpm-msg-ram"; 77 rpm-glink { 78 compatible = "qcom,glink-rpm"; 82 qcom,rpm-msg-ram = <&rpm_msg_ram>; 86 rpm-requests { 87 compatible = "qcom,rpm-msm8996";
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/meta/ |
| H A D | signing-keys.bb | 15 PACKAGES =+ "${PN}-ipk ${PN}-rpm ${PN}-packagefeed" 17 FILES:${PN}-rpm = "${sysconfdir}/pki/rpm-gpg" 25 # Export public key of the rpm signing key 27 signer.export_pubkey(os.path.join(d.expand('${B}'), 'rpm-key'), 47 if [ -f "${B}/rpm-key" ]; then 48 …install -D -m 0644 "${B}/rpm-key" "${D}${sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-${DISTRO}-${DISTRO_CO… 59 if [ -f "${B}/rpm-key" ]; then 60 install -D -m 0644 "${B}/rpm-key" "${DEPLOYDIR}/RPM-GPG-KEY-${DISTRO}-${DISTRO_CODENAME}"
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/createrepo-c/ |
| H A D | createrepo-c_0.19.0.bb | 2 HOMEPAGE = "https://github.com/rpm-software-management/createrepo_c/wiki" 7 SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ 15 DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm" 24 # Direct createrepo to read rpm configuration from our sysroot, not the one it was compiled in 27 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 35 RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | max31790.c | 46 #define RPM_TO_REG(rpm, sr) ((60 * (sr) * 8192) / ((rpm) * 2)) argument 143 static u8 bits_for_tach_period(int rpm) in bits_for_tach_period() argument 147 if (rpm < 500) in bits_for_tach_period() 149 else if (rpm < 1000) in bits_for_tach_period() 151 else if (rpm < 2000) in bits_for_tach_period() 153 else if (rpm < 4000) in bits_for_tach_period() 155 else if (rpm < 8000) in bits_for_tach_period() 167 int sr, rpm; in max31790_read_fan() local 175 rpm = RPM_FROM_REG(data->tach[channel], sr); in max31790_read_fan() 176 *val = rpm; in max31790_read_fan() [all …]
|
| H A D | aspeed-pwm-tacho.c | 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); 671 static SENSOR_DEVICE_ATTR_RO(fan5_input, rpm, 4); [all …]
|
| H A D | ultra45_env.c | 102 int rpm, period; in show_fan_speed() local 108 rpm = FAN_PERIOD_TO_RPM(period); in show_fan_speed() 110 rpm = 0; in show_fan_speed() 112 return sprintf(buf, "%d\n", rpm); in show_fan_speed() 119 unsigned long rpm; in set_fan_speed() local 125 err = kstrtoul(buf, 10, &rpm); in set_fan_speed() 129 if (!rpm) in set_fan_speed() 132 period = FAN_RPM_TO_PERIOD(rpm); in set_fan_speed()
|
| H A 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() 474 speed[i].rpm = u; in gpio_fan_get_of_data()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/satyr/files/ |
| H A D | 0002-fix-compile-failure-against-musl-C-library.patch | 10 lib/rpm.c | 2 +- 13 diff --git a/lib/rpm.c b/lib/rpm.c 15 --- a/lib/rpm.c 16 +++ b/lib/rpm.c
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/satyr/ |
| H A D | satyr_0.39.bb | 29 PACKAGECONFIG ??= "python3 rpm" 31 PACKAGECONFIG[rpm] = "--with-rpm, --without-rpm, rpm"
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | qcom-rpm.txt | 12 "qcom,rpm-apq8064" 13 "qcom,rpm-msm8660" 14 "qcom,rpm-msm8960" 15 "qcom,rpm-ipq8064" 16 "qcom,rpm-mdm9615" 60 "qcom,rpm-pm8058-regulators" 61 "qcom,rpm-pm8901-regulators" 62 "qcom,rpm-pm8921-regulators" 63 "qcom,rpm-pm8018-regulators" 64 "qcom,rpm-smb208-regulators" [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/dnf/ |
| H A D | dnf_4.11.1.bb | 5 HOMEPAGE = "https://github.com/rpm-software-management/dnf" 11 SRC_URI = "git://github.com/rpm-software-management/dnf.git;branch=master;protocol=https \ 49 python3-rpm \ 69 # Direct dnf-native to read rpm configuration from our sysroot, not the one it was compiled in 72 RPM_CONFIGDIR=${STAGING_LIBDIR_NATIVE}/rpm \ 78 RPM_CONFIGDIR=${SDKPATHNATIVE}${libdir_nativesdk}/rpm \ 90 …', '', 'does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv'…
|
| /OK3568_Linux_fs/buildroot/package/rpm/ |
| H A D | rpm.mk | 9 RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2 10 RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x 23 RPM_CPE_ID_VENDOR = rpm 24 RPM_SELINUX_MODULES = rpm
|
| /OK3568_Linux_fs/kernel/drivers/clk/qcom/ |
| H A D | clk-rpm.c | 145 struct qcom_rpm *rpm; member 150 struct qcom_rpm *rpm; member 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() 313 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_prepare() 334 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, clk_id, &value, 1); in clk_rpm_xo_unprepare() 349 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_prepare() 363 ret = qcom_rpm_write(r->rpm, QCOM_RPM_ACTIVE_STATE, in clk_rpm_fixed_unprepare() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/libdnf/ |
| H A D | libdnf_0.66.0.bb | 2 HOMEPAGE = "https://github.com/rpm-software-management/libdnf" 3 …des a high level package-manager. It's core library of dnf, PackageKit and rpm-ostree. It's replac… 7 SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master;protocol=https \ 21 DEPENDS = "glib-2.0 libsolv libcheck librepo rpm gtk-doc libmodulemd json-c swig-native util-linux" 35 …', '', 'Does not build without package_rpm in PACKAGE_CLASSES due disabled rpm support in libsolv'…
|
| /OK3568_Linux_fs/kernel/scripts/package/ |
| H A D | mkspec | 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
|