Searched refs:tx_err_cnt (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 151 if (err_cnt.tx_err_cnt != err_cnt_prev.tx_err_cnt || in poll_state_thread() 155 err_cnt_prev.tx_err_cnt = err_cnt.tx_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 | 481 errors = ((uint32_t)err_cnt.tx_err_cnt << 16) | in CO_CANverifyErrors() 497 (err_cnt.tx_err_cnt >= 96U)) { in CO_CANverifyErrors() 517 if (err_cnt.tx_err_cnt >= 128U && in CO_CANverifyErrors()
|
/Zephyr-latest/drivers/can/ |
D | can_sja1000.c | 546 err_cnt->tx_err_cnt = can_sja1000_read_reg(dev, CAN_SJA1000_TXERR); in can_sja1000_get_state() 741 err_cnt.tx_err_cnt = can_sja1000_read_reg(dev, CAN_SJA1000_TXERR); in can_sja1000_isr()
|
D | can_loopback.c | 335 err_cnt->tx_err_cnt = 0; in can_loopback_get_state()
|
D | can_native_linux.c | 371 err_cnt->tx_err_cnt = 0; in can_native_linux_get_state()
|
D | can_renesas_ra.c | 394 .tx_err_cnt = can_info.error_count_transmit, in can_renesas_ra_call_state_change_cb() 725 err_cnt->tx_err_cnt = fsp_info.error_count_transmit; in can_renesas_ra_get_state()
|
D | can_mcp251xfd.c | 690 err_cnt->tx_err_cnt = FIELD_GET(MCP251XFD_REG_TREC_TEC_MASK, tmp); in mcp251xfd_get_state() 898 LOG_INF("State %d -> %d (tx: %d, rx: %d)", dev_data->state, new_state, err_cnt.tx_err_cnt, in mcp251xfd_handle_cerrif()
|
D | can_mcp2515.c | 748 err_cnt->tx_err_cnt = err_cnt_buf[0]; in mcp2515_get_state()
|
D | can_shell.c | 391 shell_print(sh, "tx errors: %d", err_cnt.tx_err_cnt); in cmd_can_show()
|
D | can_xmc4xxx.c | 459 err_cnt->tx_err_cnt = tec; in can_xmc4xxx_get_state_from_status()
|
D | can_rcar.c | 230 err_cnt->tx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_TECR); in can_rcar_get_error_count()
|
D | can_stm32_bxcan.c | 178 err_cnt->tx_err_cnt = in can_stm32_get_state()
|
D | can_nxp_s32_canxl.c | 385 Canexcel_Ip_GetControllerTxErrorCounter(config->instance, &err_cnt->tx_err_cnt); in can_nxp_s32_get_state()
|
D | can_mcan.c | 880 err_cnt->tx_err_cnt = FIELD_GET(CAN_MCAN_ECR_TEC, reg); in can_mcan_get_state()
|
D | can_mcux_flexcan.c | 660 FLEXCAN_GetBusErrCount(config->base, &err_cnt->tx_err_cnt, in mcux_flexcan_get_state()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 225 uint8_t tx_err_cnt; member
|