Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/can/
Dcan_mcp2515.c218 uint8_t data_idx = 0U; in mcp2515_convert_zcanframe_to_mcp2515frame() local
238 for (; data_idx < CAN_MAX_DLC; data_idx++) { in mcp2515_convert_zcanframe_to_mcp2515frame()
239 target[MCP2515_FRAME_OFFSET_D0 + data_idx] = in mcp2515_convert_zcanframe_to_mcp2515frame()
240 source->data[data_idx]; in mcp2515_convert_zcanframe_to_mcp2515frame()
247 uint8_t data_idx = 0U; in mcp2515_convert_mcp2515frame_to_zcanframe() local
267 for (; data_idx < CAN_MAX_DLC; data_idx++) { in mcp2515_convert_mcp2515frame_to_zcanframe()
268 target->data[data_idx] = source[MCP2515_FRAME_OFFSET_D0 + in mcp2515_convert_mcp2515frame_to_zcanframe()
269 data_idx]; in mcp2515_convert_mcp2515frame_to_zcanframe()