| /kernel/linux/linux-5.10/drivers/devfreq/ |
| D | governor.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * governor.h - internal header for devfreq governors. 8 * This header is for devfreq governors in drivers/devfreq/ 14 #include <linux/devfreq.h> 16 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev) 18 /* Devfreq events */ 29 * struct devfreq_governor - Devfreq policy governor 30 * @node: list node - contains registered devfreq governors 34 * @interrupt_driven: Devfreq core won't schedule polling work for this 42 * @event_handler: Callback for devfreq core framework to notify events [all …]
|
| D | exynos-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic Exynos Bus frequency driver with DEVFREQ Framework 9 * DEVFREQ framework and is based on drivers/devfreq/exynos/exynos4_bus.c. 13 #include <linux/devfreq.h> 14 #include <linux/devfreq-event.h> 28 struct devfreq *devfreq; member 41 * Control the devfreq-event device to get the current state of bus 48 for (i = 0; i < bus->edev_count; i++) { \ 49 if (!bus->edev[i]) \ 51 ret = devfreq_event_##ops(bus->edev[i]); \ [all …]
|
| D | tegra20-devfreq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * NVIDIA Tegra20 devfreq driver 5 * Copyright (C) 2019 GRATE-DRIVER project 9 #include <linux/devfreq.h> 32 struct devfreq *devfreq; member 41 struct devfreq *devfreq = tegra->devfreq; in tegra_devfreq_target() local 53 err = clk_set_min_rate(tegra->emc_clock, rate); in tegra_devfreq_target() 57 err = clk_set_rate(tegra->emc_clock, 0); in tegra_devfreq_target() 64 clk_set_min_rate(tegra->emc_clock, devfreq->previous_freq); in tegra_devfreq_target() 75 * EMC_COUNT returns number of memory events, that number is lower in tegra_devfreq_get_dev_status() [all …]
|
| D | devfreq-event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * devfreq-event: a framework to provide raw data and events of devfreq devices 8 * This driver is based on drivers/devfreq/devfreq.c. 11 #include <linux/devfreq-event.h> 22 /* The list of all devfreq event list */ 29 * devfreq_event_enable_edev() - Enable the devfreq-event dev and increase 30 * the enable_count of devfreq-event dev. 31 * @edev : the devfreq-event device 34 * devfreq-event device. The devfreq-event device should be enabled before 35 * using it by devfreq device. [all …]
|
| /kernel/linux/linux-5.10/drivers/devfreq/event/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "DEVFREQ-Event device Support" 5 The devfreq-event device provide the raw data and events which 6 indicate the current state of devfreq-event device. The provided 7 data from devfreq-event device is used to monitor the state of 11 The devfreq-event device can support the various type of events 12 (e.g., raw data, utilization, latency, bandwidth). The events 13 may be used by devfreq governor and other subsystem. 18 tristate "Exynos NoC (Network On Chip) Probe DEVFREQ event Driver" 23 This add the devfreq-event driver for Exynos SoC. It provides NoC [all …]
|
| /kernel/linux/linux-6.6/drivers/devfreq/event/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 bool "DEVFREQ-Event device Support" 5 The devfreq-event device provide the raw data and events which 6 indicate the current state of devfreq-event device. The provided 7 data from devfreq-event device is used to monitor the state of 11 The devfreq-event device can support the various type of events 12 (e.g., raw data, utilization, latency, bandwidth). The events 13 may be used by devfreq governor and other subsystem. 18 tristate "Exynos NoC (Network On Chip) Probe DEVFREQ event Driver" 23 This add the devfreq-event driver for Exynos SoC. It provides NoC [all …]
|
| /kernel/linux/linux-6.6/drivers/devfreq/ |
| D | governor.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * governor.h - internal header for devfreq governors. 8 * This header is for devfreq governors in drivers/devfreq/ 14 #include <linux/devfreq.h> 18 #define to_devfreq(DEV) container_of((DEV), struct devfreq, dev) 20 /* Devfreq events */ 32 * - DEVFREQ_GOV_FLAG_IMMUTABLE 34 * - DEVFREQ_GOV_FLAG_IRQ_DRIVEN 35 * : The devfreq won't schedule the work for this governor. 42 * - DEVFREQ_GOV_ATTR_POLLING_INTERVAL [all …]
|
| D | exynos-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Generic Exynos Bus frequency driver with DEVFREQ Framework 9 * DEVFREQ framework and is based on drivers/devfreq/exynos/exynos4_bus.c. 13 #include <linux/devfreq.h> 14 #include <linux/devfreq-event.h> 29 struct devfreq *devfreq; member 42 * Control the devfreq-event device to get the current state of bus 49 for (i = 0; i < bus->edev_count; i++) { \ 50 if (!bus->edev[i]) \ 52 ret = devfreq_event_##ops(bus->edev[i]); \ [all …]
|
| D | devfreq-event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * devfreq-event: a framework to provide raw data and events of devfreq devices 8 * This driver is based on drivers/devfreq/devfreq.c. 11 #include <linux/devfreq-event.h> 22 /* The list of all devfreq event list */ 29 * devfreq_event_enable_edev() - Enable the devfreq-event dev and increase 30 * the enable_count of devfreq-event dev. 31 * @edev : the devfreq-event device 34 * devfreq-event device. The devfreq-event device should be enabled before 35 * using it by devfreq device. [all …]
|
| D | rk3399_dmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Lin Huang <hl@rock-chips.com> 7 #include <linux/arm-smccc.h> 11 #include <linux/devfreq.h> 12 #include <linux/devfreq-event.h> 41 struct devfreq *devfreq; member 74 unsigned long old_clk_rate = dmcfreq->rate; in rk3399_dmcfreq_target() 92 if (dmcfreq->rate == target_rate) in rk3399_dmcfreq_target() 95 mutex_lock(&dmcfreq->lock); in rk3399_dmcfreq_target() 98 * Ensure power-domain transitions don't interfere with ARM Trusted in rk3399_dmcfreq_target() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/devfreq/event/ |
| D | samsung,exynos-ppmu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/devfreq/event/samsung,exynos-ppmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 16 PPMU events provide information of the SoC's behaviors so that you may use to 19 Exynos PPMU driver uses the devfreq-event class to provide event data to 20 various devfreq devices. The devfreq devices would use the event data when 26 - samsung,exynos-ppmu [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/interconnect/ |
| D | samsung,exynos-bus.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interconnect/samsung,exynos-bus.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 15 sub-blocks in SoC. Most Exynos SoCs share the common architecture for buses. 20 sub-blocks. 22 The Exynos SoC includes the various sub-blocks which have the each AXI bus. 24 line. The power line might be shared among one more sub-blocks. So, we can [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
| D | exynos5422-dmc.txt | 12 - compatible: Should be "samsung,exynos5422-dmc". 13 - clocks : list of clock specifiers, must contain an entry for each 14 required entry in clock-names for CLK_FOUT_SPLL, CLK_MOUT_SCLK_SPLL, 17 - clock-names : should include "fout_spll", "mout_sclk_spll", "ff_dout_spll2", 20 - devfreq-events : phandles for PPMU devices connected to this DMC. 21 - vdd-supply : phandle for voltage regulator which is connected. 22 - reg : registers of two CDREX controllers. 23 - operating-points-v2 : phandle for OPPs described in v2 definition. 24 - device-handle : phandle of the connected DRAM memory device. For more 27 - devfreq-events : phandles of the PPMU events used by the controller. [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | devfreq-event.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * devfreq-event: a framework to provide raw data and events of devfreq devices 15 * struct devfreq_event_dev - the devfreq-event device 17 * @node : Contain the devfreq-event device that have been registered. 18 * @dev : the device registered by devfreq-event class. dev.parent is 19 * the device using devfreq-event. 20 * @lock : a mutex to protect accessing devfreq-event. 22 * @desc : the description for devfreq-event device. 24 * This structure contains devfreq-event device information. 37 * struct devfreq_event_data - the devfreq-event data [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | devfreq-event.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * devfreq-event: a framework to provide raw data and events of devfreq devices 15 * struct devfreq_event_dev - the devfreq-event device 17 * @node : Contain the devfreq-event device that have been registered. 18 * @dev : the device registered by devfreq-event class. dev.parent is 19 * the device using devfreq-event. 20 * @lock : a mutex to protect accessing devfreq-event. 22 * @desc : the description for devfreq-event device. 24 * This structure contains devfreq-event device information. 37 * struct devfreq_event_data - the devfreq-event data [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | samsung,exynos5422-dmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/samsung,exynos5422-dmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - Krzysztof Kozlowski <krzk@kernel.org> 13 - Lukasz Luba <lukasz.luba@arm.com> 27 - const: samsung,exynos5422-dmc 29 clock-names: 31 - const: fout_spll 32 - const: mout_sclk_spll [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/devfreq/event/ |
| D | exynos-ppmu.txt | 6 PPMU events provide information of the SoC's behaviors so that you may 9 The Exynos PPMU driver uses the devfreq-event class to provide event data 10 to various devfreq devices. The devfreq devices would use the event data when 14 - compatible: Should be "samsung,exynos-ppmu" or "samsung,exynos-ppmu-v2. 15 - reg: physical base address of each PPMU and length of memory mapped region. 18 - clock-names : the name of clock used by the PPMU, "ppmu" 19 - clocks : phandles for clock specified in "clock-names" property 21 Required properties for 'events' child node of PPMU device: 22 - event-name : the unique event name among PPMU device 23 Optional properties for 'events' child node of PPMU device: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/devfreq/ |
| D | exynos-bus.txt | 4 and sub-blocks in SoC. Most Exynos SoCs share the common architecture 9 is able to measure the current load of sub-blocks. 11 The Exynos SoC includes the various sub-blocks which have the each AXI bus. 13 power line. The power line might be shared among one more sub-blocks. 14 So, we can divide into two type of device as the role of each sub-block. 16 - parent bus device 17 - passive bus device 26 VDD_xxx |--- A block (parent) 27 |--- B block (passive) 28 |--- C block (passive) [all …]
|
| /kernel/linux/linux-5.10/drivers/thermal/ |
| D | devfreq_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * devfreq 6 * Copyright (C) 2014-2015 ARM Limited 9 * - If OPPs are added or removed after devfreq cooling has 10 * registered, the devfreq cooling won't react to it. 13 #include <linux/devfreq.h> 22 #include <trace/events/thermal.h> 30 * struct devfreq_cooling_device - Devfreq cooling device 34 * @devfreq: Pointer to associated devfreq device. 52 * of the devfreq device. [all …]
|
| /kernel/linux/linux-5.10/drivers/memory/samsung/ |
| D | exynos5422-dmc.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/devfreq.h> 9 #include <linux/devfreq-event.h> 73 /* A value for register DREX_PPCCLKCON which enables performance events clock. 100 * struct dmc_opp_table - Operating level desciption 112 * struct exynos5_dmc - main structure describing DMC device 114 * @df: devfreq device structure returned by devfreq framework 115 * @gov_data: configuration of devfreq governor 141 * @counter: devfreq events 145 * @total: total time between devfreq events [all …]
|
| /kernel/linux/linux-6.6/drivers/memory/samsung/ |
| D | exynos5422-dmc.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/devfreq.h> 9 #include <linux/devfreq-event.h> 73 /* A value for register DREX_PPCCLKCON which enables performance events clock. 100 * struct dmc_opp_table - Operating level desciption 112 * struct exynos5_dmc - main structure describing DMC device 114 * @df: devfreq device structure returned by devfreq framework 115 * @gov_data: configuration of devfreq governor 141 * @counter: devfreq events 145 * @total: total time between devfreq events [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | exynos4412-odroid-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards 7 #include <dt-bindings/sound/samsung-i2s.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 11 #include "exynos4412-ppmu-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include "exynos-mfc-reserved-memory.dtsi" 22 stdout-path = &serial_1; 26 compatible = "samsung,secure-firmware"; [all …]
|
| D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 31 compatible = "samsung,secure-firmware"; 35 fixed-rate-clocks { 37 compatible = "samsung,clock-xxti"; 38 clock-frequency = <0>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | exynos4412-odroid-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards 7 #include <dt-bindings/sound/samsung-i2s.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 11 #include "exynos4412-ppmu-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include "exynos-mfc-reserved-memory.dtsi" 17 stdout-path = &serial_1; 21 compatible = "samsung,secure-firmware"; [all …]
|
| D | exynos4412-itop-scp-core.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 17 #include "exynos4412-ppmu-common.dtsi" 18 #include "exynos-mfc-reserved-memory.dtsi" 27 compatible = "samsung,secure-firmware"; 31 fixed-rate-clocks { 33 compatible = "samsung,clock-xxti"; 34 clock-frequency = <0>; [all …]
|