Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c152 err_cnt.rx_err_cnt != err_cnt_prev.rx_err_cnt || in poll_state_thread()
156 err_cnt_prev.rx_err_cnt = err_cnt.rx_err_cnt; in poll_state_thread()
162 err_cnt.rx_err_cnt, err_cnt.tx_err_cnt); in poll_state_thread()
175 current_err_cnt.rx_err_cnt, current_err_cnt.tx_err_cnt); in state_change_work_handler()
/Zephyr-latest/modules/canopennode/
DCO_driver.c482 ((uint32_t)err_cnt.rx_err_cnt << 8) | in CO_CANverifyErrors()
496 if ((err_cnt.rx_err_cnt >= 96U) || in CO_CANverifyErrors()
507 if (err_cnt.rx_err_cnt >= 128U) { in CO_CANverifyErrors()
/Zephyr-latest/drivers/can/
Dcan_sja1000.c545 err_cnt->rx_err_cnt = can_sja1000_read_reg(dev, CAN_SJA1000_RXERR); in can_sja1000_get_state()
740 err_cnt.rx_err_cnt = can_sja1000_read_reg(dev, CAN_SJA1000_RXERR); in can_sja1000_isr()
Dcan_loopback.c336 err_cnt->rx_err_cnt = 0; in can_loopback_get_state()
Dcan_native_linux.c372 err_cnt->rx_err_cnt = 0; in can_native_linux_get_state()
Dcan_renesas_ra.c393 .rx_err_cnt = can_info.error_count_receive, in can_renesas_ra_call_state_change_cb()
726 err_cnt->rx_err_cnt = fsp_info.error_count_receive; in can_renesas_ra_get_state()
Dcan_mcp251xfd.c691 err_cnt->rx_err_cnt = FIELD_GET(MCP251XFD_REG_TREC_REC_MASK, tmp); in mcp251xfd_get_state()
899 err_cnt.rx_err_cnt); in mcp251xfd_handle_cerrif()
Dcan_mcp2515.c749 err_cnt->rx_err_cnt = err_cnt_buf[1]; in mcp2515_get_state()
Dcan_shell.c390 shell_print(sh, "rx errors: %d", err_cnt.rx_err_cnt); in cmd_can_show()
Dcan_xmc4xxx.c460 err_cnt->rx_err_cnt = rec; in can_xmc4xxx_get_state_from_status()
Dcan_rcar.c231 err_cnt->rx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_RECR); in can_rcar_get_error_count()
Dcan_stm32_bxcan.c180 err_cnt->rx_err_cnt = in can_stm32_get_state()
Dcan_nxp_s32_canxl.c386 Canexcel_Ip_GetControllerRxErrorCounter(config->instance, &err_cnt->rx_err_cnt); in can_nxp_s32_get_state()
Dcan_mcan.c881 err_cnt->rx_err_cnt = FIELD_GET(CAN_MCAN_ECR_REC, reg); in can_mcan_get_state()
Dcan_mcux_flexcan.c661 &err_cnt->rx_err_cnt); in mcux_flexcan_get_state()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h227 uint8_t rx_err_cnt; member