Lines Matching +full:16 +full:- +full:17

5  * SPDX-License-Identifier: Apache-2.0
46 #define MCP251XFD_RX_FIFO_SIZE_MAX (MCP251XFD_RAM_SIZE - MCP251XFD_RX_FIFO_START_ADDR)
82 /* MPC251x registers - mostly copied from Linux kernel implementation of driver */
101 #define MCP251XFD_REG_CON_ESIGM BIT(17)
102 #define MCP251XFD_REG_CON_RTXAT BIT(16)
120 #define MCP251XFD_REG_NBTCFG_TSEG1_MASK GENMASK(23, 16)
126 #define MCP251XFD_REG_DBTCFG_TSEG1_MASK GENMASK(20, 16)
133 #define MCP251XFD_REG_TDC_TDCMOD_MASK GENMASK(17, 16)
139 #define MCP251XFD_REG_TDC_TDCO_MIN -64
146 #define MCP251XFD_REG_TSCON_TSEOF BIT(17)
147 #define MCP251XFD_REG_TSCON_TBCEN BIT(16)
152 #define MCP251XFD_REG_VEC_TXCODE_MASK GENMASK(22, 16)
158 #define MCP251XFD_REG_INT_IE_MASK GENMASK(31, 16)
170 #define MCP251XFD_REG_INT_RXIE BIT(17)
171 #define MCP251XFD_REG_INT_TXIE BIT(16)
202 #define MCP251XFD_REG_TREC_RXWARN BIT(17)
203 #define MCP251XFD_REG_TREC_EWARN BIT(16)
209 #define MCP251XFD_REG_BDIAG0_DRERRCNT_MASK GENMASK(23, 16)
226 #define MCP251XFD_REG_BDIAG1_NBIT1ERR BIT(17)
227 #define MCP251XFD_REG_BDIAG1_NBIT0ERR BIT(16)
271 #define MCP251XFD_REG_TXQCON_TXPRI_MASK GENMASK(20, 16)
306 #define MCP251XFD_REG_FIFOCON_TXPRI_MASK GENMASK(20, 16)
367 #define MCP251XFD_REG_FRAME_EFF_EID_MASK GENMASK(17, 0)
390 #define MCP251XFD_REG_IOCON_GPIO1 BIT(17)
391 #define MCP251XFD_REG_IOCON_GPIO0 BIT(16)
401 #define MCP251XFD_REG_CRC_FERRIF BIT(17)
402 #define MCP251XFD_REG_CRC_CRCERRIF BIT(16)
403 #define MCP251XFD_REG_CRC_IF_MASK GENMASK(17, 16)
413 #define MCP251XFD_REG_ECCSTAT_ERRADDR_MASK GENMASK(27, 16)
467 uint8_t _unused[4 - (MCP251XFD_SPI_HEADER_LEN % 4)]; /* so that buf is 4-byte aligned */