/linux/Documentation/devicetree/bindings/input/ |
H A D | goodix,gt7375p.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 14 This touchscreen uses the i2c-hid protocol but has some non-standard 18 - $ref: /schemas/input/touchscreen/touchscreen.yaml# 23 - const: goodix,gt7375p 24 - items: 25 - const: goodix,gt7986u 26 - const: goodix,gt7375p [all …]
|
/linux/drivers/clk/bcm/ |
H A D | clk-iproc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <linux/clk-provider.h> 17 #define bit_mask(width) ((1 << (width)) - 1) 29 * Some of the iProc PLL/clocks may have an ASIC bug that requires read back 106 * Control of powering on/off of a PLL 108 * Before powering off a PLL, input isolation (ISO) needs to be enabled
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-samsung-atna33xc20.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * by the DRM_PANEL_SIMPLE driver because its power sequencing is non-standard. 68 * powering off. in atana33xc20_suspend() 70 if (p->el3_was_on) in atana33xc20_suspend() 71 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 73 drm_dp_dpcd_set_powered(p->aux, false); in atana33xc20_suspend() 74 ret = regulator_disable(p->supply); in atana33xc20_suspend() 77 p->powered_off_time = ktime_get_boottime(); in atana33xc20_suspend() 78 p->el3_was_on = false; in atana33xc20_suspend() 90 atana33xc20_wait(p->powered_off_time, 500); in atana33xc20_resume() [all …]
|
H A D | panel-panasonic-vvx10f034n00.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 * observed before powering back on as there's no external reset pin. Keep 47 return mipi_dsi_turn_on_peripheral(wuxga_nt->dsi); in wuxga_nt_panel_on() 54 return mipi_dsi_shutdown_peripheral(wuxga_nt->dsi); in wuxga_nt_panel_disable() 61 regulator_disable(wuxga_nt->supply); in wuxga_nt_panel_unprepare() 62 wuxga_nt->earliest_wake = ktime_add_ms(ktime_get_real(), MIN_POFF_MS); in wuxga_nt_panel_unprepare() 74 * If the user re-enabled the panel before the required off-time then in wuxga_nt_panel_prepare() 75 * we need to wait the remaining period before re-enabling regulator in wuxga_nt_panel_prepare() 77 enablewait = ktime_ms_delta(wuxga_nt->earliest_wake, ktime_get_real()); in wuxga_nt_panel_prepare() 86 ret = regulator_enable(wuxga_nt->supply); in wuxga_nt_panel_prepare() [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 50 ------- 53 providing a relatively straightforward transition back to the working state. No [all …]
|
/linux/Documentation/networking/device_drivers/wifi/intel/ |
H A D | ipw2100.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Intel(R) PRO/Wireless 2100 Network Connection 12 Copyright |copy| 2003-2006, Intel Corporation 16 :Version: git-1.1.5 23 2. Release git-1.1.5 Current Features 64 the warranty and/or issues arising from regulatory non-compliance, and 69 modules, and accordingly, condition system-level regulatory approval 72 non-compliant. 81 https://www.intel.com/support/wireless/sb/CS-006408.htm 97 2. Release git-1.1.5 Current Supported Features [all …]
|
/linux/drivers/char/ipmi/ |
H A D | ipmi_poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0+ 38 /* Which interface to use, -1 means the first we see. */ 39 static int ifnum_to_use = -1; 66 "timer. Setting to -1 defaults to the first registered " 72 " Set to non-zero to enable power cycle instead of power" 74 " otherwise it defaults back to power down."); 85 * thing is single-threaded, anyway, so multiple messages are not 107 struct completion *comp = recv_msg->user_msg_data; in receive_handler() 256 pr_info("Powering down via ATCA power command\n"); in ipmi_poweroff_atca() 331 pr_info("Powering down via CPI1 power command\n"); in ipmi_poweroff_cpi1() [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | prph.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 108 * When powering back up after sleeps (or during initial uCode load), the BSM 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This 170 * Data caching during power-downs: 173 * power-saving modes, or for RFKILL), uCode stores (via PCI busmaster DMA) [all …]
|
H A D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved 101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions 102 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D 103 * 1-0: "Dash" (-) value, as in A-1, etc. [all …]
|
H A D | 4965.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
H A D | 3945.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 16 #include <linux/dma-mapping.h> 94 * il3945_disable_events - Disable selected events in uCode event log 99 * Use for only special debugging. This function is just a placeholder as-is, 107 u32 disable_ptr; /* SRAM address of event-disable bitmap array */ in il3945_disable_events() 110 0x00000000, /* 31 - 0 Event id numbers */ in il3945_disable_events() 111 0x00000000, /* 63 - 32 */ in il3945_disable_events() 112 0x00000000, /* 95 - 64 */ in il3945_disable_events() [all …]
|
/linux/arch/arm/mach-mvebu/ |
H A D | pmsu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Gregory Clement <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 * unit which is responsible for powering down and waking up CPUs and 16 #define pr_fmt(fmt) "mvebu-pmsu: " fmt 25 #include <linux/mvebu-pmsu.h> 104 { .compatible = "marvell,armada-370-pmsu", }, 105 { .compatible = "marvell,armada-370-xp-pmsu", }, 106 { .compatible = "marvell,armada-380-pmsu", }, 130 u32 code_len = mvebu_boot_wa_end - mvebu_boot_wa_start; in mvebu_setup_boot_addr_wa() [all …]
|
/linux/arch/arm/kernel/ |
H A D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 75 * SGI8-15 can be reserved by secure firmware, and thus may 113 return cpu_vtable[cpu] ? 0 : -ENOMEM; in secondary_biglittle_prepare() 118 init_proc_vtable(lookup_processor(read_cpuid_id())->proc); in secondary_biglittle_init() 136 return -ENOSYS; in __cpu_up() 172 ret = -EIO; in __cpu_up() 273 * OK - migrate IRQs away from this CPU in __cpu_disable() 282 * to write-back dirty lines to unified caches shared by all CPUs. in __cpu_disable() 300 * platform_cpu_kill() is generally expected to do the powering off in arch_cpuhp_cleanup_dead_cpu() 313 * Note that we disable IRQs here, but do not re-enable them [all …]
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | ras.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 114 switch (mlog->error_type) { in rtas_mc_error_sub_type() 116 return (mlog->sub_err_type & 0x07); in rtas_mc_error_sub_type() 120 return (mlog->sub_err_type & 0x03); in rtas_mc_error_sub_type() 122 return (mlog->sub_err_type & 0x70) >> 4; in rtas_mc_error_sub_type() 138 np = of_find_node_by_path("/event-sources/hot-plug-events"); in init_ras_hotplug_IRQ() 161 np = of_find_node_by_path("/event-sources/internal-errors"); in init_ras_IRQ() 169 np = of_find_node_by_path("/event-sources/epow-events"); in init_ras_IRQ() 242 epow_log = (struct epow_errorlog *)pseries_log->data; in rtas_parse_epow_errlog() 243 action_code = epow_log->sensor_value & 0xF; /* bottom 4 bits */ in rtas_parse_epow_errlog() [all …]
|
/linux/Documentation/staging/ |
H A D | remoteproc.rst | 10 of operating system, whether it's Linux or any other flavor of real-time OS. 12 OMAP4, for example, has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP. 13 In a typical configuration, the dual cortex-A9 is running Linux in a SMP 22 platform-specific remoteproc drivers only need to provide a few low-level 24 (for more information about the virtio-based rpmsg bus and its drivers, 57 without really powering off the device. 77 decrement it back once rproc isn't needed anymore. 118 name of this remote processor, platform-specific ops handlers, 154 This is called by the platform-specific rproc implementation, whenever 180 Returns 0 on success and -EINVAL if @rproc isn't valid. [all …]
|
/linux/drivers/pci/hotplug/ |
H A D | cpqphp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 304 u8 pcix_speed_capability; /* PCI-X */ 305 u8 pcix_support; /* PCI-X */ 386 #define msg_button_on "PCI slot #%d - powering on due to button press.\n" 387 #define msg_button_off "PCI slot #%d - powering off due to button press.\n" 388 #define msg_button_cancel "PCI slot #%d - action canceled due to button press.\n" 389 #define msg_button_ignore "PCI slot #%d - button press ignored. (action in progress...)\n" 448 return hotplug_slot_name(&slot->hotplug_slot); in slot_name() 459 * Puts node back in the resource list pointed to by head [all …]
|
H A D | pnv_php.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #include <asm/pnv-pci.h> 17 #include <asm/ppc-pci.h> 24 ((sl)->pdev ? pci_warn((sl)->pdev, x) : dev_warn(&(sl)->bus->dev, x)) 42 struct pci_dev *pdev = php_slot->pdev; in pnv_php_disable_irq() 45 if (php_slot->irq > 0) { in pnv_php_disable_irq() 52 free_irq(php_slot->irq, php_slot); in pnv_php_disable_irq() 53 php_slot->irq = 0; in pnv_php_disable_irq() 56 if (php_slot->wq) { in pnv_php_disable_irq() 57 destroy_workqueue(php_slot->wq); in pnv_php_disable_irq() [all …]
|
/linux/drivers/platform/x86/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 23 This driver adds support for the ACPI-WMI (Windows Management 26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the 27 ACPI firmware to userspace - this is done through various vendor 38 any ACPI-WMI devices. 45 Say Y here if you want to be able to read a firmware-embedded 50 be called wmi-bmof. 63 control, fn-lock, mic-mute LED, and other extra features. 66 will be called huawei-wmi. [all …]
|
/linux/drivers/soundwire/ |
H A D | intel.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 2 // Copyright(c) 2015-17 Intel Corporation. 33 timeout--; in intel_wait_bit() 37 return -EAGAIN; in intel_wait_bit() 69 return scnprintf(buf + pos, RD_BUF - pos, "%4x\t%4x\n", reg, value); in intel_sprintf() 74 struct sdw_intel *sdw = s_file->private; in intel_reg_show() 75 void __iomem *s = sdw->link_res->shim; in intel_reg_show() 76 void __iomem *a = sdw->link_res->alh; in intel_reg_show() 83 return -ENOMEM; in intel_reg_show() 88 ret += scnprintf(buf + ret, RD_BUF - ret, "\nShim\n"); in intel_reg_show() [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-csr.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 14 * low power states due to driver-invoked device resets 15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 30 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 37 #define CSR_FUNC_SCRATCH (CSR_BASE+0x02c) /* Scratch register - used for FW dbg */ 45 * 31-16: Reserved 46 * 15-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions 47 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D [all …]
|
/linux/include/drm/display/ |
H A D | drm_dp_helper.h | 75 * struct drm_dp_vsc_sdp - drm DP VSC SDP 78 * It is based on DP 1.4 spec [Table 2-116: VSC SDP Header Bytes] and 79 * [Table 2-117: VSC SDP Payload for DB16 through DB18] 81 * @sdp_type: secondary-data packet type 88 * @content_type: CTA-861-G defines content types and expected processing by a sink device 102 * struct drm_dp_as_sdp - drm DP Adaptive Sync SDP 105 * It is based on DP 2.1 spec [Table 2-126: Adaptive-Sync SDP Header Bytes] and 106 * [Table 2-127: Adaptive-Sync SDP Payload for DB0 through DB8] 108 * @sdp_type: Secondary-data packet type 210 return dsc_dpcd[DP_DSC_SUPPORT - DP_DSC_SUPPORT] & in drm_dp_sink_supports_dsc() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-thunderbolt | 29 de-authorization of devices. Value of 1 means user can 30 de-authorize PCIe tunnel by writing 0 to authorized 78 0 The device will be de-authorized (only supported if 87 0 The device will be de-authorized (only supported if 202 -ENODATA instead as the NVM version is not available. 208 Description: When new NVM image is written to the non-active NVM 218 - Writing "1" will flush the image to the storage 220 - Writing "2" will run some basic validation on the image 222 - Writing "3" will authenticate the image that is 241 - Writing "1" will flush the image to the storage [all …]
|
/linux/Documentation/devicetree/bindings/cpu/ |
H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
H A D | dcn10_link_encoder.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 37 enc10->base.ctx 39 enc10->base.ctx->logger 42 (enc10->link_regs->reg) 46 enc10->link_shift->field_name, enc10->link_mask->field_name 52 * ASIC-dependent, actual values for register programming 98 struct dc_bios *bp = enc10->base.ctx->dc_bios; in link_transmitter_control() 100 result = bp->funcs->transmitter_control(bp, cntl); in link_transmitter_control() 109 /* This register resides in DP back end block; in enable_phy_bypass_mode() 120 /* This register resides in DP back end block; in disable_prbs_symbols() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
H A D | dcn31_hwseq.c | 59 hws->ctx 61 hws->regs->reg 63 dc->ctx->logger 68 hws->shifts->field_name, hws->masks->field_name 72 struct dce_hwseq *hws = dc->hwseq; in enable_memory_low_power() 75 if (dc->debug.enable_mem_low_power.bits.dmcu) { in enable_memory_low_power() 77 if (dc->debug.disable_dmcu || dc->config.disable_dmcu) { in enable_memory_low_power() 83 if (dc->debug.enable_mem_low_power.bits.optc) { in enable_memory_low_power() 88 if (dc->debug.enable_mem_low_power.bits.vga) { in enable_memory_low_power() 93 if (dc->debug.enable_mem_low_power.bits.mpc && in enable_memory_low_power() [all …]
|