| /linux/drivers/net/ethernet/asix/ |
| H A D | ax88796c_main.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 21 #define TX_QUEUE_HIGH_WATER 45 /* Tx queue high water mark */ 186 #define WFCR_PMEIND BIT(0) /* PME indication */ 187 #define WFCR_PMETYPE BIT(1) /* PME I/O type */ 188 #define WFCR_PMEPOL BIT(2) /* PME polarity */ 189 #define WFCR_PMERST BIT(3) /* Reset PME */ 197 #define WFCR_PMEEN BIT(11) /* Enable PME pin */ 201 #define WFCR_PMES BIT(15) /* PME pin status */ 217 /* Active high */ 219 /* Active low */ [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | earlyprintk.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 Mini-HOWTO for using the earlyprintk=dbgp boot option with a 13 [host/target] <-------> [USB debug key] <-------> [client/console] 21 the lspci -vvv output:: 23 # lspci -vvv 25 …roller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03) (prog-if 20 [EHCI]) 27 …Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisIN… 28 …Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- I… 31 Region 0: Memory at fe227000 (32-bit, non-prefetchable) [size=1K] 33 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+) [all …]
|
| /linux/include/uapi/linux/ |
| H A D | pci_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz> 25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of 26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of 50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */ 59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */ 71 #define PCI_CLASS_REVISION 0x08 /* High 24 bits are class, low 8 revision */ 83 #define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */ 124 /* 0x35-0x3b are reserved */ 130 /* Header type 1 (PCI-to-PCI bridges) */ [all …]
|
| /linux/drivers/net/ethernet/broadcom/ |
| H A D | b44.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define DEVCTRL_MPM 0x00000040 /* Magic Packet PME Enable (B0 only) */ 17 #define B44_BIST_STAT 0x000CUL /* Built-In Self-Test Status */ 79 #define B44_DMATX_STAT 0x020CUL /* DMA TX Current Active Desc. + Status */ 83 #define DMATX_STAT_SACTIVE 0x00001000 /* State Active */ 100 #define B44_DMARX_STAT 0x021CUL /* DMA RX Current Active Desc. + Status */ 104 #define DMARX_STAT_SACTIVE 0x00001000 /* State Active */ 125 #define B44_DMAFIFO_HI 0x0228UL /* DMA FIFO Diag High Data */ 163 #define B44_CAM_DATA_HI 0x0424UL /* EMAC CAM Data High */ 232 #define B44_RX_NPAUSE 0x05D8UL /* MIB RX Non-Pause Packets */ [all …]
|
| /linux/arch/x86/pci/ |
| H A D | fixup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Exceptions for specific devices. Usually work-arounds for fatal design flaws. 19 * i450NX -- Find and scan all secondary buses on all PXB's. in pci_fixup_i450nx() 24 dev_warn(&d->dev, "Searching for i450NX host bridges\n"); in pci_fixup_i450nx() 30 dev_dbg(&d->dev, "i450NX PXB %d: %02x/%02x/%02x\n", pxb, busno, in pci_fixup_i450nx() 37 pcibios_last_bus = -1; in pci_fixup_i450nx() 44 * i450GX and i450KX -- Find and scan all secondary buses. in pci_fixup_i450gx() 49 dev_info(&d->dev, "i440KX/GX host bridge; secondary bus %02x\n", busno); in pci_fixup_i450gx() 51 pcibios_last_bus = -1; in pci_fixup_i450gx() 63 dev_warn(&d->dev, "Fixing base address flags\n"); in pci_fixup_umc_ide() [all …]
|
| /linux/drivers/pci/controller/ |
| H A D | pci-aardvark.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/irqchip/irq-msi-lib.h> 21 #include <linux/pci-ecam.h> 30 #include "../pci-bridge-emul.h" 140 #define OB_WIN_DEFAULT_ACTIONS (OB_WIN_ACTIONS(OB_WIN_COUNT-1) + 0x4) 294 writel(val, pcie->base + reg); in advk_writel() 299 return readl(pcie->base + reg); in advk_readl() 314 /* check if LTSSM is in normal operation - some L* state */ in advk_pcie_link_up() 322 * According to PCIe Base specification 3.0, Table 4-14: Link in advk_pcie_link_active() 327 * reported in DL Active state. in advk_pcie_link_active() [all …]
|
| H A D | pci-mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 27 #include "../pci-bridge-emul.h" 40 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + (((n) - 1) * 4)) 130 writel(val, port->base + reg); in mvebu_writel() 135 return readl(port->base + reg); in mvebu_readl() 140 return port->io_target != -1 && port->io_attr != -1; in mvebu_has_ioport() 199 * BAR[0] -> internal registers (needed for MSI) 200 * BAR[1] -> covers all DRAM banks 201 * BAR[2] -> Disabled [all …]
|
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8060-dragonboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/leds/common.h> 5 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 6 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 7 #include "qcom-msm8660.dtsi" 12 compatible = "qcom,apq8060-dragonboard", "qcom,msm8660"; 19 stdout-path = "serial0:115200n8"; 23 vph: regulator-fixed { [all …]
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | natsemi.c | 3 Written/copyright 1999-2001 by Donald Becker. 23 [link no longer provides useful info -jgarzik] 62 /* Updated to recommendations in pci-skeleton v2.03. */ 64 /* The user-configurable values. 72 static int debug = -1; 76 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast). 80 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 101 There are no ill effects from too-large receive rings. */ 121 * The nic writes 32-bit values, even if the upper bytes of 122 * a 32-bit value are beyond the end of the buffer. [all …]
|
| /linux/drivers/usb/host/ |
| H A D | xhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include "xhci-trace.h" 20 #include "xhci-pci.h" 114 * All MSI-X IRQs and secondary MSI IRQs should be synced here. 120 if (hcd->msix_enabled) { in xhci_msix_sync_irqs() 121 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_msix_sync_irqs() 132 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_cleanup_msix() 134 if (hcd->irq > 0) in xhci_cleanup_msix() 139 hcd->msix_enabled = 0; in xhci_cleanup_msix() 142 /* Try enabling MSI-X with MSI and legacy IRQ as fallback */ [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 47 #define BRCMF_STA_DWDS 0x02000000 /* DWDS active */ 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 100 /* Wakeind via PME(0) or GPIO(1): */ 255 * struct tdls_iovar - common structure for tdls iovars. 375 __le32 nprobes; /* -1 use default, number of probes per channel */ 376 __le32 active_time; /* -1 use default, dwell time per channel for 377 * active scanning [all …]
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 302 #define E1000_IAMT_SIGNATURE 0x544D4149 /* Intel(R) Active Management Technology signatu… 422 /* MAC decode size is 128K - This is the size of BAR0 */ 443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) 483 /* Number of high/low register pairs in the RAR. The RAR (Receive Address 486 * E1000_RAR_ENTRIES - 1 multicast addresses. 503 /* Receive Descriptor - Extended */ 529 /* Receive Descriptor - Packet Split */ 553 __le16 length[3]; /* length of buffers 1-3 */ [all …]
|
| /linux/drivers/hwmon/ |
| H A D | it87.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * it87.c - Part of lm_sensors, Linux kernel modules for hardware 6 * The IT8705F is an LPC-based Super I/O part that contains UARTs, a 41 * Copyright (C) 2005-2010 Jean Delvare <jdelvare@suse.de> 53 #include <linux/hwmon-sysfs.h> 54 #include <linux/hwmon-vid.h> 75 #define PME 0x04 /* The device with the fan registers in it */ macro 126 return -EBUSY; in superio_enter() 212 /*----- The IT87 registers -----*/ 222 * Super-I/O configuration space. [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_stats.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 49 return !priv->profile->stats_grps_num ? 0 : in stats_grps_num() 50 priv->profile->stats_grps_num(priv); in stats_grps_num() 55 mlx5e_stats_grp_t *stats_grps = priv->profile->stats_grps; in mlx5e_stats_total_num() 61 total += stats_grps[i]->get_num_stats(priv); in mlx5e_stats_total_num() 68 mlx5e_stats_grp_t *stats_grps = priv->profile->stats_grps; in mlx5e_stats_update_ndo_stats() 72 for (i = num_stats_grps - 1; i >= 0; i--) in mlx5e_stats_update_ndo_stats() 73 if (stats_grps[i]->update_stats && in mlx5e_stats_update_ndo_stats() 74 stats_grps[i]->update_stats_mask & MLX5E_NDO_UPDATE_STATS) in mlx5e_stats_update_ndo_stats() [all …]
|
| /linux/drivers/media/rc/ |
| H A D | nuvoton-cir.c | 2 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR 32 #include <media/rc-core.h> 35 #include "nuvoton-cir.h" 48 return nvt->rdev->dev.parent; in nvt_get_dev() 53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg() 59 outb(reg, nvt->cr_efir); in nvt_cr_write() 60 outb(val, nvt->cr_efdr); in nvt_cr_write() 66 outb(reg, nvt->cr_efir); in nvt_cr_read() 67 return inb(nvt->cr_efdr); in nvt_cr_read() 80 if (!request_muxed_region(nvt->cr_efir, 2, NVT_DRIVER_NAME)) in nvt_efm_enable() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017-2025 Microchip Technology Inc. 14 #include <linux/platform_data/microchip-ksz.h> 206 * struct ksz_drive_strength - drive strength mapping 215 /* ksz9477_drive_strengths - Drive strength mapping for KSZ9477 variants 223 * - for high speed signals 233 * - for low speed signals 250 /* ksz88x3_drive_strengths - Drive strength mapping for KSZ8863, KSZ8873, .. 270 * ksz_phylink_mac_disable_tx_lpi() - Callback to signal LPI support (Dummy) 281 * ksz_phylink_mac_enable_tx_lpi() - Callback to signal LPI support (Dummy) [all …]
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */ [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 13 #define E1000_WUC_PME_EN 0x00000002 /* PME Enable */ 62 /* Interrupt acknowledge Auto-mask */ 118 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */ 119 #define E1000_MANC_ASF_EN 0x00000002 /* ASF Enabled - RO */ 184 #define E1000_CTRL_ASDE 0x00000020 /* Auto-speed detect enable */ 186 #define E1000_CTRL_ILOS 0x00000080 /* Invert Loss-Of Signal */ 254 /* Constants used to intrepret the masked PCI-X bus speed. */ 271 /* 1000/H is not supported, nor spec-compliant. */ [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 39 Documentation/arch/m68k/kernel-options.rst. 49 PARISC The PA-RISC architecture is enabled. 64 the Documentation/scsi/ sub-directory. 83 X86-32 X86-32, aka i386 architecture is enabled. 84 X86-64 X86-64 architecture is enabled. 85 X86 Either 32-bit or 64-bit x86 (same as X86-32+X86-64) 94 KNL Is a kernel start-up parameter. 114 force -- enable ACPI if default was off 115 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 116 off -- disable ACPI if default was on [all …]
|
| /linux/drivers/net/ethernet/realtek/ |
| H A D | 8139cp.c | 3 Copyright 2001-2004 Jeff Garzik <jgarzik@pobox.com> 8 Copyright 1999-2001 by Donald Becker. [natsemi.c] 9 Written 1997-2001 by Donald Becker. [8139too.c] 10 Copyright 1998-2001 by Jes Sorensen, <jes@trained-monkey.org>. [acenic.c] 23 Wake-on-LAN support - Felipe Damasio <felipewd@terra.com.br> 24 PCI suspend/resume - Felipe Damasio <felipewd@terra.com.br> 25 LinkChg interrupt - Felipe Damasio <felipewd@terra.com.br> 33 * Investigate using skb->priority with h/w VLAN priority 34 * Investigate using High Priority Tx Queue with skb->priority 65 #include <linux/dma-mapping.h> [all …]
|
| /linux/drivers/pci/ |
| H A D | pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 37 * "T_PERST-CLK". 42 * PCIe r6.0, sec 5.3.3.2.1 <PME Synchronization> 50 * - "With a Downstream Port that does not support Link speeds greater 55 * - "With a Downstream Port that supports Link speeds greater than 102 * PCI_FIND_NEXT_CAP - Find a PCI standard capability 109 * Implements TTL (time-to-live) protection against infinite loops. 122 while (__ttl--) { \ 145 * PCI_FIND_NEXT_EXT_CAP - Find a PCI extended capability 164 __ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; \ [all …]
|
| H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 59 * link layer never reaches the active state, with link training reported 60 * repeatedly active ~84% of the time. Forcing the target link speed to 67 * Link Active status bit and in the failed link training scenario it will 73 * at least the active status. 78 * support Link Active reporting and have the Link Control 2 register. [all …]
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 14 * atl1e_pci_tbl - PCI Device ID Table 76 * atl1e_irq_enable - Enable default interrupt generation settings 81 if (likely(atomic_dec_and_test(&adapter->irq_sem))) { in atl1e_irq_enable() 82 AT_WRITE_REG(&adapter->hw, REG_ISR, 0); in atl1e_irq_enable() 83 AT_WRITE_REG(&adapter->hw, REG_IMR, IMR_NORMAL_MASK); in atl1e_irq_enable() 84 AT_WRITE_FLUSH(&adapter->hw); in atl1e_irq_enable() 89 * atl1e_irq_disable - Mask off interrupt generation on the NIC 94 atomic_inc(&adapter->irq_sem); in atl1e_irq_disable() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 75 * For eDP, after power-up/power/down, 85 hws->ctx 88 ctx->logger 90 struct dc_context *ctx = dc->ctx 93 hws->regs->reg 97 hws->shifts->field_name, hws->masks->field_name 105 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 108 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 111 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 114 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL), [all …]
|
| /linux/drivers/net/ethernet/via/ |
| H A D | via-rhine.c | 1 /* via-rhine.c: A Linux Ethernet device driver for VIA Rhine family chips. */ 3 Written 1998-2001 by Donald Becker. 14 This driver is designed for the VIA VT86C100A Rhine-I. 15 It also works with the Rhine-II (6102) and Rhine-III (6105/6105L/6105LOM 27 http://www.scyld.com/network/via-rhine.html 28 [link no longer provides useful info -jgarzik] 34 #define DRV_NAME "via-rhine" 38 /* A few user-configurable values. 44 /* Set the copy breakpoint for the copy-only-tiny-frames scheme. 54 /* Work-around for broken BIOSes: they are unable to get the chip back out of [all …]
|