Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c305 static void send_receive(const struct can_filter *filter1, in send_receive() argument
316 filter_id_1 = add_rx_msgq(can_dev, filter1); in send_receive()
324 if ((filter1->flags & CAN_FILTER_IDE) != 0) { in send_receive()
325 if (filter1->mask != CAN_EXT_ID_MASK) { in send_receive()
329 if (filter1->mask != CAN_STD_ID_MASK) { in send_receive()
340 if (filter1->mask == CAN_EXT_ID_MASK) { in send_receive()
341 filter_id_1 = add_rx_filter(can_dev, filter1, rx_ext_callback_1); in send_receive()
346 filter_id_1 = add_rx_filter(can_dev, filter1, rx_ext_mask_callback_1); in send_receive()
352 if (filter1->mask == CAN_STD_ID_MASK) { in send_receive()
353 filter_id_1 = add_rx_filter(can_dev, filter1, rx_std_callback_1); in send_receive()
[all …]
Dcanfd.c175 static void send_receive(const struct can_filter *filter1, in send_receive() argument
185 filter_id_1 = add_rx_msgq(can_dev, filter1); in send_receive()
197 filter_id_1 = add_rx_filter(can_dev, filter1, rx_std_callback_fd_1); in send_receive()
199 filter_id_1 = add_rx_filter(can_dev, filter1, rx_std_callback_1); in send_receive()