Lines Matching refs:rx_cbs
109 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()
899 rx_func = data->rx_cbs[alloc].function; in can_nxp_s32_ctrl_callback()
914 rx_func(dev, &frame, data->rx_cbs[alloc].arg); in can_nxp_s32_ctrl_callback()
923 rx_func = data->rx_cbs[alloc].function; in can_nxp_s32_ctrl_callback()
938 rx_func(dev, &frame, data->rx_cbs[alloc].arg); in can_nxp_s32_ctrl_callback()