| /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) 40 #define M_MAC_RET_DRPREQ_EN _SB_MAKEMASK1(3) 45 #define M_MAC_TX_PAUSE_CNT _SB_MAKEMASK(3, S_MAC_TX_PAUSE) 51 #define K_MAC_TX_PAUSE_CNT_4K 3 94 #define K_MAC_SPEED_SEL_RESERVED 3 114 #define K_MAC_BYPASS_EOP 3 202 * MAC Fifo Threshold registers (Table 9-14) 258 * MAC Frame Configuration Registers (Table 9-15) 360 * MAC VLAN Tag Registers (Table 9-16) [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. */ 150 #define MAC_NUM_PORTS 3 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) 40 #define M_MAC_RET_DRPREQ_EN _SB_MAKEMASK1(3) 45 #define M_MAC_TX_PAUSE_CNT _SB_MAKEMASK(3, S_MAC_TX_PAUSE) 51 #define K_MAC_TX_PAUSE_CNT_4K 3 94 #define K_MAC_SPEED_SEL_RESERVED 3 114 #define K_MAC_BYPASS_EOP 3 202 * MAC Fifo Threshold registers (Table 9-14) 258 * MAC Frame Configuration Registers (Table 9-15) 360 * MAC VLAN Tag Registers (Table 9-16) [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. */ 150 #define MAC_NUM_PORTS 3 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/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-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/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> 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 67 #define MTK_MAX_LRO_RX_LENGTH (4096 * 3) 134 /* Unicast Filter MAC Address Register - Low */ 138 /* Unicast Filter MAC Address Register - High */ [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 -- 23 if [[ -n "$VERBOSE" ]]; then 28 ## -- Pktgen proc config commands -- ## 67 if [[ ! -e "$proc_ctrl" ]]; then 68 err 3 "proc file:$proc_ctrl does not exists (dev added to thread?)" 70 if [[ ! -w "$proc_ctrl" ]]; then 114 if [[ -z "$APPEND" ]] && [[ $EUID -eq 0 ]]; then 119 ## -- General shell tricks -- [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 -- 23 if [[ -n "$VERBOSE" ]]; then 28 ## -- Pktgen proc config commands -- ## 67 if [[ ! -e "$proc_ctrl" ]]; then 68 err 3 "proc file:$proc_ctrl does not exists (dev added to thread?)" 70 if [[ ! -w "$proc_ctrl" ]]; then 111 [[ $EUID -eq 0 ]] && trap 'pg_ctrl "reset"' EXIT 113 ## -- General shell tricks -- [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/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 48 /* A few user-configurable values which may be modified when a driver 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 270 int txrx, int maxdescr); 318 static char sbmac_string[] = "sb1250-mac"; [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 48 /* A few user-configurable values which may be modified when a driver 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 270 int txrx, int maxdescr); 318 static char sbmac_string[] = "sb1250-mac"; [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
| D | cw1200.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Common private data for ST-Ericsson CW1200 drivers 5 * Copyright (c) 2010, ST-Ericsson 12 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 26 #include "txrx.h" 40 #define CW1200_LINK_ID_MAX (CW1200_MAX_STA_IN_AP_MODE + 3) 47 #define CW1200_BLOCK_ACK_HIST (3) 302 return ht_info->channel_type != NL80211_CHAN_NO_HT; in cw1200_is_ht() 308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield() 309 !(ht_info->operation_mode & in cw1200_ht_greenfield() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/st/cw1200/ |
| D | cw1200.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Common private data for ST-Ericsson CW1200 drivers 5 * Copyright (c) 2010, ST-Ericsson 12 * Copyright 2004-2006 Jean-Baptiste Note <jbnote@gmail.com>, et al. 26 #include "txrx.h" 40 #define CW1200_LINK_ID_MAX (CW1200_MAX_STA_IN_AP_MODE + 3) 47 #define CW1200_BLOCK_ACK_HIST (3) 302 return ht_info->channel_type != NL80211_CHAN_NO_HT; in cw1200_is_ht() 308 (ht_info->ht_cap.cap & IEEE80211_HT_CAP_GRN_FLD) && in cw1200_ht_greenfield() 309 !(ht_info->operation_mode & in cw1200_ht_greenfield() [all …]
|
| /kernel/linux/linux-5.10/drivers/spi/ |
| D | spi-gpio.c | 1 // 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 …]
|
| D | spi-sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 #define SCSPTR(sp) (sp->membase + 0x1c) 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() 59 setbits(spi_master_get_devdata(dev->master), PIN_SCK, on); in setsck() 64 setbits(spi_master_get_devdata(dev->master), PIN_TXD, on); in setmosi() [all …]
|
| D | spi-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 // Based on code from U-Boot bootloader by: 18 // Based on spi-stmp.c, which is: 28 #include <linux/dma-mapping.h> 40 #include <linux/spi/mxs-spi.h> 43 #define DRIVER_NAME "mxs-spi" 51 * Flags for txrx functions. More efficient that using an argument register for 55 #define TXRX_DEASSERT_CS (1<<1) /* De-assert CS at end of txrx */ 66 struct mxs_spi *spi = spi_master_get_devdata(dev->master); in mxs_spi_setup_transfer() 67 struct mxs_ssp *ssp = &spi->ssp; in mxs_spi_setup_transfer() [all …]
|
| /kernel/linux/linux-6.6/drivers/spi/ |
| D | spi-sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 #define SCSPTR(sp) (sp->membase + 0x1c) 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() 59 setbits(spi_controller_get_devdata(dev->controller), PIN_SCK, on); in setsck() 64 setbits(spi_controller_get_devdata(dev->controller), PIN_TXD, on); in setmosi() [all …]
|
| D | spi-gpio.c | 1 // 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 …]
|
| D | spi-mxs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 // Based on code from U-Boot bootloader by: 18 // Based on spi-stmp.c, which is: 28 #include <linux/dma-mapping.h> 40 #include <linux/spi/mxs-spi.h> 42 #include <linux/dma/mxs-dma.h> 44 #define DRIVER_NAME "mxs-spi" 52 * Flags for txrx functions. More efficient that using an argument register for 56 #define TXRX_DEASSERT_CS (1<<1) /* De-assert CS at end of txrx */ 67 struct mxs_spi *spi = spi_master_get_devdata(dev->master); in mxs_spi_setup_transfer() [all …]
|