Searched refs:filter_index (Results 1 – 1 of 1) sorted by relevance
1030 int filter_index = filter_id - CONFIG_CAN_MAX_EXT_ID_FILTER; in can_stm32_remove_rx_filter() local1036 data->rx_cb_std[filter_index] = NULL; in can_stm32_remove_rx_filter()1037 data->cb_arg_std[filter_index] = NULL; in can_stm32_remove_rx_filter()1039 if (filter_index % 2 == 1) { in can_stm32_remove_rx_filter()1040 bank_unused = data->rx_cb_std[filter_index - 1] == NULL; in can_stm32_remove_rx_filter()1041 } else if (filter_index + 1 < CONFIG_CAN_MAX_STD_ID_FILTER) { in can_stm32_remove_rx_filter()1042 bank_unused = data->rx_cb_std[filter_index + 1] == NULL; in can_stm32_remove_rx_filter()