/linux/drivers/usb/serial/ |
H A D | io_16654.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 21 // Numbers 0-7 are passed to the Edgeport directly. Numbers 8 and 22 // above are used internally to indicate that we must enable access 27 // the EdgePort firmware -- that includes THR, RHR, IER, FCR. 32 #define IER 1 // ! Interrupt Enable Register 44 #define XON1 12 // Bank2[ 4 ] Xon-1 45 #define XON2 13 // Bank2[ 5 ] Xon-2 46 #define XOFF1 14 // Bank2[ 6 ] Xoff-1 47 #define XOFF2 15 // Bank2[ 7 ] Xoff-2 57 #define IER_RX 0x01 // Enable receive interrupt [all …]
|
/linux/sound/arm/ |
H A D | aaci.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * linux/sound/arm/aaci.c - ARM PrimeCell AACI PL041 driver 19 #define AACI_RXCR 0x000 /* 29 bits Control Rx FIFO */ 23 #define AACI_IE 0x010 /* 7 bits Int Enable */ 36 #define AACI_SLIEN 0x070 /* slot interrupt enable */ 49 * TX/RX fifo control register (CR). P48 51 #define CR_FEN (1 << 16) /* fifo enable */ 69 #define CR_EN (1 << 0) /* transmit enable */ 74 #define SR_RXTOFE (1 << 11) /* rx timeout fifo empty */ 75 #define SR_TXTO (1 << 10) /* rx timeout fifo nonempty */ [all …]
|
/linux/drivers/net/wan/ |
H A D | hd64570.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 /* SCA HD64570 register definitions - all addresses for mode 0 (8086 MPU) 24 #define DMER 0x09 /* DMA Master Enable */ 32 #define IER0 0x14 /* Interrupt Enable 0 */ 33 #define IER1 0x15 /* Interrupt Enable 1 */ 34 #define IER2 0x16 /* Interrupt Enable 2 */ 42 /* MSCI channel (port) 0 registers - offset 0x20 43 MSCI channel (port) 1 registers - offset 0x40 */ 48 #define TRBL 0x00 /* TX/RX buffer L */ 49 #define TRBH 0x01 /* TX/RX buffer H */ [all …]
|
H A D | hd64572.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * hd64572.h Description of the Hitachi HD64572 (SCA-II), valid for 8 * Copyright: (c) 2000-2001 Cyclades Corp. 15 * PC300 initial CVS version (3.4.0-pre1) 42 #define IER0 0x74 /* Interrupt Enable Register 0 */ 43 #define IER1 0x78 /* Interrupt Enable Register 1 */ 47 #define DRX_REG(reg, chan) (reg + 0x40*chan) /* DMA Rx */ 49 #define TRX_REG(reg, chan) (reg + 0x20*chan) /* Timer Rx */ 52 #define IR0_DRX(val, chan) ((val)<<(8*(chan))) /* Int DMA Rx */ 65 #define RXS 0x13c /* RX clock source */ [all …]
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | b44.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #define DEVCTRL_MPM 0x00000040 /* Magic Packet PME Enable (B0 only) */ 10 #define DEVCTRL_PFE 0x00000080 /* Pattern Filtering Enable */ 13 #define DEVCTRL_PME 0x00001000 /* PHY Mode Enable */ 14 #define DEVCTRL_PMCE 0x00002000 /* PHY Mode Clocks Enable */ 17 #define B44_BIST_STAT 0x000CUL /* Built-In Self-Test Status */ 43 #define ISTAT_RX 0x00010000 /* RX Interrupt */ 57 #define B44_RXBURST 0x00A4UL /* RX Max Burst Length */ 59 #define MAC_CTRL_CRC32_ENAB 0x00000001 /* CRC32 Generation Enable */ 66 #define MAC_FLOW_PAUSE_ENAB 0x00008000 /* Enable Pause Frame Generation */ [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | sungem.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 #define GREG_SEBSTATE_RXWON 0x00000004 /* RX won internal arbitration */ 31 #define GREG_CFG_RXDMALIM 0x000007c0 /* RX DMA grant limit */ 34 #define GREG_CFG_ENBUG2FIX 0x00001000 /* Fix Rx hang after overflow */ 39 * This auto-clearing does not occur when the alias at GREG_STAT2 48 #define GREG_STAT_RXDONE 0x00000010 /* One RX frame arrived */ 49 #define GREG_STAT_RXNOBUF 0x00000020 /* No free RX buffers available */ 50 #define GREG_STAT_RXTAGERR 0x00000040 /* RX tag framing is corrupt */ 53 #define GREG_STAT_RXMAC 0x00008000 /* RX MAC signalled interrupt */ 69 * signalled to the cpu. GREG_IACK can be used to clear specific top-level [all …]
|
H A D | sunqe.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */ 22 #define GLOB_CTRL_EPAR 0x00000020 /* Enable parity */ 45 /* The following registers are for per-qe channel information/status. */ 48 #define CREG_RXDS 0x08UL /* RX descriptor ring ptr */ 50 #define CREG_RIMASK 0x10UL /* RX Interrupt Mask */ 54 #define CREG_RXWBUFPTR 0x20UL /* Local memory rx write ptr */ 55 #define CREG_RXRBUFPTR 0x24UL /* Local memory rx read ptr */ 59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */ 74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */ [all …]
|
H A D | sunbmac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define GLOB_MSIZE 0x0cUL /* Local-mem size (64K) */ 22 #define GLOB_CTRL_EPAR 0x00000020 /* Enable parity */ 42 #define CREG_RXDS 0x08UL /* RX descriptor ring ptr */ 44 #define CREG_RIMASK 0x10UL /* RX Interrupt Mask */ 48 #define CREG_RXWBUFPTR 0x20UL /* Local memory rx write ptr */ 49 #define CREG_RXRBUFPTR 0x24UL /* Local memory rx read ptr */ 64 #define CREG_STAT_RXDROP 0x00000010 /* Dropped a RX'd packet */ 79 #define CREG_QMASK_RXDROP 0x00000010 /* RX drop */ 80 #define CREG_QMASK_RXBERROR 0x00000008 /* RX buffer error */ [all …]
|
/linux/net/ncsi/ |
H A D | ncsi-pkt.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 unsigned char revision; /* NCSI version - 0x01 */ 75 /* AEN Enable */ 101 unsigned char enable; /* Enable or disable */ member 106 /* Enable VLAN */ 125 /* Enable Broadcast Filter */ 133 /* Enable Global Multicast Filter */ 236 unsigned char mac_enable; /* MAC addr enable flags */ 239 __be16 vlan_enable; /* VLAN tag enable flags */ 257 __be32 rx_bytes; /* Rx bytes */ [all …]
|
/linux/drivers/net/hamradio/ |
H A D | z8530.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 33 #define RES_Rx_CRC 0x40 /* Reset Rx CRC Checker */ 39 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 40 #define TxINT_ENAB 0x2 /* Tx Int Enable */ 43 #define RxINT_DISAB 0 /* Rx Int Disable */ 44 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 45 #define INT_ALL_Rx 0x10 /* Int on all Rx Characters or error */ 50 #define WT_RDY_ENAB 0x80 /* Wait/Ready Enable */ 56 #define RxENABLE 0x1 /* Rx Enable */ 59 #define RxCRC_ENAB 0x8 /* Rx CRC Enable */ [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 58 /* Immediate Interrupt Rx (A.K.A. Low Latency Interrupt) */ 62 /* Receive Descriptor - Advanced */ 95 /* Transmit Descriptor - Advanced */ 117 #define E1000_ADVTXD_DCMD_VLE 0x40000000 /* VLAN pkt enable */ 118 #define E1000_ADVTXD_DCMD_TSE 0x80000000 /* TCP Seg enable */ 134 /* IPSec Encrypt Enable for ESP */ 141 #define E1000_TXDCTL_QUEUE_ENABLE 0x02000000 /* Enable specific Tx Queue */ 145 #define E1000_RXDCTL_QUEUE_ENABLE 0x02000000 /* Enable specific Rx Queue */ [all …]
|
/linux/drivers/tty/serial/ |
H A D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 38 * Per-SCC state for locking and the interrupt handler. 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 86 #define RES_Rx_CRC 0x40 /* Reset Rx CRC Checker */ 90 /* Write Register 1 (Tx/Rx/Ext Int Enable and WAIT/DMA Commands) */ 91 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 92 #define TxINT_ENAB 0x2 /* Tx Int Enable */ 95 #define RxINT_DISAB 0 /* Rx Int Disable */ 96 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 97 #define RxINT_ALL 0x10 /* Int on all Rx Characters or error */ [all …]
|
H A D | sunzilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 57 #define RES_Rx_CRC 0x40 /* Reset Rx CRC Checker */ 63 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 64 #define TxINT_ENAB 0x2 /* Tx Int Enable */ 67 #define RxINT_DISAB 0 /* Rx Int Disable */ 68 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 69 #define INT_ALL_Rx 0x10 /* Int on all Rx Characters or error */ 75 #define WT_RDY_ENAB 0x80 /* Wait/Ready Enable */ 81 #define RxENAB 0x1 /* Rx Enable */ [all …]
|
H A D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 65 #define RES_Rx_CRC 0x40 /* Reset Rx CRC Checker */ 71 #define EXT_INT_ENAB 0x1 /* Ext Int Enable */ 72 #define TxINT_ENAB 0x2 /* Tx Int Enable */ 75 #define RxINT_DISAB 0 /* Rx Int Disable */ 76 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 77 #define INT_ALL_Rx 0x10 /* Int on all Rx Characters or error */ 83 #define WT_RDY_ENAB 0x80 /* Wait/Ready Enable */ 89 #define RxENAB 0x1 /* Rx Enable */ [all …]
|
H A D | pmac_zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * of "escc" node (ie. ch-a or ch-b) 64 if (uap->flags & PMACZILOG_FLAG_IS_CHANNEL_A) in pmz_get_port_A() 66 return uap->mate; in pmz_get_port_A() 78 writeb(reg, port->control_reg); in read_zsreg() 79 return readb(port->control_reg); in read_zsreg() 85 writeb(reg, port->control_reg); in write_zsreg() 86 writeb(value, port->control_reg); in write_zsreg() 91 return readb(port->data_reg); in read_zsdata() 96 writeb(data, port->data_reg); in write_zsdata() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | defines.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 13 #define E1000_WUC_APME 0x00000001 /* APM Enable */ 14 #define E1000_WUC_PME_EN 0x00000002 /* PME Enable */ 20 #define E1000_WUFC_LNKC 0x00000001 /* Link Status Change Wakeup Enable */ 21 #define E1000_WUFC_MAG 0x00000002 /* Magic Packet Wakeup Enable */ 22 #define E1000_WUFC_EX 0x00000004 /* Directed Exact Wakeup Enable */ 23 #define E1000_WUFC_MC 0x00000008 /* Directed Multicast Wakeup Enable */ 24 #define E1000_WUFC_BC 0x00000010 /* Broadcast Wakeup Enable */ 25 #define E1000_WUFC_ARP 0x00000020 /* ARP Request Packet Wakeup Enable */ [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2006 Intel Corporation. */ 422 /* MAC decode size is 128K - This is the size of BAR0 */ 443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) 486 * E1000_RAR_ENTRIES - 1 multicast addresses. 503 /* Receive Descriptor - Extended */ 511 __le32 mrq; /* Multiple Rx Queues */ 529 /* Receive Descriptor - Packet Split */ 537 __le32 mrq; /* Multiple Rx Queues */ 553 __le16 length[3]; /* length of buffers 1-3 */ [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 42 PCI_ENA_L1_EVENT = 1<<7, /* Enable PEX L1 Event */ [all …]
|
H A D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 154 PC_VAUX_ENA = 1<<7, /* Switch VAUX Enable */ 156 PC_VCC_ENA = 1<<5, /* Switch VCC Enable */ 221 IS_NO_STAT_M1 = 1<<9, /* No Rx Status from MAC 1 */ 222 IS_NO_STAT_M2 = 1<<8, /* No Rx Status from MAC 2 */ 246 TST_CFG_WRITE_ON = 1<<1, /* Enable Config Reg WR */ 262 CHIP_ID_YUKON_LITE = 0xb1, /* Chip ID for YUKON-Lite (Rev. A1-A3) */ [all …]
|
/linux/sound/soc/loongson/ |
H A D | loongson_i2s.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define LS_I2S_RX_DATA 0x0C /* I2S DMA RX Address */ 27 #define LS_I2S_RX_ORDER 0x110 /* RX DMA Order */ 33 #define I2S_CTRL_RX_EN BIT(13) /* RX enable */ 34 #define I2S_CTRL_TX_EN BIT(12) /* TX enable */ 35 #define I2S_CTRL_RX_DMA_EN BIT(11) /* DMA RX enable */ 37 #define I2S_CTRL_TX_DMA_EN BIT(7) /* DMA TX enable */ 39 #define I2S_CTRL_MCLK_EN BIT(3) /* Enable MCLK */ 40 #define I2S_CTRL_RX_INT_EN BIT(1) /* RX interrupt enable */ 41 #define I2S_CTRL_TX_INT_EN BIT(0) /* TX interrupt enable */ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
H A D | mlxbf_gige_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-3-Clause 5 * Copyright (C) 2020-2021 NVIDIA CORPORATION & AFFILIATES 16 void __iomem *base = priv->base; in mlxbf_gige_enable_multicast_rx() 26 void __iomem *base = priv->base; in mlxbf_gige_disable_multicast_rx() 37 void __iomem *base = priv->base; in mlxbf_gige_enable_mac_rx_filter() 40 /* Enable MAC receive filter mask for specified index */ in mlxbf_gige_enable_mac_rx_filter() 49 void __iomem *base = priv->base; in mlxbf_gige_disable_mac_rx_filter() 61 void __iomem *base = priv->base; in mlxbf_gige_set_mac_rx_filter() 63 /* Write destination MAC to specified MAC RX filter */ in mlxbf_gige_set_mac_rx_filter() 71 void __iomem *base = priv->base; in mlxbf_gige_get_mac_rx_filter() [all …]
|
/linux/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 1999 - 2010 Intel Corporation. 26 * pch_gbe_regs_mac_adr - Structure holding values of mac address registers 35 * pch_udc_regs - Structure holding values of MAC registers 92 /* Interrupt Enable */ 119 #define PCH_GBE_RX_RST 0x00004000 /* RX MAC, RX FIFO, RX DMA reset */ 122 #define PCH_GBE_EX_LIST_EN 0x00000008 /* External List Enable */ 123 #define PCH_GBE_RX_TCPIPACC_OFF 0x00000004 /* RX TCP/IP ACC Disabled */ 124 #define PCH_GBE_TX_TCPIPACC_EN 0x00000002 /* TX TCP/IP ACC Enable */ 125 #define PCH_GBE_RX_TCPIPACC_EN 0x00000001 /* RX TCP/IP ACC Enable */ [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | m54xxpci.h | 4 * m54xxpci.h -- ColdFire 547x and 548x PCI bus support 60 #define PCIRPSR (CONFIG_MBAR + 0x8480) /* RX packet size */ 61 #define PCIRSAR (CONFIG_MBAR + 0x8484) /* RX start address */ 62 #define PCIRTCR (CONFIG_MBAR + 0x8488) /* RX transaction control */ 63 #define PCIRER (CONFIG_MBAR + 0x848c) /* RX enables */ 64 #define PCIRNAR (CONFIG_MBAR + 0x8490) /* RX next address */ 65 #define PCIRDCR (CONFIG_MBAR + 0x8498) /* RX done counts */ 66 #define PCIRSR (CONFIG_MBAR + 0x849c) /* RX status */ 67 #define PCIRFDR (CONFIG_MBAR + 0x84c0) /* RX FIFO data */ 68 #define PCIRFSR (CONFIG_MBAR + 0x84c4) /* RX FIFO status */ [all …]
|
/linux/drivers/media/rc/ |
H A D | ene_ir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #define ENE_STATUS 0 /* hardware status - unused */ 24 #define ENE_FW1_ENABLE 0x01 /* enable fw processing */ 30 #define ENE_FW1_WPATTERN 0x20 /* enable wake pattern */ 31 #define ENE_FW1_WAKE 0x40 /* enable wake from S3 */ 32 #define ENE_FW1_IRQ 0x80 /* enable interrupt */ 37 #define ENE_FW2_RXIRQ 0x04 /* RX IRQ pending*/ 45 /* firmware RX pointer for new style buffer */ 56 #define ENE_GPIOFS1_GPIO0D 0x20 /* enable tx output on GPIO0D */ 58 #define ENE_GPIOFS8_GPIO41 0x02 /* enable tx output on GPIO40 */ [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_sl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Texas Instruments Ethernet Switch media-access-controller (MAC) submodule/ 33 CPSW_SL_CTL_RX_FLOW_EN = BIT(3), /* Receive Flow Control Enable */ 34 CPSW_SL_CTL_TX_FLOW_EN = BIT(4), /* Transmit Flow Control Enable */ 35 CPSW_SL_CTL_GMII_EN = BIT(5), /* GMII Enable */ 36 CPSW_SL_CTL_TX_PACE = BIT(6), /* Transmit Pacing Enable */ 39 CPSW_SL_CTL_TX_SHORT_GAP_EN = BIT(10), /* Transmit Short Gap Enable */ 42 CPSW_SL_CTL_XGMII_EN = BIT(13), /* XGMII Enable */ 46 CPSW_SL_CTL_EXT_EN = BIT(18), /* External Control Enable */ 47 CPSW_SL_CTL_EXT_EN_RX_FLO = BIT(19), /* Ext RX Flow Control Enable */ [all …]
|