/linux/tools/power/pm-graph/ |
H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html 22 # Source repo 23 # git@github.com:intel/pm-graph 27 # their linux stack's suspend/resume time. Using a kernel image built 32 # time in suspend/resume. The output is a single html file which can be 51 # ----------------- LIBRARIES -------------------- 54 import time 71 mystarttime = time.time() 74 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) [all …]
|
/linux/Documentation/networking/ |
H A D | can.rst | 2 SocketCAN - Controller Area Network 20 .. _socketcan-motivation: 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 35 open the device at a time, similar to a serial interface. Exchanging 47 protocol family module and also vice-versa. Also, the protocol family 52 protocol module. Multiple sockets can be opened at the same time, 57 communicate using a specific transport protocol, e.g. ISO-TP, just 60 CAN-IDs, frames, etc. [all …]
|
/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 431 …ble to both memory and engine clock change,when set, it means this is 1st time to change clock aft… 438 …ble to both memory and engine clock change,when set, it means this is 1st time to change clock aft… 504 …UCHAR ucInputFlag; //Input Flags. ucInputFlag[0] - Strobe(1)/Performance(0)… 536 #define ATOM_PLL_INPUT_FLAG_PLL_STROBE_MODE_EN 1 // 1-StrobeMode, 0-PerformanceMode 544 …bDiv; //Output:UPPER_WORD=FB_DIV_INTEGER, LOWER_WORD=FB_DIV_FRAC shl (16-FB_FRACTION_BITS) [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 461 …ble to both memory and engine clock change,when set, it means this is 1st time to change clock aft… [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt61pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 34 * Default offset is required for RSSI <-> dBm conversion. 85 * MCU_INT_SOURCE_CSR: MCU interrupt source/mask register. 100 * MCU_INT_MASK_CSR: MCU interrupt source/mask register. 121 * 16 entries 32-byte for shared key table 122 * 64 entries 32-byte for pairwise key table 123 * 64 entries 8-byte for pairwise ta key table 152 * Other on-chip shared memory space. 164 * On-chip BEACON frame space. [all …]
|
H A D | rt2800.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 283 * AUX_CTRL: Aux/PCI-E related configuration 296 * INT_SOURCE_CSR: Interrupt source register. 321 * INT_MASK_CSR: Interrupt MASK register. 1: the interrupt is mask OFF. 573 * HOST-MCU shared memory 751 * Used to mask off bits from byte 5 of the MAC address 773 * 0: 1-BSSID mode (BSS index = 0) 774 * 1: 2-BSSID mode (BSS index: Byte5, bit 0) 775 * 2: 4-BSSID mode (BSS index: byte5, bit 0 - 1) [all …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 14 Format: { force | on | off | strict | noirq | rsdt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 26 source to check if firmware has set the FF flag. This [all …]
|
/linux/include/net/ |
H A D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 201 1936 bool ps; global() member [all...] |
H A D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2025 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 167 * struct ieee80211_channel - channe 1190 u64 time; global() member 6490 bool ps; global() member [all...] |
/linux/Documentation/admin-guide/media/ |
H A D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
/linux/include/uapi/linux/ |
H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2025 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 78 * time mark it authorized. 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interfac [all...] |
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8395-genio-1200-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 16 #include <dt-bindings/spmi/spmi.h> 17 #include <dt-bindings/usb/pd.h> 20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC"; [all …]
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2015-2017 Google, Inc 213 VDM_STATE_ERR_BUSY = -3, 214 VDM_STATE_ERR_SEND = -2, 215 VDM_STATE_ERR_TMOUT = -1, 243 * Initial current capability of the new source when vSafe5V is applied during PD3.0 Fast Role Swap. 244 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0, 329 * @sink_wait_cap_time: Deadline (in ms) for tTypeCSinkWaitCap timer 330 * @ps_src_wait_off_time: Deadline (in ms) for tPSSourceOff timer 331 * @cc_debounce_time: Deadline (in ms) for tCCDebounce timer [all …]
|
/linux/drivers/block/drbd/ |
H A D | drbd_receiver.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 73 /* GFP_TRY, because we must not cause arbitrary write-out: in a DRBD in __drbd_alloc_pages() 74 * "criss-cross" setup, that might cause write-out on some other DRBD, in __drbd_alloc_pages() 93 * drbd_alloc_pages() - Returns @number pages, retries forever (or until signalled) 105 * We do not use max-buffers as hard limit, because it could lead to 106 * congestion and further to a distributed deadlock during online-verify or 107 * (checksum based) resync, if the max-buffers, socket buffer sizes and [all …]
|
/linux/arch/x86/kernel/ |
H A D | apm_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- 4 * Copyright 1994-2001 Stephen Rothwell (sfr@canb.auug.org.au) 16 * (Thanks to Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de>) 43 * 1.1: support user-space standby and suspend, power off after system 45 * 1.2: When resetting RTC after resume, take care so that the time 46 * is only incorrect by 30-60mS (vs. 1S previously) (Gabor J. Toth 48 * screen-blanking and gpm (Stephen Rothwell); Linux 1.99.4 61 * Only try to turn off the first display device. 62 * Fix OOPS at power off with no APM BIOS by Jan Echternach [all …]
|
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 * Copyright (c) 2001-2005 Greg Ungerer (gerg@snapgear.com) 20 * Copyright (c) 2004-2006 Macq Electronique SA. 22 * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 92 #define FEC_MDIO_PM_TIMEOUT 100 /* ms */ 194 { .compatible = "fsl,imx25-fec", .data = &fec_imx25_info, }, 195 { .compatible = "fsl,imx27-fec", .data = &fec_imx27_info, }, 196 { .compatible = "fsl,imx28-fec", .data = &fec_imx28_info, }, 197 { .compatible = "fsl,imx6q-fec", .data = &fec_imx6q_info, }, 198 { .compatible = "fsl,mvf600-fec", .data = &fec_mvf600_info, }, [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 19 #include <linux/dma-mapping.h> 39 return -ETIMEDOUT; in _il_poll_bit() 48 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_set_bit() 50 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_set_bit() 59 spin_lock_irqsave(&p->reg_lock, reg_flags); in il_clear_bit() 61 spin_unlock_irqrestore(&p->reg_lock, reg_flags); in il_clear_bit() 79 * to/from host DRAM when sleeping/waking for power-saving. in _il_grab_nic_access() [all …]
|
/linux/net/mac80211/ |
H A D | mlme.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2003-2008, Jouni Malinen <j@w1.fi> 7 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 9 * Copyright 2013-2014 Intel Mobile Communications GmbH 10 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 11 * Copyright (C) 2018 - 2025 Intel Corporation 29 #include "driver-ops.h" 77 * Time the connection can be idle before we probe 82 * Time we wait for a probe response after sending 89 "Maximum time(ms) to wait for probe response" [all …]
|
/linux/drivers/nvme/host/ |
H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2011-2014, Intel Corporation. 9 #include <linux/blk-mq.h> 10 #include <linux/blk-integrity.h> 17 #include <linux/backing-dev.h> 29 #include <linux/nvme-auth.h> 76 MODULE_PARM_DESC(force_apst, "allow APST for newly enumerated devices even if quirked off"); 81 "primary APST timeout in ms"); 86 "secondary APST timeout in ms"); 110 * nvme_wq - hosts nvme related works that are not reset or delete [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 9 #include "../ps.h" 27 *((u32 *) (val)) = rtlpci->receive_config; in rtl92se_get_hw_reg() 31 *((enum rf_pwrstate *)(val)) = ppsc->rfpwr_state; in rtl92se_get_hw_reg() 35 *((bool *) (val)) = ppsc->fw_current_inpsmode; in rtl92se_get_hw_reg() 51 *((bool *)(val)) = rtlpriv->dm.current_mrc_switch; in rtl92se_get_hw_reg() 81 if (rtlhal->version == VERSION_8192S_ACUT) in rtl92se_set_hw_reg() 120 rtlpriv->cfg->ops->set_hw_reg(hw, in rtl92se_set_hw_reg() 129 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg() [all …]
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Realtek SMI subdriver for the Realtek RTL8365MB-VC ethernet switch. 4 * Copyright (C) 2021 Alvin Šipraga <alsi@bang-olufsen.dk> 5 * Copyright (C) 2021 Michael Rasmussen <mir@bang-olufsen.dk> 7 * The RTL8365MB-VC is a 4+1 port 10/100/1000M switch controller. It includes 4 9 * can be connected to the CPU - or another PHY - via either MII, RMII, or 15 * .-----------------------------------. 17 * UTP <---------------> Giga PHY <-> PCS <-> P0 GMAC | 18 * UTP <---------------> Giga PHY <-> PCS <-> P1 GMAC | 19 * UTP <---------------> Giga PHY <-> PCS <-> P2 GMAC | [all …]
|
/linux/drivers/net/ethernet/xircom/ |
H A D | xirc2ps_cs.c | 3 * Xircom Realport 10/100 (RE-100) driver 6 * including the CE2, CE IIps, RE-10, CEM28, CEM33, CE33, CEM56, 7 * CE3-100, CE3B, RE-100, REM10BT, and REM56G-100. 9 * 2000-09-24 <psheer@icon.co.za> The Xircom CE3B-100 may not 37 * the restrictions contained in a BSD-style copyright.) 39 * Redistribution and use in source and binary forms, with or without 42 * 1. Redistributions of source code must retain the above copyright 100 /* Time in jiffies before concluding Tx hung */ 160 DisableAutoTx = 0x40, /* disable auto-transmit */ 164 /* values for the leds: Bits 2-0 for led 1 [all …]
|
/linux/drivers/pci/ |
H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 1993 -- 1997 Drew Eckhardt, Frederic Potter, 6 * David Mosberger-Tang 8 * Copyright 1997 -- 2000 Martin Mares <mj@ucw.cz> 82 unsigned int delay_ms = max(dev->d3hot_delay, pci_pm_d3hot_delay); in pci_dev_d3_sleep() 86 /* Use a 20% upper bound, 1ms minimum */ in pci_dev_d3_sleep() 95 return dev->reset_methods[0] != 0; in pci_reset_supported() 114 * pci=hpmmiosize=nnM overrides non-prefetchable MMIO size, 125 /* PCIe MPS/MRRS strategy; can be overridden by kernel command-line param */ 142 * measured in 32-bit words, not bytes. [all …]
|
/linux/sound/usb/ |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 int probed_ifnum = get_iface_desc(iface->altsetting)->bInterfaceNumber; in create_composite_quirk() 42 for (quirk = quirk_comp->data; quirk->ifnum >= 0; ++quirk) { in create_composite_quirk() 43 iface = usb_ifnum_to_if(chip->de in create_composite_quirk() [all...] |
/linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
H A D | tx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2003-2014, 2018-2021, 2023-2025 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 19 #include "iwl-fh.h" 20 #include "iwl-debug.h" 21 #include "iwl-csr.h" 22 #include "iwl-prph.h" 23 #include "iwl-io.h" 24 #include "iwl-scd.h" [all …]
|