/linux/Documentation/devicetree/bindings/net/ |
H A D | smsc,lan9115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: ethernet-controller.yaml# 18 - const: smsc,lan9115 19 - items: 20 - enum: 21 - smsc,lan89218 [all …]
|
/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | microchip,ksz.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Woojung Huh <Woojung.Huh@microchip.com> 14 - $ref: /schemas/spi/spi-peripheral-props.yaml# 21 - microchip,ksz8765 22 - microchip,ksz8794 23 - microchip,ksz8795 24 - microchip,ksz8863 [all …]
|
/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-t [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/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" 102 * All MSI-X IRQs and secondary MSI IRQs should be synced here. 108 if (hcd->msix_enabled) { in xhci_msix_sync_irqs() 109 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_msix_sync_irqs() 120 struct pci_dev *pdev = to_pci_dev(hcd->self.controller); in xhci_cleanup_msix() 122 if (hcd->irq > 0) in xhci_cleanup_msix() 127 hcd->msix_enabled = 0; in xhci_cleanup_msix() 130 /* Try enabling MSI-X with MSI and legacy IRQ as fallback */ [all …]
|
/linux/Documentation/power/ |
H A D | runtime_pm.rst | 5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 put their PM-related work items. It is strongly recommended that pm_wq be 20 them to be synchronized with system-wide power transitions (suspend to RAM, 53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks 57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain, 60 2. Device type of the device, if both dev->type and dev->type->pm are present. 62 3. Device class of the device, if both dev->class and dev->class->pm are 65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present. 69 dev->driver->pm directly (if present). 72 priority order of callbacks from high to low is: PM domain, device type, class [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/net/dsa/microchip/ |
H A D | ksz_common.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017-2024 Microchip Technology Inc. 14 #include <linux/platform_data/microchip-ksz.h> 205 * struct ksz_drive_strength - drive strength mapping 214 /* ksz9477_drive_strengths - Drive strength mapping for KSZ9477 variants 222 * - for high speed signals 232 * - for low speed signals 249 /* ksz88x3_drive_strengths - Drive strength mapping for KSZ8863, KSZ8873, .. 1378 * port map is NOT continuous. The per-port register 1950 if (chip->chip_id == prod_num) in ksz_lookup_info() [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/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/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 | 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 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [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/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/sound/pci/ |
H A D | cs4281.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 29 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ 119 #define BA0_DMR_SIZE20 (1<<20) /* Sample is 20-bit */ 123 #define BA0_DMR_SIZE8 (1<<16) /* Sample is 8-bit */ 129 #define BA0_DMR_AUTO (1<<4) /* Auto-Initialize */ 189 #define BA0_SPMC_GIPPEN (1<<15) /* GP INT Primary PME# Enable */ 190 #define BA0_SPMC_GISPEN (1<<14) /* GP INT Secondary PME# Enable */ 214 #define BA0_SLT12O 0x041c /* Slot 12 GPIO Output Register for AC-Link */ 218 #define BA0_SERMC_ODSEN2 (1<<25) /* On-Demand Support Enable ASDIN2 */ 219 #define BA0_SERMC_ODSEN1 (1<<24) /* On-Demand Support Enable ASDIN1 */ [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 74 * For eDP, after power-up/power/down, 84 hws->ctx 87 ctx->logger 89 struct dc_context *ctx = dc->ctx 92 hws->regs->reg 96 hws->shifts->field_name, hws->masks->field_name 104 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 107 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 110 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 113 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL), [all …]
|
/linux/drivers/net/ethernet/intel/ |
H A D | e100.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 26 * LAN-On-Motherboard (LOM), CardBus, MiniPCI, and ICHx 27 * configurations. 8255x supports a 32-bit linear addressing 32 * Memory-mapped mode is used exclusively to access the device's 33 * shared-memory structure, the Control/Status Registers (CSR). All 39 * 8255x is highly MII-compliant and all access to the PHY go 41 * driver leverages the mii.c library shared with other MII-compliant 44 * Big- and Little-Endian byte order as well as 32- and 64-bit 45 * archs are supported. Weak-ordered memory and non-cache-coherent [all …]
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atl2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright(c) 2006 - 2007 Atheros Corporation. All rights reserved. 4 * Copyright(c) 2007 - 2008 Chris Snook <csnook@redhat.com> 7 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 12 #include <linux/dma-mapping.h> 47 * atl2_pci_tbl - PCI Device ID Table 59 * atl2_sw_init - Initialize general software structures (struct atl2_adapter) 68 struct atl2_hw *hw = &adapter->hw; in atl2_sw_init() 69 struct pci_dev *pdev = adapter->pdev; in atl2_sw_init() 72 hw->vendor_id = pdev->vendor; in atl2_sw_init() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 28 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[BEACON_QUEUE]; in _rtl8821ae_return_beacon_queue_skb() 33 spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags); in _rtl8821ae_return_beacon_queue_skb() 34 while (skb_queue_len(&ring->queue)) { in _rtl8821ae_return_beacon_queue_skb() 35 struct rtl_tx_desc *entry = &ring->desc[ring->idx]; in _rtl8821ae_return_beacon_queue_skb() 36 struct sk_buff *skb = __skb_dequeue(&ring->queue); in _rtl8821ae_return_beacon_queue_skb() 38 dma_unmap_single(&rtlpci->pdev->dev, in _rtl8821ae_return_beacon_queue_skb() 39 rtlpriv->cfg->ops->get_desc(hw, (u8 *)entry, in _rtl8821ae_return_beacon_queue_skb() 41 skb->len, DMA_TO_DEVICE); in _rtl8821ae_return_beacon_queue_skb() [all …]
|