Searched refs:MCP251XFD_REG_SIZE (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/can/ |
D | can_mcp251xfd.c | 170 regs = mcp251xfd_read_crc(dev, MCP251XFD_REG_TXQSTA, MCP251XFD_REG_SIZE * 2); in mcp251xfd_fifo_write() 264 reg = mcp251xfd_read_crc(dev, addr, MCP251XFD_REG_SIZE); in mcp251xfd_reg_check_value_wtimeout() 306 return mcp251xfd_write(dev, MCP251XFD_REG_TDC, MCP251XFD_REG_SIZE); in mcp251xfd_set_tdc() 318 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() 430 ret = mcp251xfd_write(dev, MCP251XFD_REG_NBTCFG, MCP251XFD_REG_SIZE); in mcp251xfd_set_timing() 472 ret = mcp251xfd_write(dev, MCP251XFD_REG_DBTCFG, MCP251XFD_REG_SIZE); in mcp251xfd_set_timing_data() 581 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTOBJ(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_add_rx_filter() 598 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTMASK(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_add_rx_filter() 653 ret = mcp251xfd_write(dev, MCP251XFD_REG_FLTCON(filter_idx), MCP251XFD_REG_SIZE); in mcp251xfd_remove_rx_filter() [all …]
|
D | can_mcp251xfd.h | 53 #define MCP251XFD_REG_SIZE 4 macro 366 #define MCP251XFD_OBJ_HEADER_SIZE (MCP251XFD_OBJ_DATA_OFFSET * MCP251XFD_REG_SIZE) 462 (MCP251XFD_SPI_CRC_LEN + 2 * MCP251XFD_REG_SIZE)
|