Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_mcux_flexcan.c109 struct mcux_flexcan_rx_callback rx_cbs[MCUX_FLEXCAN_MAX_RX]; member
198 __ASSERT_NO_MSG(alloc >= 0 && alloc < ARRAY_SIZE(data->rx_cbs)); in mcux_flexcan_mb_start()
204 xfer.framefd = &data->rx_cbs[alloc].frame.fd; in mcux_flexcan_mb_start()
206 &data->rx_cbs[alloc].mb_config, true); in mcux_flexcan_mb_start()
210 xfer.frame = &data->rx_cbs[alloc].frame.classic; in mcux_flexcan_mb_start()
212 &data->rx_cbs[alloc].mb_config, true); in mcux_flexcan_mb_start()
226 __ASSERT_NO_MSG(alloc >= 0 && alloc < ARRAY_SIZE(data->rx_cbs)); in mcux_flexcan_mb_stop()
798 mcux_flexcan_can_filter_to_mbconfig(filter, &data->rx_cbs[alloc].mb_config, in mcux_flexcan_add_rx_filter()
801 data->rx_cbs[alloc].arg = user_data; in mcux_flexcan_add_rx_filter()
802 data->rx_cbs[alloc].function = callback; in mcux_flexcan_add_rx_filter()
[all …]
Dcan_nxp_s32_canxl.c109 struct can_nxp_s32_rx_callback rx_cbs[CONFIG_CAN_NXP_S32_MAX_RX]; member
475 data->rx_cbs[filter_id].function = NULL; in can_nxp_s32_remove_rx_filter()
476 data->rx_cbs[filter_id].arg = NULL; in can_nxp_s32_remove_rx_filter()
477 data->rx_cbs[filter_id].filter = (struct can_filter){0}; in can_nxp_s32_remove_rx_filter()
516 data->rx_cbs[alloc].function = callback; in can_nxp_s32_add_rx_filter()
517 data->rx_cbs[alloc].arg = user_data; in can_nxp_s32_add_rx_filter()
518 data->rx_cbs[alloc].filter = *filter; in can_nxp_s32_add_rx_filter()
549 data->rx_cbs[alloc].rx_info = (Canexcel_Ip_DataInfoType) { in can_nxp_s32_add_rx_filter()
557 data->rx_cbs[alloc].rx_info.frame, mask); in can_nxp_s32_add_rx_filter()
560 &data->rx_cbs[alloc].rx_info); in can_nxp_s32_add_rx_filter()
[all …]