Searched refs:requested_mode (Results 1 – 1 of 1) sorted by relevance
309 static int mcp251xfd_set_mode_internal(const struct device *dev, uint8_t requested_mode) in mcp251xfd_set_mode_internal() argument327 if (opmod == requested_mode) { in mcp251xfd_set_mode_internal()333 if (requested_mode == MCP251XFD_REG_CON_MODE_CAN2_0 || in mcp251xfd_set_mode_internal()334 requested_mode == MCP251XFD_REG_CON_MODE_EXT_LOOPBACK || in mcp251xfd_set_mode_internal()335 requested_mode == MCP251XFD_REG_CON_MODE_INT_LOOPBACK) { in mcp251xfd_set_mode_internal()337 } else if (requested_mode == MCP251XFD_REG_CON_MODE_MIXED) { in mcp251xfd_set_mode_internal()348 reg_con |= FIELD_PREP(MCP251XFD_REG_CON_REQOP_MASK, requested_mode); in mcp251xfd_set_mode_internal()359 dev, MCP251XFD_REG_CON, FIELD_PREP(MCP251XFD_REG_CON_OPMOD_MASK, requested_mode), in mcp251xfd_set_mode_internal()