Home
last modified time | relevance | path

Searched refs:can_filter (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/tests/drivers/can/api/src/
Dcommon.h106 extern const struct can_filter test_std_filter_1;
112 extern const struct can_filter test_std_filter_2;
118 extern const struct can_filter test_std_masked_filter_1;
124 extern const struct can_filter test_std_masked_filter_2;
130 extern const struct can_filter test_ext_filter_1;
136 extern const struct can_filter test_ext_filter_2;
142 extern const struct can_filter test_ext_masked_filter_1;
148 extern const struct can_filter test_ext_masked_filter_2;
154 extern const struct can_filter test_std_some_filter;
Dcommon.c119 const struct can_filter test_std_filter_1 = {
129 const struct can_filter test_std_filter_2 = {
139 const struct can_filter test_std_masked_filter_1 = {
149 const struct can_filter test_std_masked_filter_2 = {
159 const struct can_filter test_ext_filter_1 = {
169 const struct can_filter test_ext_filter_2 = {
179 const struct can_filter test_ext_masked_filter_1 = {
189 const struct can_filter test_ext_masked_filter_2 = {
199 const struct can_filter test_std_some_filter = {
Dcanfd.c42 struct can_filter *filter = user_data; in rx_std_callback_1()
53 struct can_filter *filter = user_data; in rx_std_callback_2()
65 struct can_filter *filter = user_data; in rx_std_callback_fd_1()
77 struct can_filter *filter = user_data; in rx_std_callback_fd_2()
132 static inline int add_rx_msgq(const struct device *dev, const struct can_filter *filter) in add_rx_msgq()
153 const struct can_filter *filter, in add_rx_filter()
175 static void send_receive(const struct can_filter *filter1, in send_receive()
176 const struct can_filter *filter2, in send_receive()
Dclassic.c88 struct can_filter *filter = user_data; in rx_std_callback_1()
105 struct can_filter *filter = user_data; in rx_std_callback_2()
122 struct can_filter *filter = user_data; in rx_std_mask_callback_1()
139 struct can_filter *filter = user_data; in rx_std_mask_callback_2()
156 struct can_filter *filter = user_data; in rx_ext_callback_1()
173 struct can_filter *filter = user_data; in rx_ext_callback_2()
190 struct can_filter *filter = user_data; in rx_ext_mask_callback_1()
207 struct can_filter *filter = user_data; in rx_ext_mask_callback_2()
262 static inline int add_rx_msgq(const struct device *dev, const struct can_filter *filter) in add_rx_msgq()
283 const struct can_filter *filter, in add_rx_filter()
[all …]
Dutilities.c69 const struct can_filter test_ext_filter_std_id_1 = { in ZTEST()
/Zephyr-latest/tests/drivers/can/shell/src/
Dmain.c28 static struct can_filter filter_capture;
41 static void assert_can_filter_equal(const struct can_filter *f1, const struct can_filter *f2) in assert_can_filter_equal()
66 void *user_data, const struct can_filter *filter) in can_shell_test_capture_filter()
474 static void can_shell_test_filter_add(const char *cmd, const struct can_filter *expected) in can_shell_test_filter_add()
491 struct can_filter expected = { in ZTEST()
502 struct can_filter expected = { in ZTEST()
513 struct can_filter expected = { in ZTEST()
524 struct can_filter expected = { in ZTEST()
535 struct can_filter expected = { in ZTEST()
/Zephyr-latest/tests/drivers/can/host/pytest/
Dcan_shell.py162 for can_filter in filters:
163 can_id = can_filter['can_id']
164 can_mask = can_filter['can_mask']
165 extended = can_filter['extended'] if 'extended' in can_filter else False
/Zephyr-latest/tests/net/socket/can/src/
Dmain.c101 struct can_filter expected = { 0 }; in ZTEST()
102 struct can_filter zfilter = { 0 }; in ZTEST()
129 struct can_filter zfilter = { 0 }; in ZTEST()
/Zephyr-latest/include/zephyr/net/
Dsocketcan_utils.h90 struct can_filter *zfilter) in socketcan_to_can_filter()
105 static inline void socketcan_from_can_filter(const struct can_filter *zfilter, in socketcan_from_can_filter()
/Zephyr-latest/include/zephyr/drivers/can/
Dcan_fake.h34 void *, const struct can_filter *);
Dcan_sja1000.h156 struct can_filter filter;
227 const struct can_filter *filter);
/Zephyr-latest/include/zephyr/drivers/
Dcan.h209 struct can_filter { struct
462 const struct can_filter *filter);
1312 void *user_data, const struct can_filter *filter);
1354 const struct can_filter *filter);
1717 const struct can_filter *filter) in can_frame_matches_filter()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.h42 struct can_filter filter[CONFIG_CAN_MAX_FILTER];
Dcan_handlers.c221 const struct can_filter *filter) in z_vrfy_can_add_rx_filter_msgq()
223 struct can_filter filter_copy; in z_vrfy_can_add_rx_filter_msgq()
Dcan_fake.c44 void *, const struct can_filter *);
Dcan_stm32_bxcan.c868 static inline uint32_t can_stm32_filter_to_std_mask(const struct can_filter *filter) in can_stm32_filter_to_std_mask()
877 static inline uint32_t can_stm32_filter_to_ext_mask(const struct can_filter *filter) in can_stm32_filter_to_ext_mask()
886 static inline uint32_t can_stm32_filter_to_std_id(const struct can_filter *filter) in can_stm32_filter_to_std_id()
891 static inline uint32_t can_stm32_filter_to_ext_id(const struct can_filter *filter) in can_stm32_filter_to_ext_id()
897 static inline int can_stm32_set_filter(const struct device *dev, const struct can_filter *filter) in can_stm32_set_filter()
969 void *cb_arg, const struct can_filter *filter) in can_stm32_add_rx_filter()
Dcan_loopback.c29 struct can_filter filter;
176 void *cb_arg, const struct can_filter *filter) in can_loopback_add_rx_filter()
Dcan_common.c79 void *user_data, const struct can_filter *filter) in can_add_rx_filter()
122 const struct can_filter *filter) in z_impl_can_add_rx_filter_msgq()
Dcan_native_linux.c30 struct can_filter filter;
199 void *cb_arg, const struct can_filter *filter) in can_native_linux_add_rx_filter()
Dcan_renesas_ra.c149 struct can_filter filter;
220 static void set_afl_rule(const struct device *dev, const struct can_filter *filter, in set_afl_rule()
632 void *user_data, const struct can_filter *filter) in can_renesas_ra_add_rx_filter()
646 memcpy(&data->rx_filter[filter_id].filter, filter, sizeof(struct can_filter)); in can_renesas_ra_add_rx_filter()
Dcan_sja1000.c437 const struct can_filter *filter) in can_sja1000_add_rx_filter()
476 data->filters[filter_id].filter = (struct can_filter){0}; in can_sja1000_remove_rx_filter()
Dcan_rcar.c195 struct can_filter filter[CONFIG_CAN_RCAR_MAX_FILTER];
958 const struct can_filter *filter) in can_rcar_add_rx_filter_unlocked()
977 void *cb_arg, const struct can_filter *filter) in can_rcar_add_rx_filter()
/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c65 const struct can_filter filter = { in rx_thread()
192 const struct can_filter change_led_filter = { in main()
/Zephyr-latest/drivers/net/
Dcanbus.c72 __ASSERT_NO_MSG(optlen == sizeof(struct can_filter)); in net_canbus_setsockopt()
/Zephyr-latest/samples/net/sockets/can/src/
Dmain.c34 static const struct can_filter zfilter = {

12