Home
last modified time | relevance | path

Searched +full:power +full:- +full:managed (Results 1 – 25 of 504) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_device.h30 * enum drm_switch_power - power state of drm device
34 /** @DRM_SWITCH_POWER_ON: Power state is ON */
37 /** @DRM_SWITCH_POWER_OFF: Power state is OFF */
40 /** @DRM_SWITCH_POWER_CHANGING: Power state is changing */
48 * struct drm_device - DRM device structure
64 /** @ref: Object ref-count */
67 /** @dev: Device structure of bus-device */
71 * @managed:
73 * Managed resources linked to the lifetime of this &drm_device as
77 /** @managed.resources: managed resources list */
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/bus/
H A Dsimple-pm-bus.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple Power-Managed Bus
10 - Geert Uytterhoeven <geert+renesas@glider.be>
13 A Simple Power-Managed Bus is a transparent bus that doesn't need a real
19 on-SoC or externally) to function.
21 While "simple-pm-bus" follows the "simple-bus" set of properties, as
23 "simple-bus".
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dscmi_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
21 * struct scmi_revision_info - version information structure
30 * @impl_ver: A vendor-specific implementation version.
32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
65 * struct scmi_clk_proto_ops - represents the various operations provided
91 * struct scmi_perf_proto_ops - represents the various operations provided
105 * @est_power_get: gets the estimated power cost for a given performance domain
127 unsigned long *rate, unsigned long *power);
136 * struct scmi_power_proto_ops - represents the various operations provided
137 * by SCMI Power Protocol
[all …]
H A Dreset.h1 /* SPDX-License-Identifier: GPL-2.0 */
79 return optional ? 0 : -ENOTSUPP; in __device_reset()
87 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get()
95 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get()
103 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get()
109 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get()
116 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get()
121 return -ENOENT; in reset_control_get_count()
137 * reset_control_get_exclusive - Lookup and obtain an exclusive reference
144 * return -EBUSY.
[all …]
H A Ddevice.h1 // SPDX-License-Identifier: GPL-2.0
3 * device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
9 * See Documentation/driver-api/driver-model/ for more information.
51 * struct subsys_interface - interfaces to device functions
83 * This identifies the device type and carries type-specific
208 /* managed devm_k.alloc/kfree for device drivers */
271 * devm_alloc_percpu - Resource-managed alloc_percpu
[all …]
/OK3568_Linux_fs/u-boot/include/
H A Dpower-domain.h4 * SPDX-License-Identifier: GPL-2.0
11 * A power domain is a portion of an SoC or chip that is powered by a
12 * switchable source of power. In many cases, software has control over the
13 * power domain, and can turn the power source on or off. This is typically
14 * done to save power by powering off unused devices, or to enable software
16 * drivers to turn power domains on and off.
18 * A driver that implements UCLASS_POWER_DOMAIN is a power domain controller or
19 * provider. A controller will often implement multiple separate power domains,
21 * power-domain-uclass.h describes the interface which power domain controllers
24 * Depending on the power domain controller hardware, changing the state of a
[all …]
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dwakeirq.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "power.h"
13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ
15 * @irq: Device wake-up capable interrupt
19 * dedicated wake-up interrupt as a wake IRQ.
27 return -EINVAL; in dev_pm_attach_wake_irq()
29 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
32 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
33 return -EEXIST; in dev_pm_attach_wake_irq()
[all …]
/OK3568_Linux_fs/kernel/drivers/bus/
H A Dsimple-pm-bus.c2 * Simple Power-Managed Bus Driver
4 * Copyright (C) 2014-2015 Glider bvba
19 struct device_node *np = pdev->dev.of_node; in simple_pm_bus_probe()
21 dev_dbg(&pdev->dev, "%s\n", __func__); in simple_pm_bus_probe()
23 pm_runtime_enable(&pdev->dev); in simple_pm_bus_probe()
26 of_platform_populate(np, NULL, NULL, &pdev->dev); in simple_pm_bus_probe()
33 dev_dbg(&pdev->dev, "%s\n", __func__); in simple_pm_bus_remove()
35 pm_runtime_disable(&pdev->dev); in simple_pm_bus_remove()
40 { .compatible = "simple-pm-bus", },
49 .name = "simple-pm-bus",
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-kbox-a-230-ls.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree File for the Kontron KBox A-230-LS.
5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special
12 /dts-v1/;
13 #include "fsl-ls1028a-kontron-sl28-var4.dts"
14 #include <dt-bindings/leds/common.h>
17 model = "Kontron KBox A-230-LS";
18 compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4",
22 compatible = "gpio-leds";
24 alarm-led {
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dcs35l32.txt5 - compatible : "cirrus,cs35l32"
7 - reg : the I2C address of the device for I2C. Address is determined by the level
10 - VA-supply, VP-supply : power supplies for the device,
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
18 - cirrus,boost-manager : Boost voltage control.
19 0 = Automatically managed. Boost-converter output voltage is the higher
21 1 = Automatically managed irrespective of audio, adapting for low-power
22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode
27 - cirrus,sdout-datacfg : Data configuration for dual CS35L32 applications only.
28 Determines the data packed in a two-CS35L32 configuration.
[all …]
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A Dlcd.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
25 * and if it is, we're switching lcd power as well ...
34 if (!ld->ops) in fb_notifier_callback()
37 mutex_lock(&ld->ops_lock); in fb_notifier_callback()
38 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { in fb_notifier_callback()
40 if (ld->ops->set_power) in fb_notifier_callback()
41 ld->ops->set_power(ld, *(int *)evdata->data); in fb_notifier_callback()
43 if (ld->ops->set_mode) in fb_notifier_callback()
44 ld->ops->set_mode(ld, evdata->data); in fb_notifier_callback()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/cpufreq/
H A Dcpufreq.sh2 # SPDX-License-Identifier: GPL-2.0
17 if [ ! -d $CPUROOT/$1/cpufreq ]; then
24 if [ -d $CPUROOT/$1/cpufreq ]; then
31 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
39 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
53 if [ -f $1/$file ]; then
71 printf "%s\n\n" "------------------------------------------------"
85 if [ -f $1/$file ]; then
87 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }')
89 if [ ! -z $wfile ]; then
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/marvell/
H A Darmada-3720-uDPU.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3)
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include "armada-372x.dtsi"
22 stdout-path = "serial0:115200n8";
31 pinctrl-names = "default";
32 compatible = "gpio-leds";
35 label = "udpu:green:power";
40 label = "udpu:red:power";
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/
H A Ddevice_link.rst27 In its standard or *managed* form, a device link combines *both* dependency
57 device ``->probe`` callback or a boot-time PCI quirk.
61 ``->probe`` callback while the supplier hasn't started to probe yet: Had the
65 non-presence. [Note that it is valid to create a link from the consumer's
66 ``->probe`` callback while the supplier is still probing, but the consumer must
72 is added in the ``->probe`` callback of the supplier or consumer driver, it is
73 typically deleted in its ``->remove`` callback for symmetry. That way, if the
77 to deletion. Device links managed by the driver core are deleted automatically
87 link is added from the consumer's ``->probe`` callback: ``DL_FLAG_RPM_ACTIVE``
93 Similarly, when the device link is added from supplier's ``->probe`` callback,
[all …]
/OK3568_Linux_fs/kernel/Documentation/driver-api/driver-model/
H A Ddevres.rst2 Devres - Managed Device Resource
16 6. List of managed interfaces: Currently implemented managed interfaces
20 --------
29 sufficient bugs in ->remove and ->probe failure path. Well, yes,
42 and having half broken failure path implementation in ->probe() which
48 ---------
57 Managed interface is created for resources commonly used by device
59 using dma_alloc_coherent(). The managed version is called
61 for the DMA memory allocated using it is managed and will be
75 dma_free_coherent(dev, this->size, this->vaddr, this->dma_handle);
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Ddmapool.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This allocator returns small blocks of a given size which are DMA-able by
15 * represented by the 'struct dma_pool' which keeps a doubly-linked list of
17 * least 'size' bytes. Free blocks are tracked in an unsorted singly-linked
23 #include <linux/dma-mapping.h>
76 temp = scnprintf(next, size, "poolinfo - 0.1\n"); in show_pools()
77 size -= temp; in show_pools()
81 list_for_each_entry(pool, &dev->dma_pools, pools) { in show_pools()
85 spin_lock_irq(&pool->lock); in show_pools()
86 list_for_each_entry(page, &pool->page_list, page_list) { in show_pools()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Dregulatory.h6 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
25 * enum environment_cap - Environment parsed from country IE
38 * struct regulatory_request - used to keep track of regulatory requests
50 * 00 - World regulatory domain
51 * 99 - built by driver but a specific alpha2 cannot be determined
52 * 98 - result of an intersection between two regulatory domains
53 * 97 - regulatory domain has not yet been configured
91 * enum ieee80211_regulatory_flags - device regulatory flags
116 * ISO3166-alpha2 country code. wiphys that use regulatory_hint()
117 * will have their wiphy->regd programmed once the regulatory
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-power1 What: /sys/devices/.../power/
5 The /sys/devices/.../power directory contains attributes
6 allowing the user space to check and modify some power
9 What: /sys/devices/.../power/wakeup
13 The /sys/devices/.../power/wakeup attribute allows the user
21 have one of the following two values for the sysfs power/wakeup
35 What: /sys/devices/.../power/control
39 The /sys/devices/.../power/control attribute allows the user
40 space to control the run-time power management of the device.
43 power/control file:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Damlogic,meson-g12a-usb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Neil Armstrong <narmstrong@baylibre.com>
16 - amlogic,meson-g12a-usb2-phy
17 - amlogic,meson-a1-usb2-phy
25 clock-names:
27 - const: xtal
32 reset-names:
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/soc/ti/
H A Dsci-pm-domain.txt1 Texas Instruments TI-SCI Generic Power Domain
2 ---------------------------------------------
7 controller happens through a protocol known as TI-SCI [1].
13 The PM domain node represents the global PM domain managed by the PMMC, which
15 bindings in Documentation/devicetree/bindings/power/power-domain.yaml. Because
20 --------------------
21 - compatible: should be "ti,sci-pm-domain"
22 - #power-domain-cells: Can be one of the following:
33 -------------
35 compatible = "ti,k2g-sci";
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-bsp/apmd/apmd/
H A Dapmd_proxy.conf3 # This file is managed by debconf when installing or reconfiguring the
9 # require substantial modifications to the APM driver. We will re-enable
10 # this feature if the driver is ever modified. -- cph@debian.org
13 # system standby requests when the computer is running on AC power.
15 # the computer is running on battery power.
/OK3568_Linux_fs/kernel/Documentation/admin-guide/pm/
H A Dintel_pstate.rst1 .. SPDX-License-Identifier: GPL-2.0
24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
43 time the corresponding CPU is taken offline and need to be re-initialized when
47 only way to pass early-configuration-time parameters to it is via the kernel
66 -----------
69 hardware-managed P-states (HWP) support. If it works in this mode, the
74 provides its own scaling algorithms for P-state selection. Those algorithms
[all …]
/OK3568_Linux_fs/kernel/drivers/opp/
H A Dopp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
35 * |- device 1 (represents voltage domain 1)
36 * | |- opp 1 (availability, freq, voltage)
37 * | |- opp 2 ..
39 * | `- opp n ..
40 * |- device 2 (represents the next voltage domain)
42 * `- device m (represents mth voltage domain)
48 * struct dev_pm_opp - Generic OPP description structure
55 * @available: true/false - marks if this OPP as available or not
[all …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Ddm-crypt.rst2 dm-crypt
5 Device-Mapper's "crypt" target provides transparent encryption of block devices
21 cipher[:keycount]-chainmode-ivmode[:ivopts]
25 aes-cbc-essiv:sha256
26 aes-xts-plain64
27 serpent-xts-plain64
36 capi:cipher_api_spec-ivmode[:ivopts]
40 capi:cbc(aes)-essiv:sha256
41 capi:xts(aes)-plain64
45 capi:gcm(aes)-random
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/panel/
H A Dorisetech,otm8009a.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode)
10 - Philippe CORNU <philippe.cornu@st.com>
14 a MIPI-DSI video interface. Its backlight is managed through the DSI link.
16 - $ref: panel-common.yaml#
27 enable-gpios: true
29 power-supply: true
31 reset-gpios:
[all …]

12345678910>>...21