Home
last modified time | relevance | path

Searched +full:disable +full:- +full:eop (Results 1 – 25 of 80) sorted by relevance

1234

/linux-6.14.4/drivers/net/ethernet/amd/
Da2065.h4 * (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 …]
D7990.h1 /* 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 …]
/linux-6.14.4/drivers/net/ethernet/asix/
Dax88796c_main.c1 // 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 …]
/linux-6.14.4/sound/pci/cs5535audio/
Dcs5535audio.h1 /* 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()
/linux-6.14.4/drivers/net/ethernet/xilinx/
Dll_temac.h1 /* 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 …]
/linux-6.14.4/drivers/net/ethernet/altera/
Daltera_sgdma.c1 // 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 …]
/linux-6.14.4/Documentation/devicetree/bindings/usb/
Dusb251xb.yaml1 # 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 <[email protected]>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
19 - microchip,usb2513bi
[all …]
/linux-6.14.4/drivers/net/ethernet/apple/
Dbmac.h1 /* 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 …]
/linux-6.14.4/drivers/net/ethernet/sun/
Dsunhme.h1 /* 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 …]
/linux-6.14.4/drivers/net/ethernet/intel/e1000/
De1000_main.c1 // 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
194 static int debug = -1;
199 * e1000_get_hw_dev - helper function for getting netdev
207 struct e1000_adapter *adapter = hw->back; in e1000_get_hw_dev()
208 return adapter->netdev; in e1000_get_hw_dev()
212 * e1000_init_module - Driver Registration Routine
238 * e1000_exit_module - Driver Exit Cleanup Routine
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/e1000e/
Dnetdev.c1 // 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 …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Dmes_v11_0.c68 struct amdgpu_device *adev = ring->adev; in mes_v11_0_ring_set_wptr()
70 if (ring->use_doorbell) { in mes_v11_0_ring_set_wptr()
71 atomic64_set((atomic64_t *)ring->wptr_cpu_addr, in mes_v11_0_ring_set_wptr()
72 ring->wptr); in mes_v11_0_ring_set_wptr()
73 WDOORBELL64(ring->doorbell_index, ring->wptr); in mes_v11_0_ring_set_wptr()
81 return *ring->rptr_cpu_addr; in mes_v11_0_ring_get_rptr()
88 if (ring->use_doorbell) in mes_v11_0_ring_get_wptr()
89 wptr = atomic64_read((atomic64_t *)ring->wptr_cpu_addr); in mes_v11_0_ring_get_wptr()
142 if (x_pkt->header.opcode < ARRAY_SIZE(mes_v11_0_opcodes)) in mes_v11_0_get_op_string()
143 op_str = mes_v11_0_opcodes[x_pkt->header.opcode]; in mes_v11_0_get_op_string()
[all …]
Dmes_v12_0.c52 struct amdgpu_device *adev = ring->adev; in mes_v12_0_ring_set_wptr()
54 if (ring->use_doorbell) { in mes_v12_0_ring_set_wptr()
55 atomic64_set((atomic64_t *)ring->wptr_cpu_addr, in mes_v12_0_ring_set_wptr()
56 ring->wptr); in mes_v12_0_ring_set_wptr()
57 WDOORBELL64(ring->doorbell_index, ring->wptr); in mes_v12_0_ring_set_wptr()
65 return *ring->rptr_cpu_addr; in mes_v12_0_ring_get_rptr()
72 if (ring->use_doorbell) in mes_v12_0_ring_get_wptr()
73 wptr = atomic64_read((atomic64_t *)ring->wptr_cpu_addr); in mes_v12_0_ring_get_wptr()
128 if (x_pkt->header.opcode < ARRAY_SIZE(mes_v12_0_opcodes)) in mes_v12_0_get_op_string()
129 op_str = mes_v12_0_opcodes[x_pkt->header.opcode]; in mes_v12_0_get_op_string()
[all …]
Dgfx_v7_0.c889 amdgpu_ucode_release(&adev->gfx.pfp_fw); in gfx_v7_0_free_microcode()
890 amdgpu_ucode_release(&adev->gfx.me_fw); in gfx_v7_0_free_microcode()
891 amdgpu_ucode_release(&adev->gfx.ce_fw); in gfx_v7_0_free_microcode()
892 amdgpu_ucode_release(&adev->gfx.mec_fw); in gfx_v7_0_free_microcode()
893 amdgpu_ucode_release(&adev->gfx.mec2_fw); in gfx_v7_0_free_microcode()
894 amdgpu_ucode_release(&adev->gfx.rlc_fw); in gfx_v7_0_free_microcode()
901 * gfx_v7_0_init_microcode - load ucode images from disk
916 switch (adev->asic_type) { in gfx_v7_0_init_microcode()
936 err = amdgpu_ucode_request(adev, &adev->gfx.pfp_fw, in gfx_v7_0_init_microcode()
942 err = amdgpu_ucode_request(adev, &adev->gfx.me_fw, in gfx_v7_0_init_microcode()
[all …]
/linux-6.14.4/drivers/tty/serial/
Daltera_uart.c1 // SPDX-License-Identifier: GPL-2.0+
3 * altera_uart.c -- Altera UART driver
5 * Based on mcf.c -- Freescale ColdFire UART driver
7 * (C) Copyright 2003-2007, Greg Ungerer <[email protected]>
53 #define ALTERA_UART_STATUS_DCTS_MSK 0x0400 /* CTS logic-level change */
55 #define ALTERA_UART_STATUS_EOP_MSK 0x1000 /* EOP written/read */
71 #define ALTERA_UART_CONTROL_EOP_MSK 0x1000 /* Interrupt on EOP */
74 * Local per-uart structure.
85 return readl(port->membase + (reg << port->regshift)); in altera_uart_readl()
90 writel(dat, port->membase + (reg << port->regshift)); in altera_uart_writel()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/connector/
Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <[email protected]>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/linux-6.14.4/drivers/usb/gadget/udc/
Dgoku_udc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Toshiba TC86C001 ("Goku-S") USB Device Controller driver
5 * Copyright (C) 2000-2002 Lineo
12 * This device has ep0 and three semi-configurable bulk/interrupt endpoints.
14 * - Endpoint numbering is fixed: ep{1,2,3}-bulk
15 * - Gadget drivers can choose ep maxpacket (8/16/32/64)
16 * - Gadget drivers can choose direction (IN, OUT)
17 * - DMA works with ep1 (OUT transfers) and ep2 (IN transfers).
21 // #define USB_TRACE /* packet-level success messages */
49 #define DRIVER_VERSION "30-Oct 2003"
[all …]
/linux-6.14.4/drivers/usb/host/
Duhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
8 * (C) Copyright 1999-2002 Johannes Erdfelt, [email protected]
19 USB_DT_HUB, /* __u8 bDescriptorType; Hub-descriptor */
22 HUB_CHAR_INDV_PORT_OCPM, /* (per-port OC, no power switching) */
41 /* A port that either is connected or has a changed-bit set will prevent
48 for (port = 0; port < uhci->rh_numports; ++port) { in any_ports_active()
51 test_bit(port, &uhci->port_c_suspend)) in any_ports_active()
72 for (port = 0; port < uhci->rh_numports; ++port) { in get_hub_status_data()
74 test_bit(port, &uhci->port_c_suspend)) in get_hub_status_data()
104 if (test_bit(port, &uhci->resuming_ports)) in uhci_finish_suspend()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
16 * i40e_fdir - Generate a Flow Director descriptor based on fdata
26 struct i40e_pf *pf = tx_ring->vsi->back; in i40e_fdir()
31 i = tx_ring->next_to_use; in i40e_fdir()
35 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in i40e_fdir()
37 flex_ptype = FIELD_PREP(I40E_TXD_FLTR_QW0_QINDEX_MASK, fdata->q_index); in i40e_fdir()
40 fdata->flex_off); in i40e_fdir()
42 flex_ptype |= FIELD_PREP(I40E_TXD_FLTR_QW0_PCTYPE_MASK, fdata->pctype); in i40e_fdir()
45 vsi_id = fdata->dest_vsi ? : i40e_pf_get_main_vsi(pf)->id; in i40e_fdir()
[all …]
/linux-6.14.4/drivers/net/ethernet/chelsio/cxgb/
Despi.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
61 adapter->regs + A_ESPI_CMD_ADDR); in tricn_write()
62 writel(0, adapter->regs + A_ESPI_GOSTAT); in tricn_write()
65 busy = readl(adapter->regs + A_ESPI_GOSTAT) & F_ESPI_CMD_BUSY; in tricn_write()
66 } while (busy && --attempts); in tricn_write()
69 pr_err("%s: TRICN write timed out\n", adapter->name); in tricn_write()
78 if (!(readl(adapter->regs + A_ESPI_RX_RESET) & F_RX_CLK_STATUS)) { in tricn_init()
79 pr_err("%s: ESPI clock not ready\n", adapter->name); in tricn_init()
80 return -1; in tricn_init()
[all …]
Dsge.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (c) 2003 - 2005 Chelsio Communications, Inc. *
113 u32 Eop : 1; member
137 u32 Eop : 1; member
170 unsigned int in_use; /* # of in-use command descriptors */
218 unsigned int avail; /* available bits - quota */
255 unsigned int intrtimer_nres; /* no-resource interrupt timer */
256 unsigned int fixed_intrtimer;/* non-adaptive interrupt timer */
277 struct sched *s = sge->tx_sched; in tx_sched_stop()
280 tasklet_kill(&s->sched_tsk); in tx_sched_stop()
[all …]
/linux-6.14.4/drivers/net/ethernet/socionext/
Dnetsec.c1 // SPDX-License-Identifier: GPL-2.0+
247 #define NETSEC_RX_BUF_SIZE (PAGE_SIZE - NETSEC_RX_BUF_NON_DATA)
333 writel(val, priv->ioaddr + reg_addr); in netsec_write()
338 return readl(priv->ioaddr + reg_addr); in netsec_read()
366 while (--timeout && netsec_read(priv, addr) & mask) in netsec_wait_while_busy()
372 while (--timeout && netsec_read(priv, addr) & mask) in netsec_wait_while_busy()
378 netdev_WARN(priv->ndev, "%s: timeout\n", __func__); in netsec_wait_while_busy()
380 return -ETIMEDOUT; in netsec_wait_while_busy()
417 } while (--timeout && (data & mask)); in netsec_mac_wait_while_busy()
430 } while (--timeout && (data & mask)); in netsec_mac_wait_while_busy()
[all …]
/linux-6.14.4/drivers/net/ethernet/wangxun/libwx/
Dwx_lib.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd. */
32 /* L3: ip non-tunnel */
48 /* IPv4 --> IPv4/IPv6 */
60 /* IPv4 --> GRE/NAT --> NONE/IPv4/IPv6 */
73 /* IPv4 --> GRE/NAT --> MAC --> NONE/IPv4/IPv6 */
86 /* IPv4 --> GRE/NAT --> MAC+VLAN --> NONE/IPv4/IPv6 */
99 /* IPv6 --> IPv4/IPv6 */
111 /* IPv6 --> GRE/NAT -> NONE/IPv4/IPv6 */
124 /* IPv6 --> GRE/NAT -> MAC -> NONE/IPv4/IPv6 */
[all …]
/linux-6.14.4/drivers/usb/misc/
Dusb251xb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller
9 * a not-accepted patch by Fabien Lahoudere, see:
110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller"
234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children()
244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip()
245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip()
248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
252 return -EINVAL; in usb251x_check_gpio_chip()
254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip()
[all …]
/linux-6.14.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2024 Intel Corporation. */
5 Copyright (c)2006 - 2007 Myricom, Inc. for some LRO specific code
42 "Copyright (c) 2009 - 2024 Intel Corporation.";
58 /* ixgbevf_pci_tbl - PCI Device ID Table
88 static int debug = -1;
96 if (!test_bit(__IXGBEVF_DOWN, &adapter->state) && in ixgbevf_service_event_schedule()
97 !test_bit(__IXGBEVF_REMOVING, &adapter->state) && in ixgbevf_service_event_schedule()
98 !test_and_set_bit(__IXGBEVF_SERVICE_SCHED, &adapter->state)) in ixgbevf_service_event_schedule()
99 queue_work(ixgbevf_wq, &adapter->service_task); in ixgbevf_service_event_schedule()
[all …]

1234