Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcp251xfd.c1039 uint16_t *reg_int_hw; in mcp251xfd_handle_interrupts() local
1046 reg_int_hw = mcp251xfd_read_crc(dev, MCP251XFD_REG_INT, sizeof(*reg_int_hw)); in mcp251xfd_handle_interrupts()
1048 if (!reg_int_hw) { in mcp251xfd_handle_interrupts()
1053 *reg_int_hw = sys_le16_to_cpu(*reg_int_hw); in mcp251xfd_handle_interrupts()
1055 reg_int = *reg_int_hw; in mcp251xfd_handle_interrupts()
1060 *reg_int_hw &= ~MCP251XFD_REG_INT_IF_CLEARABLE_MASK; in mcp251xfd_handle_interrupts()
1062 *reg_int_hw = sys_cpu_to_le16(*reg_int_hw); in mcp251xfd_handle_interrupts()
1064 ret = mcp251xfd_write(dev, MCP251XFD_REG_INT, sizeof(*reg_int_hw)); in mcp251xfd_handle_interrupts()