Home
last modified time | relevance | path

Searched refs:MCP251XFD_REG_CON (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.h87 #define MCP251XFD_REG_CON 0x00 macro
117 #define MCP251XFD_REG_CON_B2 (MCP251XFD_REG_CON + 2)
118 #define MCP251XFD_REG_CON_B3 (MCP251XFD_REG_CON + 3)
Dcan_mcp251xfd.c318 reg = mcp251xfd_read_crc(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_set_mode_internal()
352 ret = mcp251xfd_write(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_set_mode_internal()
354 LOG_ERR("Failed to write REG_CON register [%d]", MCP251XFD_REG_CON); in mcp251xfd_set_mode_internal()
359 dev, MCP251XFD_REG_CON, FIELD_PREP(MCP251XFD_REG_CON_OPMOD_MASK, requested_mode), in mcp251xfd_set_mode_internal()
1347 return mcp251xfd_write(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_init_con_reg()
1603 reg = mcp251xfd_read_crc(dev, MCP251XFD_REG_CON, MCP251XFD_REG_SIZE); in mcp251xfd_init()