| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/backend/gpu/ |
| H A D | mali_kbase_pm_defs.h | 3 * (C) COPYRIGHT 2014-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 19 * Backend-specific Power Manager definitions 39 /* Forward definition - see mali_kbase.h */ 44 * enum kbase_pm_core_type - The types of core in a GPU. 47 * - kbase_pm_get_present_cores() 48 * - kbase_pm_get_active_cores() 49 * - kbase_pm_get_trans_cores() 50 * - kbase_pm_get_ready_cores(). 69 * struct kbasep_pm_metrics_data - Metrics data collected for use by the power [all …]
|
| H A D | mali_kbase_pm_coarse_demand.h | 3 * (C) COPYRIGHT 2012-2015 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 31 * - When KBase indicates that the GPU will be powered up, but we don't yet 33 * - All Shader Cores are powered up, regardless of whether or not they will 35 * - When KBase indicates that a set of Shader Cores are needed to submit the 37 * - All Shader Cores are kept powered, regardless of whether or not they will 39 * - When KBase indicates that the GPU need not be powered: 40 * - The Shader Cores are powered off, and the GPU itself is powered off too. 43 * - KBase indicates the GPU will be powered up when it has a User Process that 45 * - KBase indicates the GPU need not be powered when all the Job Chains from [all …]
|
| H A D | mali_kbase_pm_demand.h | 3 * (C) COPYRIGHT 2011-2015 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 31 * - When KBase indicates that the GPU will be powered up, but we don't yet 33 * - The Shader Cores are not powered up 35 * - When KBase indicates that a set of Shader Cores are needed to submit the 37 * - Only those Shader Cores are powered up 39 * - When KBase indicates that the GPU need not be powered: 40 * - The Shader Cores are powered off, and the GPU itself is powered off too. 43 * - KBase indicates the GPU will be powered up when it has a User Process that 46 * - KBase indicates the GPU need not be powered when all the Job Chains from [all …]
|
| H A D | mali_kbase_pm_internal.h | 3 * (C) COPYRIGHT 2010-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 34 * kbase_pm_dev_idle - The GPU is idle. 36 * The OS may choose to turn off idle devices 43 * kbase_pm_dev_activate - The GPU is active. 45 * The OS should avoid opportunistically turning off the GPU while it is active 52 * kbase_pm_get_present_cores - Get details of the cores that are present in 69 * kbase_pm_get_active_cores - Get details of the cores that are currently 85 * kbase_pm_get_trans_cores - Get details of the cores that are currently 101 * kbase_pm_get_ready_cores - Get details of the cores that are currently [all …]
|
| H A D | mali_kbase_pm_always_on.h | 4 * (C) COPYRIGHT 2011-2015 ARM Limited. All rights reserved. 13 * Boston, MA 02110-1301, USA. 33 * - When KBase indicates that the GPU will be powered up, but we don't yet 35 * All Shader Cores are powered up, regardless of whether or not they will 38 * - When KBase indicates that a set of Shader Cores are needed to submit the 40 * All Shader Cores are kept powered, regardless of whether or not they will 43 * - When KBase indicates that the GPU need not be powered: 44 * The Shader Cores are kept powered, regardless of whether or not they will 45 * be needed. The GPU itself is also kept powered, even though it is not 49 * core state is ignored, and the cores are forced off regardless of what the [all …]
|
| H A D | mali_kbase_pm_driver.c | 3 * (C) COPYRIGHT 2010-2017 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 53 * enum kbasep_pm_action - Actions that can be performed on a core. 62 * @ACTION_PWROFF: Power off the cores specified 68 ACTION_READY = (SHADER_READY_LO - SHADER_PRESENT_LO), 69 ACTION_PWRON = (SHADER_PWRON_LO - SHADER_PRESENT_LO), 70 ACTION_PWROFF = (SHADER_PWROFF_LO - SHADER_PRESENT_LO), 71 ACTION_PWRTRANS = (SHADER_PWRTRANS_LO - SHADER_PRESENT_LO), 72 ACTION_PWRACTIVE = (SHADER_PWRACTIVE_LO - SHADER_PRESENT_LO) 75 /*---------------------------------------------------------------------------*/ [all …]
|
| H A D | mali_kbase_pm_policy.h | 3 * (C) COPYRIGHT 2010-2015 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 26 * kbase_pm_policy_init - Initialize power policy framework 33 * initialized, -errno otherwise. 38 * kbase_pm_policy_term - Terminate power policy framework 45 * kbase_pm_update_active - Update the active power state of the GPU 54 * kbase_pm_update_cores - Update the desired core state of the GPU 71 * kbase_pm_request_cores_sync - Synchronous variant of kbase_pm_request_cores() 80 * work of ensuring the requested cores will remain powered until a matching 88 * kbase_pm_request_cores - Mark one or more cores as being required [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/backend/gpu/ |
| H A D | mali_kbase_pm_coarse_demand.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2012-2015, 2018, 2020-2021 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 33 * - When KBase indicates that the GPU will be powered up, but we don't yet 35 * - Shader Cores are powered up, regardless of whether or not they will be 37 * - When KBase indicates that Shader Cores are needed to submit the currently 39 * - Shader Cores are kept powered, regardless of whether or not they will 41 * - When KBase indicates that the GPU need not be powered: 42 * - The Shader Cores are powered off, and the GPU itself is powered off too. 45 * - KBase indicates the GPU will be powered up when it has a User Process that [all …]
|
| H A D | mali_kbase_pm_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2010-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 36 * kbase_pm_dev_idle - The GPU is idle. 40 * The OS may choose to turn off idle devices 45 * kbase_pm_dev_activate - The GPU is active. 49 * The OS should avoid opportunistically turning off the GPU while it is active 54 * kbase_pm_get_present_cores - Get details of the cores that are present in 71 * kbase_pm_get_active_cores - Get details of the cores that are currently 87 * kbase_pm_get_trans_cores - Get details of the cores that are currently [all …]
|
| H A D | mali_kbase_pm_mcu_states.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 23 * Backend-specific Power Manager MCU state definitions. 24 * The function-like macro KBASEP_MCU_STATE() must be defined before including 28 * @OFF: The MCU is powered off. 43 * @PEND_OFF: MCU is being disabled, pending on powering off. 48 * @HCTL_CORES_NOTIFY_PEND: Shader cores have powered up and firmware is being 53 * @HCTL_SHADERS_READY_OFF: MCU has halted and cores need to be powered down 63 * transition to power down. Once powered down, [all …]
|
| H A D | mali_kbase_pm_always_on.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2011-2015, 2018, 2020-2021 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 34 * - When KBase indicates that the GPU will be powered up, but we don't yet 36 * Shader Cores are powered up, regardless of whether or not they will be 39 * - When KBase indicates that Shader Cores are needed to submit the currently 41 * Shader Cores are kept powered, regardless of whether or not they will be 44 * - When KBase indicates that the GPU need not be powered: 45 * The Shader Cores are kept powered, regardless of whether or not they will 46 * be needed. The GPU itself is also kept powered, even though it is not [all …]
|
| H A D | mali_kbase_pm_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2014-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 23 * Backend-specific Power Manager definitions 36 /* Forward definition - see mali_kbase.h */ 41 * enum kbase_pm_core_type - The types of core in a GPU. 49 * - kbase_pm_get_present_cores() 50 * - kbase_pm_get_active_cores() 51 * - kbase_pm_get_trans_cores() 52 * - kbase_pm_get_ready_cores(). [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/dvb/ |
| H A D | fe-diseqc-reset-overload.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due -… 31 If the bus has been automatically powered off due to power overload, 34 is manually powered off. Not all Digital TV adapters support this ioctl. 41 On error -1 is returned, and the ``errno`` variable is set 45 :ref:`Generic Error Codes <gen-errors>` chapter.
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | generic-phy.h | 2 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ 3 * Written by Jean-Jacques Hiblot <jjhiblot@ti.com> 5 * SPDX-License-Identifier: GPL-2.0+ 11 #include <generic-phy-dp.h> 12 #include <generic-phy-mipi-dphy.h> 13 #include <generic-phy-pcie.h> 21 * union phy_configure_opts - Opaque generic phy configuration 35 * struct phy_attrs - represents phy attributes 47 * struct phy - A handle to (allowing control of) a single phy port. 65 * struct udevice_ops - set of function pointers for phy operations [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/common/ |
| H A D | mali_pm.c | 2 * Copyright (C) 2011-2017 ARM Limited. All rights reserved. 8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 44 /* PMU domains which are actually powered on (protected by pm_lock_exec) */ 48 * domains which marked as powered on (protected by pm_lock_exec) 50 * if the PMU domains default to powered up. 77 * for GPU will not power off by runtime */ 214 mali_bool ret = MALI_TRUE; /* Assume all is powered on instantly */ in mali_pm_get_domain_refs() 225 * was not already powered on. in mali_pm_get_domain_refs() 271 /* return true; one or more domains can now be powered down */ in mali_pm_put_domain_refs() 298 /* Ensure all PMU domains are off */ in mali_pm_init_end() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/ |
| H A D | mali_kbase_config.h | 3 * (C) COPYRIGHT 2010-2016 ARM Limited. All rights reserved. 12 * Boston, MA 02110-1301, USA. 54 * kbase_platform_funcs_conf - Specifies platform init/term function pointers 62 * platform_init_func - platform specific init function pointer 63 * @kbdev - kbase_device pointer 77 * platform_term_func - platform specific termination function pointer 78 * @kbdev - kbase_device pointer 82 * idle but still powered and clocked. 93 * By default no callbacks will be made and the GPU must not be powered off. 96 /** Callback for when the GPU is idle and the power to it can be switched off. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ipa_control/ |
| H A D | mali_kbase_csf_ipa_control.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2020-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 33 * struct kbase_ipa_control_perf_counter - Performance counter description 68 * kbase_ipa_control_init - Initialize the IPA Control component 75 * kbase_ipa_control_term - Terminate the IPA Control component 82 * kbase_ipa_control_register - Register a client to the IPA Control component 104 * Return: 0 on success, negative -errno on error 112 * kbase_ipa_control_unregister - Unregister a client from IPA Control 118 * Return: 0 on success, negative -errno on error [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2010-2017, 2019-2022 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 46 * struct kbase_platform_funcs_conf - Specifies platform integration function 56 * @kbdev - kbase_device pointer 71 * @kbdev - kbase_device pointer 75 * idle but still powered and clocked. 84 * @kbdev - kbase_device pointer 97 * @kbdev - kbase_device pointer 112 * @kctx - kbase_context pointer [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | libata-zpodd.c | 1 // SPDX-License-Identifier: GPL-2.0 11 static int zpodd_poweroff_delay = 30; /* 30 seconds for power off delay */ 31 bool powered_off; /* ODD is powered off 85 if (be16_to_cpu(desc->feature_code) != 3) { in zpodd_get_mech_type() 90 if (desc->mech_type == 0 && desc->load == 0 && desc->eject == 1) { in zpodd_get_mech_type() 93 } else if (desc->mech_type == 1 && desc->load == 0 && in zpodd_get_mech_type() 94 desc->eject == 1) { in zpodd_get_mech_type() 108 struct zpodd *zpodd = dev->zpodd; in zpready() 115 sense_buf = dev->link->ap->sector_buf; in zpready() 132 if (zpodd->mech_type == ODD_MECH_TYPE_SLOT) in zpready() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/pci/hotplug/ |
| H A D | pciehp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 36 pci_dbg(ctrl->pcie->port, format, ## arg) 38 pci_err(ctrl->pcie->port, format, ## arg) 40 pci_info(ctrl->pcie->port, format, ## arg) 42 pci_warn(ctrl->pcie->port, format, ## arg) 47 * struct controller - PCIe hotplug controller 69 * @button_work: work item to turn the slot on or off after 5 seconds 117 * @OFF_STATE: slot is powered off, no subordinate devices are enumerated [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-cpu-debug.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include "coresight-priv.h" 66 * 0b0000 - Sample offset applies based on the instruction state, we 68 * 0b0001 - No offset applies. 69 * 0b0010 - No offset applies, but do not use in AArch32 mode 114 writel_relaxed(0x0, drvdata->base + EDOSLAR); in debug_os_unlock() 126 * - CPU power domain is powered off; 127 * - The OS Double Lock is locked; 133 /* CPU is powered off */ in debug_access_permitted() 134 if (!(drvdata->edprsr & EDPRSR_PU)) in debug_access_permitted() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-keystone/ |
| H A D | cmd_mon.c | 4 * (C) Copyright 2012-2014 7 * SPDX-License-Identifier: GPL-2.0+ 35 return -EFAULT; in do_mon_install() 90 printf("core %d powered on successfully\n", core_id); in do_mon_power() 94 printf("core %d powered off successfully\n", core_id); in do_mon_power() 101 "Power On/Off secondary core", 103 "- coreid (1-3) and oper (1 - ON, 0 - OFF)\n"
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | mcpm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright: (C) 2012-2013 Linaro Limited 40 * branch once it is ready to re-enter the kernel using ptr, or NULL if it 59 * mcpm_is_available - returns whether MCPM is initialized and available 66 * mcpm_cpu_power_up - make given CPU in given cluster runable 71 * The identified CPU is brought out of reset. If the cluster was powered 87 * mcpm_cpu_power_down - power the calling CPU down 89 * The calling CPU is powered down. 92 * then the cluster is prepared for power-down too. 96 * On success this does not return. Re-entry in the kernel is expected [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | toshiba_bluetooth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * normal people aren't meant to understand :-) 35 bool powered; member 79 return -ENXIO; in toshiba_bluetooth_present() 84 return -ENODEV; in toshiba_bluetooth_present() 98 return -ENXIO; in toshiba_bluetooth_status() 111 return -ENXIO; in toshiba_bluetooth_enable() 117 return -ENXIO; in toshiba_bluetooth_enable() 129 pr_err("Could not power OFF Bluetooth device\n"); in toshiba_bluetooth_disable() 130 return -ENXIO; in toshiba_bluetooth_disable() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/midgard/platform/rk/ |
| H A D | mali_kbase_config_rk.c | 23 #include <linux/nvmem-consumer.h> 48 /*---------------------------------------------------------------------------*/ 72 /*---------------------------------------------------------------------------*/ 78 struct kbase_device *kbdev = platform->kbdev; in rk_pm_power_off_delay_work() 80 if (!platform->is_powered) { in rk_pm_power_off_delay_work() 81 D("mali_dev is already powered off."); in rk_pm_power_off_delay_work() 85 if (pm_runtime_enabled(kbdev->dev)) { in rk_pm_power_off_delay_work() 87 pm_runtime_put_sync_suspend(kbdev->dev); in rk_pm_power_off_delay_work() 92 platform->is_powered = false; in rk_pm_power_off_delay_work() 94 wake_unlock(&platform->wake_lock); in rk_pm_power_off_delay_work() [all …]
|