Home
last modified time | relevance | path

Searched +full:txrx +full:- +full:1 (Results 1 – 25 of 173) sorted by relevance

1234567

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dengleder,tsnep.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gerhard Engleder <gerhard@engleder-embedded.com>
13 - $ref: ethernet-controller.yaml#
20 maxItems: 1
23 minItems: 1
26 interrupt-names:
27 minItems: 1
29 - const: mac
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/sibyte/
Dsb1250_mac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * SB1250 specification level: User's manual 1/02/02
30 * MAC Configuration Register (Table 9-13)
38 #define M_MAC_TX_HOLD_SOP_EN _SB_MAKEMASK1(1)
49 #define K_MAC_TX_PAUSE_CNT_1K 1
92 #define K_MAC_SPEED_SEL_100MBPS 1
112 #define K_MAC_BYPASS_ENCODED 1
133 #define K_MAC_FC_CMD_ENABLED 1
161 #define M_MAC_RXDMA_EN1 _SB_MAKEMASK1(1)
202 * MAC Fifo Threshold registers (Table 9-14)
[all …]
Dsb1250_regs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * This module contains the addresses of the on-chip peripherals
114 /* Backward-compatibility definitions. */
146 #define DMA_TX 1
163 #define A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) \ argument
166 (MAC_DMA_TXRX_SPACING*(txrx)) + \
169 #define R_MAC_DMA_CHANNEL_BASE(txrx, chan) \ argument
171 (MAC_DMA_TXRX_SPACING*(txrx)) + \
174 #define A_MAC_DMA_REGISTER(macnum, txrx, chan, reg) \ argument
175 (A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) + \
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/sibyte/
Dsb1250_mac.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * SB1250 specification level: User's manual 1/02/02
30 * MAC Configuration Register (Table 9-13)
38 #define M_MAC_TX_HOLD_SOP_EN _SB_MAKEMASK1(1)
49 #define K_MAC_TX_PAUSE_CNT_1K 1
92 #define K_MAC_SPEED_SEL_100MBPS 1
112 #define K_MAC_BYPASS_ENCODED 1
133 #define K_MAC_FC_CMD_ENABLED 1
161 #define M_MAC_RXDMA_EN1 _SB_MAKEMASK1(1)
202 * MAC Fifo Threshold registers (Table 9-14)
[all …]
Dsb1250_regs.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * This module contains the addresses of the on-chip peripherals
114 /* Backward-compatibility definitions. */
146 #define DMA_TX 1
163 #define A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) \ argument
166 (MAC_DMA_TXRX_SPACING*(txrx)) + \
169 #define R_MAC_DMA_CHANNEL_BASE(txrx, chan) \ argument
171 (MAC_DMA_TXRX_SPACING*(txrx)) + \
174 #define A_MAC_DMA_REGISTER(macnum, txrx, chan, reg) \ argument
175 (A_MAC_DMA_CHANNEL_BASE(macnum, txrx, chan) + \
[all …]
/kernel/linux/linux-6.6/drivers/bus/
Dts-nbus.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NBUS driver for TS-4600 based boards
5 * Copyright (c) 2016 - Savoir-faire Linux
8 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
10 * TS-4600 SoM.
21 #include <linux/ts-nbus.h>
24 #define TS_NBUS_DIRECTION_OUT 1
26 #define TS_NBUS_WRITE_VAL 1
32 struct gpio_desc *txrx; member
45 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
[all …]
/kernel/linux/linux-5.10/drivers/bus/
Dts-nbus.c2 * NBUS driver for TS-4600 based boards
4 * Copyright (c) 2016 - Savoir-faire Linux
11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic
13 * TS-4600 SoM.
24 #include <linux/ts-nbus.h>
27 #define TS_NBUS_DIRECTION_OUT 1
29 #define TS_NBUS_WRITE_VAL 1
35 struct gpio_desc *txrx; member
48 ts_nbus->data = devm_gpiod_get_array(&pdev->dev, "ts,data", in ts_nbus_init_pdata()
50 if (IS_ERR(ts_nbus->data)) { in ts_nbus_init_pdata()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/bus/
Dts-nbus.txt4 Systems FPGA on the TS-4600 SoM.
7 - compatible : "technologic,ts-nbus"
8 - #address-cells : must be 1
9 - #size-cells : must be 0
10 - pwms : The PWM bound to the FPGA
11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/
Dts-nbus.txt4 Systems FPGA on the TS-4600 SoM.
7 - compatible : "technologic,ts-nbus"
8 - #address-cells : must be 1
9 - #size-cells : must be 0
10 - pwms : The PWM bound to the FPGA
11 - ts,data-gpios : The 8 GPIO pins connected to the data lines on the FPGA
12 - ts,csn-gpios : The GPIO pin connected to the csn line on the FPGA
13 - ts,txrx-gpios : The GPIO pin connected to the txrx line on the FPGA
14 - ts,strobe-gpios : The GPIO pin connected to the stobe line on the FPGA
15 - ts,ale-gpios : The GPIO pin connected to the ale line on the FPGA
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
22 if (ppsc->inactiveps) { in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
38 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0; in mgnt_link_status_query()
39 if (bibss || rtlpriv->mac80211.link_state >= MAC80211_LINKED) in mgnt_link_status_query()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhal_btc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
22 if (ppsc->inactiveps) { in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps()
38 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0; in mgnt_link_status_query()
39 if (bibss || rtlpriv->mac80211.link_state >= MAC80211_LINKED) in mgnt_link_status_query()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
24 #include <linux/pcs/pcs-mtk-lynxi.h>
34 static int mtk_msg_level = -1;
36 MODULE_PARM_DESC(msg_level, "Message level (-1=defaults,0=none,...,16=all)");
87 [1] = 0x2c00,
151 [1] = 0x4c00,
199 [1] = 0x4c00,
[all …]
Dmtk_eth_soc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
12 #include <linux/dma-mapping.h>
55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1))
60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD)
69 #define MTK_HW_LRO_TIMER_UNIT 1 /* 20 us */
70 #define MTK_HW_LRO_REFRESH_TIME 50000 /* 1 sec. */
72 #define MTK_HW_LRO_AGE_TIME 50 /* 1ms */
[all …]
/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
Djsm_cls.c1 // SPDX-License-Identifier: GPL-2.0+
54 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
55 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
64 isr_fcr = readb(&ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
70 writeb(isr_fcr, &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
73 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
81 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
84 writeb((UART_FCR_ENABLE_FIFO), &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
88 &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
[all …]
Djsm_neo.c1 // SPDX-License-Identifier: GPL-2.0+
25 * a non-destructive, read-only location on the Neo card.
27 * In this case, we are reading the DVID (Read-only Device Identification)
32 readb(bd->re_map_membase + 0x8D); in neo_pci_posting_flush()
38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
41 jsm_dbg(PARAM, &ch->ch_bd->pci_dev, "Setting CTSFLOW\n"); in neo_set_cts_flow_control()
51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
54 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
57 writeb((UART_17158_FCTR_TRGD | UART_17158_FCTR_RTS_4DELAY), &ch->ch_neo_uart->fctr); in neo_set_cts_flow_control()
[all …]
/kernel/linux/linux-6.6/drivers/tty/serial/jsm/
Djsm_cls.c1 // SPDX-License-Identifier: GPL-2.0+
54 u8 lcrb = readb(&ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
55 u8 ier = readb(&ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
62 writeb(UART_EXAR654_ENHANCED_REGISTER_SET, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
64 isr_fcr = readb(&ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
70 writeb(isr_fcr, &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
73 writeb(lcrb, &ch->ch_cls_uart->lcr); in cls_set_cts_flow_control()
81 writeb(ier, &ch->ch_cls_uart->ier); in cls_set_cts_flow_control()
84 writeb((UART_FCR_ENABLE_FIFO), &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
88 &ch->ch_cls_uart->isr_fcr); in cls_set_cts_flow_control()
[all …]
Djsm_neo.c1 // SPDX-License-Identifier: GPL-2.0+
25 * a non-destructive, read-only location on the Neo card.
27 * In this case, we are reading the DVID (Read-only Device Identification)
32 readb(bd->re_map_membase + 0x8D); in neo_pci_posting_flush()
38 ier = readb(&ch->ch_neo_uart->ier); in neo_set_cts_flow_control()
39 efr = readb(&ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
41 jsm_dbg(PARAM, &ch->ch_bd->pci_dev, "Setting CTSFLOW\n"); in neo_set_cts_flow_control()
51 writeb(0, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
54 writeb(efr, &ch->ch_neo_uart->efr); in neo_set_cts_flow_control()
57 writeb((UART_17158_FCTR_TRGD | UART_17158_FCTR_RTS_4DELAY), &ch->ch_neo_uart->fctr); in neo_set_cts_flow_control()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * This driver is designed for the Broadcom SiByte SOC built-in
48 /* A few user-configurable values which may be modified when a driver
51 /* 1 normal messages, 0 quiet .. 7 verbose. */
52 static int debug = 1;
116 sbmac_duplex_none = -1,
142 #define SBDMA_NEXTBUF(d,f) ((((d)->f+1) == (d)->sbdma_dscrtable_end) ? \
143 (d)->sbdma_dscrtable : (d)->f+1)
176 int sbdma_txdir; /* direction (1=transmit) */
187 void __iomem *sbdma_config1; /* DMA config register 1 */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dsb1250-mac.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * This driver is designed for the Broadcom SiByte SOC built-in
48 /* A few user-configurable values which may be modified when a driver
51 /* 1 normal messages, 0 quiet .. 7 verbose. */
52 static int debug = 1;
116 sbmac_duplex_none = -1,
142 #define SBDMA_NEXTBUF(d,f) ((((d)->f+1) == (d)->sbdma_dscrtable_end) ? \
143 (d)->sbdma_dscrtable : (d)->f+1)
176 int sbdma_txdir; /* direction (1=transmit) */
187 void __iomem *sbdma_config1; /* DMA config register 1 */
[all …]
/kernel/linux/linux-6.6/samples/pktgen/
Dfunctions.sh3 # - Depending on bash 3 (or higher) syntax
8 set -o errexit
10 ## -- General shell logging cmds --
12 local exitcode=$1
23 if [[ -n "$VERBOSE" ]]; then
28 ## -- Pktgen proc config commands -- ##
45 local thread=$1
52 local dev=$1
62 local proc_file=$1
67 if [[ ! -e "$proc_ctrl" ]]; then
[all …]
/kernel/linux/linux-5.10/samples/pktgen/
Dfunctions.sh3 # - Depending on bash 3 (or higher) syntax
8 set -o errexit
10 ## -- General shell logging cmds --
12 local exitcode=$1
23 if [[ -n "$VERBOSE" ]]; then
28 ## -- Pktgen proc config commands -- ##
45 local thread=$1
52 local dev=$1
62 local proc_file=$1
67 if [[ ! -e "$proc_ctrl" ]]; then
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dptp.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
9 #include "en/txrx.h"
17 #define MLX5E_PTP_TS_CQE_UNDELIVERED_TIMEOUT (1 * NSEC_PER_SEC)
61 /* data path - accessed per napi poll */
75 if (!(skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP)) in mlx5e_use_ptpsq()
94 fifo->data[fifo->mask & fifo->pc++] = metadata; in mlx5e_ptp_metadata_fifo_push()
100 return fifo->data[fifo->mask & fifo->cc]; in mlx5e_ptp_metadata_fifo_peek()
106 fifo->cc++; in mlx5e_ptp_metadata_fifo_pop()
113 WARN_ON_ONCE(map->data[metadata]); in mlx5e_ptp_metadata_map_put()
114 map->data[metadata] = skb; in mlx5e_ptp_metadata_map_put()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 * platform_device->driver_data ... points to spi_gpio
28 * spi->controller_state ... reserved for bitbang framework code
30 * spi->master->dev.driver_data ... points to spi_gpio->bitbang
41 /*----------------------------------------------------------------------*/
48 * - The slow generic way: set up platform_data to hold the GPIO
52 * - The quicker inlined way: only helps with platform GPIO code
63 * #include "spi-gpio.c"
73 /*----------------------------------------------------------------------*/
81 bang = spi_master_get_devdata(spi->master); in spi_to_spi_gpio()
[all …]
Dspi-sh-sci.c1 // SPDX-License-Identifier: GPL-2.0-only
33 #define SCSPTR(sp) (sp->membase + 0x1c)
34 #define PIN_SCK (1 << 2)
35 #define PIN_TXD (1 << 0)
37 #define PIN_INIT ((1 << 1) | (1 << 3) | PIN_SCK | PIN_TXD)
45 * This makes regular read-modify-write difficult so we in setbits()
46 * use sp->val to keep track of the latest register value. in setbits()
50 sp->val |= bits; in setbits()
52 sp->val &= ~bits; in setbits()
54 iowrite8(sp->val, SCSPTR(sp)); in setbits()
[all …]
/kernel/linux/linux-6.6/drivers/spi/
Dspi-gpio.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 * platform_device->driver_data ... points to spi_gpio
27 * spi->controller_state ... reserved for bitbang framework code
29 * spi->controller->dev.driver_data ... points to spi_gpio->bitbang
40 /*----------------------------------------------------------------------*/
47 * - The slow generic way: set up platform_data to hold the GPIO
51 * - The quicker inlined way: only helps with platform GPIO code
62 * #include "spi-gpio.c"
72 /*----------------------------------------------------------------------*/
80 bang = spi_controller_get_devdata(spi->controller); in spi_to_spi_gpio()
[all …]

1234567