| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | engleder,tsnep.yaml | 1 # 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# 26 interrupt-names: 29 - const: mac 30 - const: txrx-1 31 - const: txrx-2 32 - const: txrx-3 [all …]
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/sibyte/ |
| D | sb1250_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 30 * MAC Configuration Register (Table 9-13) 39 #define M_MAC_RETRY_EN _SB_MAKEMASK1(2) 50 #define K_MAC_TX_PAUSE_CNT_2K 2 87 #define M_MAC_SPEED_SEL _SB_MAKEMASK(2, S_MAC_SPEED_SEL) 93 #define K_MAC_SPEED_SEL_1000MBPS 2 107 #define M_MAC_BYPASS_CFG _SB_MAKEMASK(2, S_MAC_BYPASS_CFG) 113 #define K_MAC_BYPASS_SOP 2 134 #define K_MAC_FC_CMD_ENAB_FALSECARR 2 143 #define M_MAC_FC_CMD _SB_MAKEMASK(2, S_MAC_FC_CMD) [all …]
|
| D | sb1250_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * This module contains the addresses of the on-chip peripherals 114 /* Backward-compatibility definitions. */ 147 #define MAC_NUM_DMACHAN 2 /* channels per direction */ 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/ |
| D | sb1250_mac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 30 * MAC Configuration Register (Table 9-13) 39 #define M_MAC_RETRY_EN _SB_MAKEMASK1(2) 50 #define K_MAC_TX_PAUSE_CNT_2K 2 87 #define M_MAC_SPEED_SEL _SB_MAKEMASK(2, S_MAC_SPEED_SEL) 93 #define K_MAC_SPEED_SEL_1000MBPS 2 107 #define M_MAC_BYPASS_CFG _SB_MAKEMASK(2, S_MAC_BYPASS_CFG) 113 #define K_MAC_BYPASS_SOP 2 134 #define K_MAC_FC_CMD_ENAB_FALSECARR 2 143 #define M_MAC_FC_CMD _SB_MAKEMASK(2, S_MAC_FC_CMD) [all …]
|
| D | sb1250_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * This module contains the addresses of the on-chip peripherals 114 /* Backward-compatibility definitions. */ 147 #define MAC_NUM_DMACHAN 2 /* channels per direction */ 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/Documentation/devicetree/bindings/bus/ |
| D | ts-nbus.txt | 4 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/ |
| D | ts-nbus.txt | 4 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/ |
| D | hal_btc.c | 1 // 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/ |
| D | hal_btc.c | 1 // 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/bus/ |
| D | ts-nbus.c | 2 * NBUS driver for TS-4600 based boards 4 * Copyright (c) 2016 - Savoir-faire Linux 8 * License version 2. This program is licensed "as is" without any 11 * This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic 13 * TS-4600 SoM. 24 #include <linux/ts-nbus.h> 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() 51 dev_err(&pdev->dev, "failed to retrieve ts,data-gpio from dts\n"); in ts_nbus_init_pdata() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 1 // 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)"); 284 __raw_writel(val, eth->base + reg); in mtk_w32() 289 return __raw_readl(eth->base + reg); in mtk_r32() 315 dev_err(eth->dev, "mdio: MDIO timeout\n"); in mtk_mdio_busy_wait() [all …]
|
| D | mtk_eth_soc.h | 1 /* 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> 26 #define MTK_DSA_PORT_MASK GENMASK(2, 0) 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 68 #define MTK_MAX_LRO_IP_CNT 2 134 /* Unicast Filter MAC Address Register - Low */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/ |
| D | sb1250-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * This driver is designed for the Broadcom SiByte SOC built-in 42 #define TX_TIMEOUT (2*HZ) 48 /* A few user-configurable values which may be modified when a driver 91 #define UNIT_INT(n) (K_BCM1480_INT_MAC_0 + ((n) * 2)) 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) 222 * Linux-specific things 232 * Controller-specific things [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/ |
| D | sb1250-mac.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * This driver is designed for the Broadcom SiByte SOC built-in 42 #define TX_TIMEOUT (2*HZ) 48 /* A few user-configurable values which may be modified when a driver 91 #define UNIT_INT(n) (K_BCM1480_INT_MAC_0 + ((n) * 2)) 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) 222 * Linux-specific things 232 * Controller-specific things [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | Makefile | 2 # Copyright (C) 2011-2014, Marvell International Ltd. 5 # Ltd. under the terms of the GNU General Public License Version 2, June 1991 9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 18 mwifiex-y += main.o 19 mwifiex-y += init.o 20 mwifiex-y += cfp.o 21 mwifiex-y += cmdevt.o 22 mwifiex-y += util.o [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| D | tls_rxtx.h | 6 * General Public License (GPL) Version 2, available from the file 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 44 #include "en/txrx.h" 63 if (unlikely(test_bit(MLX5E_RQ_STATE_FPGA_TLS, &rq->state) && is_metadata_hdr_valid(skb))) in mlx5e_tls_handle_rx_skb()
|
| D | ipsec_rxtx.h | 6 * General Public License (GPL) Version 2, available from the file 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 40 #include "en/txrx.h" 42 /* Bit31: IPsec marker, Bit30-24: IPsec syndrome, Bit23-0: IPsec obj id */ 77 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len() 82 return MLX5_IPSEC_METADATA_MARKER(be32_to_cpu(cqe->ft_metadata)); in mlx5_ipsec_is_rx_flow() 87 return ipsec_st->x; in mlx5e_ipsec_is_tx_flow()
|
| D | en_accel.h | 6 * General Public License (GPL) Version 2, available from the file 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 43 #include "en/txrx.h" 64 l4_proto = ip_hdr(skb)->protocol; in mlx5e_tx_tunnel_accel() 67 l4_proto = ipv6_find_hdr(skb, &offset, -1, NULL, NULL); in mlx5e_tx_tunnel_accel() 74 udp_hdr(skb)->dest != cpu_to_be16(GENEVE_UDP_PORT)) in mlx5e_tx_tunnel_accel() 79 if (inner_ip_hdr(skb)->version == 6) { in mlx5e_tx_tunnel_accel() 81 swp_spec.tun_l4_proto = inner_ipv6_hdr(skb)->nexthdr; in mlx5e_tx_tunnel_accel() 84 swp_spec.tun_l4_proto = inner_ip_hdr(skb)->protocol; in mlx5e_tx_tunnel_accel() [all …]
|
| /kernel/linux/linux-6.6/samples/pktgen/ |
| D | functions.sh | 3 # - Depending on bash 3 (or higher) syntax 8 set -o errexit 10 ## -- General shell logging cmds -- 14 echo "ERROR: $@" >&2 19 echo "WARN : $@" >&2 23 if [[ -n "$VERBOSE" ]]; then 24 echo "INFO : $@" >&2 28 ## -- Pktgen proc config commands -- ## 67 if [[ ! -e "$proc_ctrl" ]]; then 70 if [[ ! -w "$proc_ctrl" ]]; then [all …]
|
| /kernel/linux/linux-5.10/samples/pktgen/ |
| D | functions.sh | 3 # - Depending on bash 3 (or higher) syntax 8 set -o errexit 10 ## -- General shell logging cmds -- 14 echo "ERROR: $@" >&2 19 echo "WARN : $@" >&2 23 if [[ -n "$VERBOSE" ]]; then 24 echo "INFO : $@" >&2 28 ## -- Pktgen proc config commands -- ## 67 if [[ ! -e "$proc_ctrl" ]]; then 70 if [[ ! -w "$proc_ctrl" ]]; then [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/jsm/ |
| D | jsm_neo.c | 1 // 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-5.10/drivers/tty/serial/jsm/ |
| D | jsm_neo.c | 1 // 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/mellanox/mlx5/core/en_accel/ |
| D | ipsec_rxtx.h | 6 * General Public License (GPL) Version 2, available from the file 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 40 #include "en/txrx.h" 42 /* Bit31: IPsec marker, Bit30: reserved, Bit29-24: IPsec syndrome, Bit23-0: IPsec obj id */ 74 return ipsec_st->tailen; in mlx5e_ipsec_tx_ids_len() 79 return MLX5_IPSEC_METADATA_MARKER(be32_to_cpu(cqe->ft_metadata)); in mlx5_ipsec_is_rx_flow() 84 return eseg->flow_table_metadata & cpu_to_be32(MLX5_ETH_WQE_FT_META_IPSEC); in mlx5e_ipsec_eseg_meta() 96 if (sp && sp->len && xo) { in mlx5e_ipsec_feature_check() 97 struct xfrm_state *x = sp->xvec[0]; in mlx5e_ipsec_feature_check() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | xdp.h | 6 * General Public License (GPL) Version 2, available from the file 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 38 #include "en/txrx.h" 45 (MLX5E_XDP_INLINE_WQE_MAX_DS_CNT * MLX5_SEND_WQE_DS - \ 73 set_bit(MLX5E_STATE_XDP_TX_ENABLED, &priv->state); in mlx5e_xdp_tx_enable() 75 if (priv->channels.params.xdp_prog) in mlx5e_xdp_tx_enable() 76 set_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_enable() 81 if (priv->channels.params.xdp_prog) in mlx5e_xdp_tx_disable() 82 clear_bit(MLX5E_STATE_XDP_ACTIVE, &priv->state); in mlx5e_xdp_tx_disable() [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 #define SCSPTR(sp) (sp->membase + 0x1c) 34 #define PIN_SCK (1 << 2) 43 * Reading bit 2 and 0 in SCSPTR gives pin state as input. in setbits() 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() 59 setbits(spi_master_get_devdata(dev->master), PIN_SCK, on); in setsck() [all …]
|