| /kernel/linux/linux-6.6/drivers/net/ethernet/amd/ |
| D | a2065.h | 4 * (C) Copyright 1995 by Geert Uytterhoeven <geert@linux-m68k.org> 6 * --------------------------------------------------------------------------- 15 * Written 1993-94 by Donald Becker. 17 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 21 * --------------------------------------------------------------------------- 27 * --------------------------------------------------------------------------- 29 * The A2065 is a Zorro-II board made by Commodore/Ameristar. It contains: 31 * - an Am7990 Local Area Network Controller for Ethernet (LANCE) with 32 * both 10BASE-2 (thin coax) and AUI (DB-15) connectors 62 #define LE_C0_CERR 0x2000 /* No Heartbeat (10BASE-T) */ [all …]
|
| D | 7990.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * 7990.h -- LANCE ethernet IC generic routines. 11 * in particular a2065.[ch]. The AMD C-LANCE datasheet was also helpful. 32 * too long (and overflow the RAM on shared-memory cards like the HP LANCE. 41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) 42 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) 74 volatile unsigned short mode; /* Pre-set mode (reg. 15) */ 84 /* The Tx and Rx ring entries must be aligned on 8-byte boundaries. 85 * This will be true if this whole struct is 8-byte aligned. 114 int auto_select; /* cable-selection is by carrier */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
| D | a2065.h | 4 * (C) Copyright 1995 by Geert Uytterhoeven <geert@linux-m68k.org> 6 * --------------------------------------------------------------------------- 15 * Written 1993-94 by Donald Becker. 17 * Am79C960: PCnet(tm)-ISA Single-Chip Ethernet Controller 21 * --------------------------------------------------------------------------- 27 * --------------------------------------------------------------------------- 29 * The A2065 is a Zorro-II board made by Commodore/Ameristar. It contains: 31 * - an Am7990 Local Area Network Controller for Ethernet (LANCE) with 32 * both 10BASE-2 (thin coax) and AUI (DB-15) connectors 62 #define LE_C0_CERR 0x2000 /* No Heartbeat (10BASE-T) */ [all …]
|
| D | 7990.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * 7990.h -- LANCE ethernet IC generic routines. 11 * in particular a2065.[ch]. The AMD C-LANCE datasheet was also helpful. 32 * too long (and overflow the RAM on shared-memory cards like the HP LANCE. 41 #define TX_RING_MOD_MASK (TX_RING_SIZE - 1) 42 #define RX_RING_MOD_MASK (RX_RING_SIZE - 1) 74 volatile unsigned short mode; /* Pre-set mode (reg. 15) */ 84 /* The Tx and Rx ring entries must be aligned on 8-byte boundaries. 85 * This will be true if this whole struct is 8-byte aligned. 114 int auto_select; /* cable-selection is by carrier */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/asix/ |
| D | ax88796c_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 lockdep_assert_held(&ax_local->spi_lock); in ax88796c_soft_reset() 46 AX_WRITE(&ax_local->ax_spi, PSR_RESET, P0_PSR); in ax88796c_soft_reset() 47 AX_WRITE(&ax_local->ax_spi, PSR_RESET_CLR, P0_PSR); in ax88796c_soft_reset() 52 &ax_local->ax_spi, P0_PSR); in ax88796c_soft_reset() 56 temp = AX_READ(&ax_local->ax_spi, P4_SPICR); in ax88796c_soft_reset() 57 if (ax_local->priv_flags & AX_CAP_COMP) { in ax88796c_soft_reset() 58 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset() 60 ax_local->ax_spi.comp = 1; in ax88796c_soft_reset() 62 AX_WRITE(&ax_local->ax_spi, in ax88796c_soft_reset() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) 19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3) [all …]
|
| /kernel/linux/linux-6.6/sound/pci/cs5535audio/ |
| D | cs5535audio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) 6 #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) 7 #define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) 8 #define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) 9 #define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) 34 #define EOP (1<<0) macro 118 /* disable Analog Input */ in olpc_capture_close() 120 /* disable the MIC Bias (so the recording LED turns off) */ in olpc_capture_close()
|
| /kernel/linux/linux-5.10/sound/pci/cs5535audio/ |
| D | cs5535audio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) 6 #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) 7 #define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) 8 #define cs_readw(cs5535au, reg) inw((cs5535au)->port + reg) 9 #define cs_readb(cs5535au, reg) inb((cs5535au)->port + reg) 34 #define EOP (1<<0) macro 118 /* disable Analog Input */ in olpc_capture_close() 120 /* disable the MIC Bias (so the recording LED turns off) */ in olpc_capture_close()
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/xilinx/ |
| D | ll_temac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <asm/dcr-regs.h> 125 * 29 2 EOP 191 * 29 2 EOP 241 #define XTE_RXC1_RXLT_MASK (1 << 25) /* Length/type check disable */ 317 * struct cdmac_bd - LocalLink buffer descriptor format 324 * 4 SOP TX - marks first desc/ RX marks first desct 325 * 5 EOP TX marks last desc/RX marks last desc 347 /* For non-device-tree devices */ 401 #define temac_ior(lp, o) ((lp)->temac_ior(lp, o)) [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/ |
| D | ll_temac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #include <asm/dcr-regs.h> 115 29 2 EOP 181 29 2 EOP 231 #define XTE_RXC1_RXLT_MASK (1 << 25) /* Length/type check disable */ 307 * struct cdmac_bd - LocalLink buffer descriptor format 314 * 4 SOP TX - marks first desc/ RX marks first desct 315 * 5 EOP TX marks last desc/RX marks last desc 337 /* For non-device-tree devices */ 391 #define temac_ior(lp, o) ((lp)->temac_ior(lp, o)) [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/altera/ |
| D | altera_sgdma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 56 priv->txctrlreg = SGDMA_CTRLREG_ILASTD | in sgdma_initialize() 59 priv->rxctrlreg = SGDMA_CTRLREG_IDESCRIP | in sgdma_initialize() 63 INIT_LIST_HEAD(&priv->txlisthd); in sgdma_initialize() 64 INIT_LIST_HEAD(&priv->rxlisthd); in sgdma_initialize() 66 priv->rxdescphys = (dma_addr_t) 0; in sgdma_initialize() 67 priv->txdescphys = (dma_addr_t) 0; in sgdma_initialize() 69 priv->rxdescphys = dma_map_single(priv->device, in sgdma_initialize() 70 (void __force *)priv->rx_dma_desc, in sgdma_initialize() 71 priv->rxdescmem, DMA_BIDIRECTIONAL); in sgdma_initialize() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/altera/ |
| D | altera_sgdma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 56 priv->txctrlreg = SGDMA_CTRLREG_ILASTD | in sgdma_initialize() 59 priv->rxctrlreg = SGDMA_CTRLREG_IDESCRIP | in sgdma_initialize() 63 INIT_LIST_HEAD(&priv->txlisthd); in sgdma_initialize() 64 INIT_LIST_HEAD(&priv->rxlisthd); in sgdma_initialize() 66 priv->rxdescphys = (dma_addr_t) 0; in sgdma_initialize() 67 priv->txdescphys = (dma_addr_t) 0; in sgdma_initialize() 69 priv->rxdescphys = dma_map_single(priv->device, in sgdma_initialize() 70 (void __force *)priv->rx_dma_desc, in sgdma_initialize() 71 priv->rxdescmem, DMA_BIDIRECTIONAL); in sgdma_initialize() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
| D | ixgb_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2008 Intel Corporation. */ 12 static const char ixgb_copyright[] = "Copyright (c) 1999-2008 Intel Corporation."; 20 /* ixgb_pci_tbl - PCI Device ID Table 105 static int debug = -1; 110 * ixgb_init_module - Driver Registration Routine 128 * ixgb_exit_module - Driver Exit Cleanup Routine 143 * ixgb_irq_disable - Mask off interrupt generation on the NIC 150 IXGB_WRITE_REG(&adapter->hw, IMC, ~0); in ixgb_irq_disable() 151 IXGB_WRITE_FLUSH(&adapter->hw); in ixgb_irq_disable() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/musb/ |
| D | cppi_dma.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2005-2006 by Texas Instruments 6 * For now it's DaVinci-only, but CPPI isn't specific to DaVinci or USB. 21 /* CPPI DMA status 7-mar-2006: 23 * - See musb_{host,gadget}.c for more info 25 * - Correct RX DMA generally forces the engine into irq-per-packet mode, 26 * which can easily saturate the CPU under non-mass-storage loads. 28 * NOTES 24-aug-2006 (2.6.18-rc4): 30 * - peripheral RXDMA wedged in a test with packets of length 512/512/1. 44 * more simply, switch to a global freelist not per-channel ones. [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/apple/ |
| D | bmac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mace.h - definitions for the registers in the "Big Mac" 17 #define XIFC 0x000 /* low-level interface control */ 19 # define XIFLoopback 0x0002 /* Loopback-mode XIF enable */ 20 # define MIILoopback 0x0004 /* Loopback-mode MII enable */ 22 # define MIIBuffDisable 0x0008 /* MII receive buffer disable */ 48 #define STATUS 0x200 /* status--reading this clears it */ 49 #define INTDISABLE 0x210 /* interrupt enable/disable control */ 53 # define RxAlignCntExp 0x00000004 /* Align-error counter expired */ 54 # define RxCRCCntExp 0x00000008 /* CRC-error counter expired */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/apple/ |
| D | bmac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mace.h - definitions for the registers in the "Big Mac" 17 #define XIFC 0x000 /* low-level interface control */ 19 # define XIFLoopback 0x0002 /* Loopback-mode XIF enable */ 20 # define MIILoopback 0x0004 /* Loopback-mode MII enable */ 22 # define MIIBuffDisable 0x0008 /* MII receive buffer disable */ 48 #define STATUS 0x200 /* status--reading this clears it */ 49 #define INTDISABLE 0x210 /* interrupt enable/disable control */ 53 # define RxAlignCntExp 0x00000004 /* Align-error counter expired */ 54 # define RxCRCCntExp 0x00000008 /* CRC-error counter expired */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| D | mes_v10_1.c | 46 struct amdgpu_device *adev = ring->adev; in mes_v10_1_ring_set_wptr() 48 if (ring->use_doorbell) { in mes_v10_1_ring_set_wptr() 49 atomic64_set((atomic64_t*)&adev->wb.wb[ring->wptr_offs], in mes_v10_1_ring_set_wptr() 50 ring->wptr); in mes_v10_1_ring_set_wptr() 51 WDOORBELL64(ring->doorbell_index, ring->wptr); in mes_v10_1_ring_set_wptr() 59 return ring->adev->wb.wb[ring->rptr_offs]; in mes_v10_1_ring_get_rptr() 66 if (ring->use_doorbell) in mes_v10_1_ring_get_wptr() 68 &ring->adev->wb.wb[ring->wptr_offs]); in mes_v10_1_ring_get_wptr() 91 struct amdgpu_device *adev = mes->adev; in mes_v10_1_submit_pkt_and_poll_completion() 92 struct amdgpu_ring *ring = &mes->ring; in mes_v10_1_submit_pkt_and_poll_completion() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| D | mes_v10_1.c | 51 struct amdgpu_device *adev = ring->adev; in mes_v10_1_ring_set_wptr() 53 if (ring->use_doorbell) { in mes_v10_1_ring_set_wptr() 54 atomic64_set((atomic64_t *)ring->wptr_cpu_addr, in mes_v10_1_ring_set_wptr() 55 ring->wptr); in mes_v10_1_ring_set_wptr() 56 WDOORBELL64(ring->doorbell_index, ring->wptr); in mes_v10_1_ring_set_wptr() 64 return *ring->rptr_cpu_addr; in mes_v10_1_ring_get_rptr() 71 if (ring->use_doorbell) in mes_v10_1_ring_get_wptr() 72 wptr = atomic64_read((atomic64_t *)ring->wptr_cpu_addr); in mes_v10_1_ring_get_wptr() 97 struct amdgpu_device *adev = mes->adev; in mes_v10_1_submit_pkt_and_poll_completion() 98 struct amdgpu_ring *ring = &mes->ring; in mes_v10_1_submit_pkt_and_poll_completion() [all …]
|
| D | mes_v11_0.c | 59 struct amdgpu_device *adev = ring->adev; in mes_v11_0_ring_set_wptr() 61 if (ring->use_doorbell) { in mes_v11_0_ring_set_wptr() 62 atomic64_set((atomic64_t *)ring->wptr_cpu_addr, in mes_v11_0_ring_set_wptr() 63 ring->wptr); in mes_v11_0_ring_set_wptr() 64 WDOORBELL64(ring->doorbell_index, ring->wptr); in mes_v11_0_ring_set_wptr() 72 return *ring->rptr_cpu_addr; in mes_v11_0_ring_get_rptr() 79 if (ring->use_doorbell) in mes_v11_0_ring_get_wptr() 80 wptr = atomic64_read((atomic64_t *)ring->wptr_cpu_addr); in mes_v11_0_ring_get_wptr() 105 struct amdgpu_device *adev = mes->adev; in mes_v11_0_submit_pkt_and_poll_completion() 106 struct amdgpu_ring *ring = &mes->ring; in mes_v11_0_submit_pkt_and_poll_completion() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
| D | sunhme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */ 39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */ 40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */ 42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */ 46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */ 47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */ 48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */ 49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */ 50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
| D | sunhme.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 #define GREG_STAT_ACNTEXP 0x00000004 /* Align-error counter expired */ 39 #define GREG_STAT_CCNTEXP 0x00000008 /* CRC-error counter expired */ 40 #define GREG_STAT_LCNTEXP 0x00000010 /* Length-error counter expired */ 42 #define GREG_STAT_CVCNTEXP 0x00000040 /* Code-violation counter expired */ 46 #define GREG_STAT_MAXPKTERR 0x00000400 /* Max-packet size error */ 47 #define GREG_STAT_NCNTEXP 0x00000800 /* Normal-collision counter expired */ 48 #define GREG_STAT_ECNTEXP 0x00001000 /* Excess-collision counter expired */ 49 #define GREG_STAT_LCCNTEXP 0x00002000 /* Late-collision counter expired */ 50 #define GREG_STAT_FCNTEXP 0x00004000 /* First-collision counter expired */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/ |
| D | e1000_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 13 static const char e1000_copyright[] = "Copyright (c) 1999-2006 Intel Corporation."; 15 /* e1000_pci_tbl - PCI Device ID Table 197 static int debug = -1; 202 * e1000_get_hw_dev - helper function for getting netdev 210 struct e1000_adapter *adapter = hw->back; in e1000_get_hw_dev() 211 return adapter->netdev; in e1000_get_hw_dev() 215 * e1000_init_module - Driver Registration Routine 241 * e1000_exit_module - Driver Exit Cleanup Routine [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/ |
| D | e1000_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 13 static const char e1000_copyright[] = "Copyright (c) 1999-2006 Intel Corporation."; 15 /* e1000_pci_tbl - PCI Device ID Table 197 static int debug = -1; 202 * e1000_get_hw_dev - helper function for getting netdev 210 struct e1000_adapter *adapter = hw->back; in e1000_get_hw_dev() 211 return adapter->netdev; in e1000_get_hw_dev() 215 * e1000_init_module - Driver Registration Routine 241 * e1000_exit_module - Driver Exit Cleanup Routine [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/ |
| D | netdev.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 36 static int debug = -1; 112 * __ew32_prepare - prepare to write to MAC CSR register on certain parts 127 while ((er32(FWSM) & E1000_ICH_FWSM_PCIM2PCI) && --i) in __ew32_prepare() 133 if (hw->adapter->flags2 & FLAG2_PCIM2PCI_ARBITER_WA) in __ew32() 136 writel(val, hw->hw_addr + reg); in __ew32() 140 * e1000_regdump - register printout routine 150 switch (reginfo->ofs) { in e1000_regdump() 164 pr_info("%-15s %08x\n", in e1000_regdump() [all …]
|