Home
last modified time | relevance | path

Searched +full:1588 +full:- +full:2008 (Results 1 – 20 of 20) sorted by relevance

/linux/Documentation/devicetree/bindings/net/
H A Dti,k3-am654-cpts.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpts.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Siddharth Vadapalli <s-vadapalli@ti.com>
11 - Roger Quadros <rogerq@kernel.org>
17 - selection of multiple external clock sources
18 - Software control of time sync events via interrupt or polling
19 - 64-bit timestamp mode in ns with PPM and nudge adjustment.
20 - hardware timestamp push inputs (HWx_TS_PUSH)
[all …]
H A Dti,k3-am654-cpsw-nuss.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/ti,k3-am654-cpsw-nuss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Siddharth Vadapalli <s-vadapalli@ti.com>
11 - Roger Quadros <rogerq@kernel.org>
22 Complex (UDMA-P) controller.
28 Support for IEEE 1588 Clock Synchronization (2008 Annex D, Annex E and Annex F)
52 "#address-cells": true
53 "#size-cells": true
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dcommon.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 2007-2009 STMicroelectronics Ltd
18 #include <linux/pcs/pcs-xpcs.h>
58 #define STMMAC_GET_ENTRY(x, size) ((x + 1) & (size - 1))
276 #define SF_DMA_MODE 1 /* DMA STORE-AND-FORWARD Operation Mode */
281 #define DMA_HW_FEAT_HDSEL 0x00000004 /* Half-Duplex Support */
291 #define DMA_HW_FEAT_TSVER1SEL 0x00001000 /* Only IEEE 1588-2002 */
292 #define DMA_HW_FEAT_TSVER2SEL 0x00002000 /* IEEE 1588-2008 PTPv2 */
313 #define PCS_ANE_IRQ BIT(2) /* PCS Auto-Negotiation */
420 /* IEEE 1588-2002 */
[all …]
H A Ddwmac1000_dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 This is the driver for the GMAC on-chip Ethernet controller for ST SoCs.
9 Copyright (C) 2007-2009 STMicroelectronics Ltd
27 if (axi->axi_lpi_en) in dwmac1000_dma_axi()
29 if (axi->axi_xit_frm) in dwmac1000_dma_axi()
33 value |= (axi->axi_wr_osr_lmt & DMA_AXI_WR_OSR_LMT_MASK) << in dwmac1000_dma_axi()
37 value |= (axi->axi_rd_osr_lmt & DMA_AXI_RD_OSR_LMT_MASK) << in dwmac1000_dma_axi()
45 switch (axi->axi_blen[i]) { in dwmac1000_dma_axi()
77 int txpbl = dma_cfg->txpbl ?: dma_cfg->pbl; in dwmac1000_dma_init_channel()
78 int rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwmac1000_dma_init_channel()
[all …]
H A Ddwmac4_dma.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * This is the driver for the GMAC on-chip Ethernet controller for ST SoCs.
26 if (axi->axi_lpi_en) in dwmac4_dma_axi()
28 if (axi->axi_xit_frm) in dwmac4_dma_axi()
32 value |= (axi->axi_wr_osr_lmt & DMA_AXI_OSR_MAX) << in dwmac4_dma_axi()
36 value |= (axi->axi_rd_osr_lmt & DMA_AXI_OSR_MAX) << in dwmac4_dma_axi()
44 switch (axi->axi_blen[i]) { in dwmac4_dma_axi()
77 const struct dwmac4_addrs *dwmac4_addrs = priv->plat->dwmac4_addrs; in dwmac4_dma_init_rx_chan()
79 u32 rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwmac4_dma_init_rx_chan()
85 if (IS_ENABLED(CONFIG_ARCH_DMA_ADDR_T_64BIT) && likely(dma_cfg->eame)) in dwmac4_dma_init_rx_chan()
[all …]
H A Dstmmac_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 This is the driver for the ST MAC 10/100/1000 on-chip Ethernet controllers.
6 Copyright(C) 2007-2011 STMicroelectronics Ltd
29 #include <linux/dma-mapping.h>
55 * with fine resolution and binary rollover. This avoid non-monotonic behavior
62 #define TSO_MAX_BUFF_SIZE (SZ_16K - 1)
70 static int debug = -1;
72 MODULE_PARM_DESC(debug, "Message Level (-1: default, 0: no output, 16: all)");
74 static int phyaddr = -1;
78 #define STMMAC_TX_THRESH(x) ((x)->dma_conf.dma_tx_size / 4)
[all …]
/linux/drivers/net/ethernet/qualcomm/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
59 supports IEEE 802.3-2002, half-duplex mode at 10/100 Mb/s,
60 full-duplex mode at 10/100/1000Mb/s, Wake On LAN (WOL) for
61 low power, Receive-Side Scaling (RSS), and IEEE 1588-2008
/linux/drivers/net/ethernet/ti/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
107 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
113 will be called ti-am65-cpsw-nuss.
129 Say y here to support the TI K3 AM65x CPTS with 1588 features such as
133 the IEEE 1588-2008 standard for a precision clock synchronization
143 MQPRIO qdisc offload and Frame-Preemption MAC Merge / Interspersing
224 This driver enables support for the PRU-ICSS Industrial Ethernet
225 Peripheral within a PRU-ICSS subsystem present on various TI SoCs.
/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst1 .. SPDX-License-Identifier: GPL-2.0+
13 - In This Release
14 - Feature List
15 - Kernel Configuration
16 - Command Line Parameters
17 - Driver Information and Notes
18 - Debug Information
19 - Support
33 (and older) and DesignWare(R) Cores Ethernet Quality-of-Service version 4.0
35 DesignWare(R) Cores XGMAC - 10G Ethernet MAC and DesignWare(R) Cores
[all …]
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-common.c5 * This program is dual-licensed; you may select either version 2 of
21 #include "dwc-xlgmac.h"
22 #include "dwc-xlgmac-reg.h"
24 static int debug = -1;
34 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr()
37 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr()
42 pdata->tx_osp_mode = DMA_OSP_ENABLE; in xlgmac_default_config()
43 pdata->tx_sf_mode = MTL_TSF_ENABLE; in xlgmac_default_config()
44 pdata->rx_sf_mode = MTL_RSF_DISABLE; in xlgmac_default_config()
45 pdata->pblx8 = DMA_PBL_X8_ENABLE; in xlgmac_default_config()
[all …]
H A Ddwc-xlgmac.h5 * This program is dual-licensed; you may select either version 2 of
21 #include <linux/dma-mapping.h>
29 #define XLGMAC_DRV_NAME "dwc-xlgmac"
47 #define XLGMAC_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
97 ((_ring)->desc_data_head + \
98 ((idx) & ((_ring)->dma_desc_count - 1))); \
104 ((var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
111 ((_var) & GENMASK(_pos + _len - 1, _pos)) >> (_pos); \
119 _val = (_val << _pos) & GENMASK(_pos + _len - 1, _pos); \
120 _var = (_var & ~GENMASK(_pos + _len - 1, _pos)) | _val; \
[all …]
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_common.h1 /* SPDX-License-Identifier: GPL-2.0-only */
69 #define SF_DMA_MODE 1 /* DMA STORE-AND-FORWARD Operation Mode */
118 /* EEE-LPI mode flags*/
124 /* EEE-LPI Interrupt status flag */
127 /* EEE-LPI Default timer values */
131 /* EEE-LPI Control and status definitions */
243 /* EEE-LPI stats */
348 /* EEE-LPI specific operations */
412 /* IEEE 1588-2008 */
501 /* EEE-LPI specific members */
/linux/drivers/net/ethernet/altera/
H A Daltera_tse.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Altera Triple-Speed Ethernet MAC driver
3 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
120 u32 auto_negotiation_advertisement; /* Auto-negotiation
172 /* 32-bit primary MAC address word 0 bits 0 to 31 of the primary
176 /* 32-bit primary MAC address word 1 bits 32 to 47 of the primary
180 /* 14-bit maximum frame length. The MAC receive logic */
186 /* 12-bit receive FIFO section-empty threshold */
188 /* 12-bit receive FIFO section-full threshold */
190 /* 12-bit transmit FIFO section-empty threshold */
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-isys-dwc-phy.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2013--2024 Intel Corporation
13 #include "ipu6-bus.h"
14 #include "ipu6-isys.h"
15 #include "ipu6-platform-isys-csi2-reg.h"
31 * - req: 0 for read, 1 for write
32 * - 12 bits address
33 * - 8bits data (will ignore for read)
34 * --24----16------4-----0
35 * --|-data-|-addr-|-req-|
[all …]
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
18 /* Transmit Inter-Packet Gap Length Register (TX_IPG_LENGTH) */
86 u32 tx_ipg_len; /* 0x044 Transmitter inter-packet-gap */
96 u32 type_1588v2; /* 0x06c Type field for 1588v2 */
131 u32 reserved100[2]; /* 100-108 */
205 iowrite32be(tmp0, &regs->mac_addr_0); in set_mac_address()
206 iowrite32be(tmp1, &regs->mac_addr_1); in set_mac_address()
211 cfg->promiscuous_mode_enable = false; in set_dflts()
212 cfg->pause_ignore = false; in set_dflts()
[all …]
H A Dfman_dtsec.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later
3 * Copyright 2008 - 2015 Freescale Semiconductor Inc.
29 #define TBICON_AN_SENSE 0x0100 /* Auto-negotiation sense enable */
165 u32 tmr_ctrl; /* 0x020 Time-stamp Control register */
166 u32 tmr_pevent; /* 0x024 Time-stamp event register */
173 u32 igaddr[8]; /* 0x080-0x09C Individual/group address */
174 u32 gaddr[8]; /* 0x0A0-0x0BC Group address registers 0-7 */
179 u32 hafdup; /* 0x10C Half-duplex */
186 u32 exact_match1; /* octets 1-4 */
187 u32 exact_match2; /* octets 5-6 */
[all …]
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
120 #include <linux/dma-mapping.h>
137 #define XGBE_DRV_NAME "amd-xgbe"
151 #define XGBE_TX_MAX_BUF_SIZE (0x3fff & ~(64 - 1))
158 * - Maximum number of SKB frags
159 * - Maximum descriptors for contiguous TSO/GSO packet
160 * - Possible context descriptor
161 * - Possible TSO header descriptor
175 /* DMA cache settings - Outer sharable, write-back, write-allocate */
[all …]
H A Dxgbe-drv.c9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
129 #include "xgbe-common.h"
176 for (i = 0; i < ARRAY_SIZE(pdata->channel); i++) { in xgbe_free_channels()
177 if (!pdata->channel[i]) in xgbe_free_channels()
180 kfree(pdata->channel[i]->rx_ring); in xgbe_free_channels()
181 kfree(pdata->channel[i]->tx_ring); in xgbe_free_channels()
182 kfree(pdata->channel[i]); in xgbe_free_channels()
184 pdata->channel[i] = NULL; in xgbe_free_channels()
187 pdata->channel_count = 0; in xgbe_free_channels()
[all …]
/linux/lib/
H A Dtest_bitmap.c1 // SPDX-License-Identifier: GPL-2.0-only
140 pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n", in __check_eq_clump8()
202 expect_eq_pbl("0-22", bmap, 23); in test_zero_clear()
203 expect_eq_pbl("0-1023", bmap, 1024); in test_zero_clear()
205 /* single-word bitmaps */ in test_zero_clear()
207 expect_eq_pbl("9-1023", bmap, 1024); in test_zero_clear()
210 expect_eq_pbl("64-1023", bmap, 1024); in test_zero_clear()
214 expect_eq_pbl("64-78,98-1023", bmap, 1024); in test_zero_clear()
217 expect_eq_pbl("128-1023", bmap, 1024); in test_zero_clear()
249 expect_eq_uint(10, find_nth_bit(bmap, 64 * 3 - 1, 0)); in test_find_nth_bit()
[all …]
/linux/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-colors.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * v4l2-tpg-colors.c - A table that converts colors to various colorspaces
16 * gcc v4l2-tpg-colors.c -DCOMPILE_APP -o gen-colors -lm
20 * Note that the converted colors are in the range 0x000-0xff0 (so times 16)
27 #include <media/tpg/v4l2-tpg.h>
29 /* sRGB colors with range [0-255] */
33 * to other colorspaces will never lead to out-of-gamut colors.
227 1587, 1588, 1590, 1591, 1592, 1593, 1594, 1596, 1597, 1598, 1599, 1601, 1602, 1603, 1604, 1605,
247 1998, 1999, 2001, 2002, 2004, 2005, 2006, 2008, 2009, 2010, 2012, 2013, 2015, 2016, 2017, 2019,
371 1588, 1589, 1590, 1592, 1593, 1594, 1596, 1597, 1598, 1600, 1601, 1602, 1603, 1605, 1606, 1607,
[all …]