Home
last modified time | relevance | path

Searched refs:len_to_send (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/samples/bluetooth/central_iso/src/
Dmain.c51 static size_t len_to_send = 1; in iso_timer_timeout() local
64 net_buf_add_mem(buf, buf_data, len_to_send); in iso_timer_timeout()
75 len_to_send++; in iso_timer_timeout()
76 if (len_to_send > ARRAY_SIZE(buf_data)) { in iso_timer_timeout()
77 len_to_send = 1; in iso_timer_timeout()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_central.c32 static size_t len_to_send = 1; in send_data_cb() local
53 net_buf_add_mem(buf, buf_data, len_to_send); in send_data_cb()
66 len_to_send++; in send_data_cb()
67 if (len_to_send > ARRAY_SIZE(buf_data)) { in send_data_cb()
68 len_to_send = 1; in send_data_cb()
/Zephyr-Core-3.5.0/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c135 static size_t len_to_send = 1; in audio_timer_timeout() local
156 net_buf_add_mem(buf, buf_data, len_to_send); in audio_timer_timeout()
167 len_to_send, i, stream); in audio_timer_timeout()
173 len_to_send++; in audio_timer_timeout()
174 if (len_to_send > ARRAY_SIZE(buf_data)) { in audio_timer_timeout()
175 len_to_send = 1; in audio_timer_timeout()
/Zephyr-Core-3.5.0/subsys/ipc/ipc_service/lib/
Dicmsg_me.c275 size_t len_to_send; in icmsg_me_send_nocopy() local
280 len_to_send = user_buffer_len_to_icmsg_buffer_len(len); in icmsg_me_send_nocopy()
285 buffer_to_send, len_to_send); in icmsg_me_send_nocopy()
/Zephyr-Core-3.5.0/samples/bluetooth/tmap_central/src/
Dcap_initiator.c373 static size_t len_to_send; in audio_timer_timeout() local
376 len_to_send = unicast_preset_48_2_1.qos.sdu; in audio_timer_timeout()
389 net_buf_add_mem(buf, buf_data, len_to_send); in audio_timer_timeout()
397 printk("Sending mock data with len %zu\n", len_to_send); in audio_timer_timeout()
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_server/src/
Dmain.c48 size_t len_to_send; member
215 net_buf_add_mem(buf, buf_data, ++source_streams[i].len_to_send); in audio_timer_timeout()
226 source_streams[i].len_to_send, i, stream); in audio_timer_timeout()
229 if (source_streams[i].len_to_send >= source_streams[i].max_sdu) { in audio_timer_timeout()
230 source_streams[i].len_to_send = 0; in audio_timer_timeout()
406 source_streams[i].len_to_send = 0U; in lc3_start()
/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_mcux.c505 uint32_t len_to_send = data_len; in usb_dc_ep_write() local
526 len_to_send = dev_state.eps[ep_abs_idx].ep_mps; in usb_dc_ep_write()
529 for (uint32_t n = 0; n < len_to_send; n++) { in usb_dc_ep_write()
537 DCACHE_CleanByRange((uint32_t)buffer, len_to_send); in usb_dc_ep_write()
541 ep, buffer, len_to_send); in usb_dc_ep_write()
548 *ret_bytes = len_to_send; in usb_dc_ep_write()
Dusb_dc_kinetis.c597 uint32_t len_to_send = data_len; in usb_dc_ep_write() local
629 len_to_send = dev_data.ep_ctrl[ep_idx].mps_in; in usb_dc_ep_write()
632 bdt[bd_idx].set.bc = len_to_send; in usb_dc_ep_write()
634 for (uint32_t n = 0; n < len_to_send; n++) { in usb_dc_ep_write()
650 LOG_DBG("ep 0x%x write %d bytes from %d", ep, len_to_send, data_len); in usb_dc_ep_write()
653 *ret_bytes = len_to_send; in usb_dc_ep_write()
/Zephyr-Core-3.5.0/samples/bluetooth/unicast_audio_client/src/
Dmain.c302 static size_t len_to_send = 1; in audio_timer_timeout() local
315 net_buf_add_mem(buf, buf_data, len_to_send); in audio_timer_timeout()
342 len_to_send, i); in audio_timer_timeout()
348 len_to_send++; in audio_timer_timeout()
349 if (len_to_send > codec_configuration.qos.sdu) { in audio_timer_timeout()
350 len_to_send = 1; in audio_timer_timeout()
/Zephyr-Core-3.5.0/tests/bluetooth/tester/src/
Dbtp_bap.c52 size_t len_to_send; member