Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c151 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/
DCO_driver.c481 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/
Dcan_sja1000.c546 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()
Dcan_loopback.c335 err_cnt->tx_err_cnt = 0; in can_loopback_get_state()
Dcan_native_linux.c371 err_cnt->tx_err_cnt = 0; in can_native_linux_get_state()
Dcan_renesas_ra.c394 .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()
Dcan_mcp251xfd.c690 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()
Dcan_mcp2515.c748 err_cnt->tx_err_cnt = err_cnt_buf[0]; in mcp2515_get_state()
Dcan_shell.c391 shell_print(sh, "tx errors: %d", err_cnt.tx_err_cnt); in cmd_can_show()
Dcan_xmc4xxx.c459 err_cnt->tx_err_cnt = tec; in can_xmc4xxx_get_state_from_status()
Dcan_rcar.c230 err_cnt->tx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_TECR); in can_rcar_get_error_count()
Dcan_stm32_bxcan.c178 err_cnt->tx_err_cnt = in can_stm32_get_state()
Dcan_nxp_s32_canxl.c385 Canexcel_Ip_GetControllerTxErrorCounter(config->instance, &err_cnt->tx_err_cnt); in can_nxp_s32_get_state()
Dcan_mcan.c880 err_cnt->tx_err_cnt = FIELD_GET(CAN_MCAN_ECR_TEC, reg); in can_mcan_get_state()
Dcan_mcux_flexcan.c660 FLEXCAN_GetBusErrCount(config->base, &err_cnt->tx_err_cnt, in mcux_flexcan_get_state()
/Zephyr-latest/include/zephyr/drivers/
Dcan.h225 uint8_t tx_err_cnt; member