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)
84 /* MPC251x registers - mostly copied from Linux kernel implementation of driver */
103 #define MCP251XFD_REG_CON_ESIGM BIT(17)
104 #define MCP251XFD_REG_CON_RTXAT BIT(16)
122 #define MCP251XFD_REG_NBTCFG_TSEG1_MASK GENMASK(23, 16)
128 #define MCP251XFD_REG_DBTCFG_TSEG1_MASK GENMASK(20, 16)
135 #define MCP251XFD_REG_TDC_TDCMOD_MASK GENMASK(17, 16)
141 #define MCP251XFD_REG_TDC_TDCO_MIN -64
148 #define MCP251XFD_REG_TSCON_TSEOF BIT(17)
149 #define MCP251XFD_REG_TSCON_TBCEN BIT(16)
154 #define MCP251XFD_REG_VEC_TXCODE_MASK GENMASK(22, 16)
160 #define MCP251XFD_REG_INT_IE_MASK GENMASK(31, 16)
172 #define MCP251XFD_REG_INT_RXIE BIT(17)
173 #define MCP251XFD_REG_INT_TXIE BIT(16)
204 #define MCP251XFD_REG_TREC_RXWARN BIT(17)
205 #define MCP251XFD_REG_TREC_EWARN BIT(16)
211 #define MCP251XFD_REG_BDIAG0_DRERRCNT_MASK GENMASK(23, 16)
228 #define MCP251XFD_REG_BDIAG1_NBIT1ERR BIT(17)
229 #define MCP251XFD_REG_BDIAG1_NBIT0ERR BIT(16)
273 #define MCP251XFD_REG_TXQCON_TXPRI_MASK GENMASK(20, 16)
308 #define MCP251XFD_REG_FIFOCON_TXPRI_MASK GENMASK(20, 16)
369 #define MCP251XFD_REG_FRAME_EFF_EID_MASK GENMASK(17, 0)
392 #define MCP251XFD_REG_IOCON_GPIO1 BIT(17)
393 #define MCP251XFD_REG_IOCON_GPIO0 BIT(16)
403 #define MCP251XFD_REG_CRC_FERRIF BIT(17)
404 #define MCP251XFD_REG_CRC_CRCERRIF BIT(16)
405 #define MCP251XFD_REG_CRC_IF_MASK GENMASK(17, 16)
415 #define MCP251XFD_REG_ECCSTAT_ERRADDR_MASK GENMASK(27, 16)
469 uint8_t _unused[4 - (MCP251XFD_SPI_HEADER_LEN % 4)]; /* so that buf is 4-byte aligned */