Home
last modified time | relevance | path

Searched refs:can_send (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c229 err = can_send(dev, frame, TEST_SEND_TIMEOUT, NULL, NULL); in send_test_frame()
249 err = can_send(dev, frame, TEST_SEND_TIMEOUT, callback, (void *)frame); in send_test_frame_nowait()
409 err = can_send(can_dev, rtr_frame, TEST_SEND_TIMEOUT, NULL, NULL); in send_receive_rtr()
822 err = can_send(dev, frame, TEST_SEND_TIMEOUT, NULL, NULL); in send_invalid_frame()
911 err = can_send(can_dev, &frame, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST()
1022 err = can_send(can_dev, &test_std_rtr_frame_1, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST_USER()
1049 err = can_send(can_dev, &test_ext_rtr_frame_1, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST_USER()
1093 err = can_send(can_dev, &frame, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST_USER()
1109 err = can_send(can_dev, &frame, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST_USER()
1371 err = can_send(can_dev, &test_std_frame_1, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST_USER()
Dcanfd.c99 err = can_send(dev, frame, TEST_SEND_TIMEOUT, NULL, NULL); in send_test_frame()
119 err = can_send(dev, frame, TEST_SEND_TIMEOUT, callback, (void *)frame); in send_test_frame_nowait()
255 err = can_send(can_dev, &frame, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST()
274 err = can_send(can_dev, &frame, TEST_SEND_TIMEOUT, NULL, NULL); in ZTEST()
/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c287 can_send(can_dev, &change_led_frame, K_FOREVER, in main()
296 can_send(can_dev, &counter_frame, K_MSEC(100), NULL, NULL); in main()
/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c126 err = can_send(dev, &frame, K_NO_WAIT, can_tx_callback, &tx_queue_sem); in main()
/Zephyr-latest/subsys/bluetooth/audio/
Dbap_stream.c142 info->can_send = false; in bt_bap_ep_get_info()
146 info->can_send = true; in bt_bap_ep_get_info()
154 info->can_send = dir == BT_AUDIO_DIR_SINK; in bt_bap_ep_get_info()
160 info->can_send = dir == BT_AUDIO_DIR_SOURCE; in bt_bap_ep_get_info()
355 return info.can_send; in bt_bap_stream_can_send()
/Zephyr-latest/drivers/net/
Dcanbus.c111 ret = can_send(cfg->can_dev, (struct can_frame *)pkt->frags->data, in net_canbus_send()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_stream_tx.c199 return info.can_send; in bap_stream_tx_can_send()
Dbap_broadcast_source_test.c193 if (!info.can_send) { in stream_started_cb()
Dbap_broadcast_sink_test.c574 if (info.can_send) { in stream_started_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_audio_stream.c214 return info.can_send; in btp_bap_audio_stream_can_send()
/Zephyr-latest/modules/canopennode/
DCO_driver.c164 err = can_send(CANmodule->dev, &frame, K_NO_WAIT, in canopen_tx_retry()
416 err = can_send(CANmodule->dev, &frame, K_NO_WAIT, canopen_tx_callback, in CO_CANsend()
/Zephyr-latest/scripts/coccinelle/
Dms_timeout.cocci144 (can_send
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h1072 bool can_send; member
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c164 ret = can_send(rctx->can_dev, &frame, K_MSEC(ISOTP_A_TIMEOUT_MS), receive_can_tx, rctx); in receive_send_fc()
942 ret = can_send(sctx->can_dev, &frame, K_MSEC(ISOTP_A_TIMEOUT_MS), send_can_tx_cb, sctx); in send_sf()
982 ret = can_send(sctx->can_dev, &frame, K_MSEC(ISOTP_A_TIMEOUT_MS), send_can_tx_cb, sctx); in send_ff()
1024 ret = can_send(sctx->can_dev, &frame, K_MSEC(ISOTP_A_TIMEOUT_MS), send_can_tx_cb, sctx); in send_cf()
/Zephyr-latest/subsys/bluetooth/host/
Diso.c279 if (tx_qos != NULL && iso->iso.info.can_send) { in bt_iso_setup_data_path()
841 if (!iso_conn->iso.info.can_send) { in validate_send()
1155 iso_conn->info.can_send = false; in store_cis_info()
1158 iso_conn->info.can_send = true; in store_cis_info()
1160 iso_conn->info.can_send = true; in store_cis_info()
3133 info->can_send = true; in store_bis_broadcaster_info()
3324 info->can_send = false; in store_bis_sync_receiver_info()
/Zephyr-latest/doc/hardware/peripherals/can/
Dcontroller.rst141 ret = can_send(can_dev, &frame, K_MSEC(100), NULL, NULL);
175 return can_send(can_dev, &frame, K_FOREVER, tx_callback, "Sender 1");
/Zephyr-latest/include/zephyr/drivers/
Dcan.h1276 __syscall int can_send(const struct device *dev, const struct can_frame *frame,
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dmain.c253 return info.can_send; in stream_tx_can_send()
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dbap.h713 bool can_send; member
/Zephyr-latest/drivers/can/
Dcan_shell.c833 err = can_send(dev, &frame, K_NO_WAIT, can_shell_tx_callback, UINT_TO_POINTER(frame_no)); in cmd_can_send()
/Zephyr-latest/samples/bluetooth/iso_connected_benchmark/src/
Dmain.c203 if (!chan_work->info.can_send) { in iso_send()
/Zephyr-latest/tests/subsys/canbus/isotp/conformance/src/
Dmain.c274 ret = can_send(can_dev, &frame, K_MSEC(500), NULL, NULL); in send_frame_series()
/Zephyr-latest/doc/releases/
Drelease-notes-3.0.rst194 * :c:func:`can_write` is deprecated in favor of utilizing :c:func:`can_send`.
475 to fail early in :c:func:`can_send` if in :c:macro:`CAN_STATE_BUS_OFF`.
Drelease-notes-3.2.rst90 * The error code for :c:func:`can_send` when the CAN controller is in bus off state has been
/Zephyr-latest/subsys/bluetooth/audio/shell/
Dbap.c2932 sh_stream->is_tx = info.can_send; in stream_started_cb()

12