Searched refs:rx_err_cnt (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 152 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/ |
D | CO_driver.c | 482 ((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/ |
D | can_sja1000.c | 545 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()
|
D | can_loopback.c | 336 err_cnt->rx_err_cnt = 0; in can_loopback_get_state()
|
D | can_native_linux.c | 372 err_cnt->rx_err_cnt = 0; in can_native_linux_get_state()
|
D | can_renesas_ra.c | 393 .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()
|
D | can_mcp251xfd.c | 691 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()
|
D | can_mcp2515.c | 749 err_cnt->rx_err_cnt = err_cnt_buf[1]; in mcp2515_get_state()
|
D | can_shell.c | 390 shell_print(sh, "rx errors: %d", err_cnt.rx_err_cnt); in cmd_can_show()
|
D | can_xmc4xxx.c | 460 err_cnt->rx_err_cnt = rec; in can_xmc4xxx_get_state_from_status()
|
D | can_rcar.c | 231 err_cnt->rx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_RECR); in can_rcar_get_error_count()
|
D | can_stm32_bxcan.c | 180 err_cnt->rx_err_cnt = in can_stm32_get_state()
|
D | can_nxp_s32_canxl.c | 386 Canexcel_Ip_GetControllerRxErrorCounter(config->instance, &err_cnt->rx_err_cnt); in can_nxp_s32_get_state()
|
D | can_mcan.c | 881 err_cnt->rx_err_cnt = FIELD_GET(CAN_MCAN_ECR_REC, reg); in can_mcan_get_state()
|
D | can_mcux_flexcan.c | 661 &err_cnt->rx_err_cnt); in mcux_flexcan_get_state()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 227 uint8_t rx_err_cnt; member
|