/Zephyr-latest/tests/drivers/can/api/src/ |
D | common.h | 63 extern const struct can_frame test_std_frame_1; 68 extern const struct can_frame test_std_frame_2; 73 extern const struct can_frame test_ext_frame_1; 78 extern const struct can_frame test_ext_frame_2; 83 extern const struct can_frame test_std_rtr_frame_1; 88 extern const struct can_frame test_ext_rtr_frame_1; 94 extern const struct can_frame test_std_fdf_frame_1; 99 extern const struct can_frame test_std_fdf_frame_2; 163 void assert_frame_equal(const struct can_frame *frame1, 164 const struct can_frame *frame2,
|
D | common.c | 28 const struct can_frame test_std_frame_1 = { 38 const struct can_frame test_std_frame_2 = { 48 const struct can_frame test_ext_frame_1 = { 58 const struct can_frame test_ext_frame_2 = { 68 const struct can_frame test_std_rtr_frame_1 = { 78 const struct can_frame test_ext_rtr_frame_1 = { 89 const struct can_frame test_std_fdf_frame_1 = { 103 const struct can_frame test_std_fdf_frame_2 = { 212 void assert_frame_equal(const struct can_frame *frame1, in assert_frame_equal() 213 const struct can_frame *frame2, in assert_frame_equal()
|
D | classic.c | 27 const struct can_frame *frame = user_data; in tx_std_callback_1() 42 const struct can_frame *frame = user_data; in tx_std_callback_2() 57 const struct can_frame *frame = user_data; in tx_ext_callback_1() 72 const struct can_frame *frame = user_data; in tx_ext_callback_2() 85 static void rx_std_callback_1(const struct device *dev, struct can_frame *frame, in rx_std_callback_1() 102 static void rx_std_callback_2(const struct device *dev, struct can_frame *frame, in rx_std_callback_2() 119 static void rx_std_mask_callback_1(const struct device *dev, struct can_frame *frame, in rx_std_mask_callback_1() 136 static void rx_std_mask_callback_2(const struct device *dev, struct can_frame *frame, in rx_std_mask_callback_2() 153 static void rx_ext_callback_1(const struct device *dev, struct can_frame *frame, in rx_ext_callback_1() 170 static void rx_ext_callback_2(const struct device *dev, struct can_frame *frame, in rx_ext_callback_2() [all …]
|
D | canfd.c | 22 const struct can_frame *frame = user_data; in tx_std_callback_1() 32 const struct can_frame *frame = user_data; in tx_std_callback_2() 40 static void rx_std_callback_1(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_1() 51 static void rx_std_callback_2(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_2() 62 static void rx_std_callback_fd_1(const struct device *dev, struct can_frame *frame, in rx_std_callback_fd_1() 74 static void rx_std_callback_fd_2(const struct device *dev, struct can_frame *frame, in rx_std_callback_fd_2() 95 static void send_test_frame(const struct device *dev, const struct can_frame *frame) in send_test_frame() 114 static void send_test_frame_nowait(const struct device *dev, const struct can_frame *frame, in send_test_frame_nowait() 177 const struct can_frame *frame1, in send_receive() 178 const struct can_frame *frame2) in send_receive() [all …]
|
/Zephyr-latest/drivers/net/ |
D | canbus.c | 30 static void net_canbus_recv(const struct device *dev, struct can_frame *frame, void *user_data) in net_canbus_recv() 39 pkt = net_pkt_rx_alloc_with_buffer(ctx->iface, sizeof(struct can_frame), in net_canbus_recv() 46 if (net_pkt_write(pkt, frame, sizeof(struct can_frame))) { in net_canbus_recv() 111 ret = can_send(cfg->can_dev, (struct can_frame *)pkt->frags->data, in net_canbus_send()
|
/Zephyr-latest/tests/drivers/can/shell/src/ |
D | main.c | 29 static struct can_frame frame_capture; 48 static void assert_can_frame_equal(const struct can_frame *f1, const struct can_frame *f2) in assert_can_frame_equal() 77 static int can_shell_test_capture_frame(const struct device *dev, const struct can_frame *frame, in can_shell_test_capture_frame() 365 static void can_shell_test_send(const char *cmd, const struct can_frame *expected) in can_shell_test_send() 381 const struct can_frame expected = { in ZTEST() 393 const struct can_frame expected = { in ZTEST() 405 const struct can_frame expected = { in ZTEST() 417 const struct can_frame expected = { in ZTEST() 429 const struct can_frame expected = { in ZTEST() 441 const struct can_frame expected = { in ZTEST() [all …]
|
/Zephyr-latest/samples/drivers/can/counter/src/ |
D | main.c | 70 struct can_frame frame; in rx_thread() 95 struct can_frame frame; in change_led_work_handler() 197 struct can_frame change_led_frame = { in main() 202 struct can_frame counter_frame = { in main()
|
/Zephyr-latest/tests/net/socket/can/src/ |
D | main.c | 21 struct can_frame expected = { 0 }; in ZTEST() 22 struct can_frame zframe; in ZTEST() 64 struct can_frame zframe = { 0 }; in ZTEST()
|
/Zephyr-latest/include/zephyr/net/ |
D | socketcan_utils.h | 36 struct can_frame *zframe) in socketcan_to_can_frame() 59 static inline void socketcan_from_can_frame(const struct can_frame *zframe, in socketcan_from_can_frame()
|
/Zephyr-latest/include/zephyr/drivers/can/ |
D | can_fake.h | 30 DECLARE_FAKE_VALUE_FUNC(int, fake_can_send, const struct device *, const struct can_frame *,
|
D | can_sja1000.h | 219 int can_sja1000_send(const struct device *dev, const struct can_frame *frame, k_timeout_t timeout,
|
/Zephyr-latest/drivers/can/ |
D | can_loopback.c | 21 struct can_frame frame; 49 const struct can_frame *frame, in receive_frame() 52 struct can_frame frame_tmp = *frame; in receive_frame() 106 const struct can_frame *frame, in can_loopback_send()
|
D | can_native_linux.c | 53 static void dispatch_frame(const struct device *dev, struct can_frame *frame) in dispatch_frame() 57 struct can_frame tmp_frame; in dispatch_frame() 85 struct can_frame frame; in rx_thread() 131 static int can_native_linux_send(const struct device *dev, const struct can_frame *frame, in can_native_linux_send()
|
D | can_handlers.c | 204 const struct can_frame *frame, in z_vrfy_can_send() 209 struct can_frame frame_copy; in z_vrfy_can_send()
|
D | can_mcp2515.c | 200 static void mcp2515_convert_canframe_to_mcp2515frame(const struct can_frame in mcp2515_convert_canframe_to_mcp2515frame() 234 struct can_frame *target) in mcp2515_convert_mcp2515frame_to_canframe() 529 const struct can_frame *frame, in mcp2515_send() 661 struct can_frame *frame) in mcp2515_rx_filter() 666 struct can_frame tmp_frame; in mcp2515_rx_filter() 699 struct can_frame frame; in mcp2515_rx()
|
D | can_fake.c | 40 DEFINE_FAKE_VALUE_FUNC(int, fake_can_send, const struct device *, const struct can_frame *,
|
D | can_sja1000.c | 274 static void can_sja1000_read_frame(const struct device *dev, struct can_frame *frame) in can_sja1000_read_frame() 329 void can_sja1000_write_frame(const struct device *dev, const struct can_frame *frame) in can_sja1000_write_frame() 380 int can_sja1000_send(const struct device *dev, const struct can_frame *frame, k_timeout_t timeout, in can_sja1000_send() 572 struct can_frame frame; in can_sja1000_handle_receive_irq()
|
D | can_common.c | 34 int z_impl_can_send(const struct device *dev, const struct can_frame *frame, in z_impl_can_send() 106 static void can_msgq_put(const struct device *dev, struct can_frame *frame, void *user_data) in can_msgq_put()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | can.h | 163 struct can_frame { struct 292 typedef void (*can_rx_callback_t)(const struct device *dev, struct can_frame *frame, 451 const struct can_frame *frame, 1276 __syscall int can_send(const struct device *dev, const struct can_frame *frame, 1325 K_MSGQ_DEFINE(name, sizeof(struct can_frame), max_frames, 4) 1716 static inline bool can_frame_matches_filter(const struct can_frame *frame, in can_frame_matches_filter()
|
/Zephyr-latest/samples/net/sockets/can/src/ |
D | main.c | 49 struct can_frame zframe = {0}; in tx() 111 struct can_frame zframe; in rx()
|
/Zephyr-latest/subsys/canbus/isotp/ |
D | isotp.c | 44 static inline void prepare_frame(struct can_frame *frame, struct isotp_msg_id *addr) in prepare_frame() 137 struct can_frame frame; in receive_send_fc() 380 static void process_ff_sf(struct isotp_recv_ctx *rctx, struct can_frame *frame) in process_ff_sf() 484 static void process_cf(struct isotp_recv_ctx *rctx, struct can_frame *frame) in process_cf() 554 static void receive_can_rx(const struct device *dev, struct can_frame *frame, void *arg) in receive_can_rx() 791 static void send_process_fc(struct isotp_send_ctx *sctx, struct can_frame *frame) in send_process_fc() 850 static void send_can_rx_cb(const struct device *dev, struct can_frame *frame, void *arg) in send_can_rx_cb() 897 struct can_frame frame; in send_sf() 948 struct can_frame frame; in send_ff() 988 struct can_frame frame; in send_cf()
|
/Zephyr-latest/samples/drivers/can/babbling/src/ |
D | main.c | 49 struct can_frame frame = {0}; in main()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | sockets_can.c | 104 struct can_frame *zframe = in zcan_received_cb() 105 (struct can_frame *)net_pkt_data(pkt); in zcan_received_cb() 230 struct can_frame zframe; in zcan_sendto_ctx() 280 struct can_frame zframe; in zcan_recvfrom_ctx()
|
/Zephyr-latest/modules/canopennode/ |
D | CO_driver.c | 88 static void canopen_rx_callback(const struct device *dev, struct can_frame *frame, void *user_data) in canopen_rx_callback() 147 struct can_frame frame; in canopen_tx_retry() 391 struct can_frame frame; in CO_CANsend()
|
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/ |
D | main.c | 263 struct can_frame frame = { in send_frame_series() 284 struct can_frame frame; in check_frame_series() 597 struct can_frame dummy_frame; in ZTEST() 700 struct can_frame dummy_frame; in ZTEST() 847 struct can_frame raw_frame; in ZTEST() 1030 struct can_frame frame = {}; in ZTEST()
|