Home
last modified time | relevance | path

Searched refs:buf_data (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c50 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in iso_timer_timeout() local
56 for (int i = 0; i < ARRAY_SIZE(buf_data); i++) { in iso_timer_timeout()
57 buf_data[i] = (uint8_t)i; in iso_timer_timeout()
67 net_buf_add_mem(buf, buf_data, len_to_send); in iso_timer_timeout()
77 if (len_to_send > ARRAY_SIZE(buf_data)) { in iso_timer_timeout()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/bis/src/
Dbis_broadcaster.c37 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in send_data() local
49 for (int i = 0; i < ARRAY_SIZE(buf_data); i++) { in send_data()
50 buf_data[i] = (uint8_t)i; in send_data()
61 net_buf_add_mem(buf, buf_data, len_to_send); in send_data()
75 if (len_to_send > ARRAY_SIZE(buf_data)) { in send_data()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_central.c32 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in send_data_cb() local
44 for (int i = 0; i < ARRAY_SIZE(buf_data); i++) { in send_data_cb()
45 buf_data[i] = (uint8_t)i; in send_data_cb()
54 net_buf_add_mem(buf, buf_data, len_to_send); in send_data_cb()
68 if (len_to_send > ARRAY_SIZE(buf_data)) { in send_data_cb()
/Zephyr-latest/samples/bluetooth/hap_ha/src/
Dbap_unicast_sr.c139 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in audio_timer_timeout() local
146 for (size_t i = 0U; i < ARRAY_SIZE(buf_data); i++) { in audio_timer_timeout()
147 buf_data[i] = (uint8_t)i; in audio_timer_timeout()
168 net_buf_add_mem(buf, buf_data, len_to_send); in audio_timer_timeout()
184 if (len_to_send > ARRAY_SIZE(buf_data)) { in audio_timer_timeout()
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c377 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in audio_timer_timeout() local
389 for (size_t i = 0; i < ARRAY_SIZE(buf_data); i++) { in audio_timer_timeout()
390 buf_data[i] = (uint8_t)i; in audio_timer_timeout()
399 net_buf_add_mem(buf, buf_data, len_to_send); in audio_timer_timeout()
/Zephyr-latest/subsys/bluetooth/host/classic/shell/
Drfcomm.c196 uint8_t buf_data[DATA_MTU] = { [0 ... (DATA_MTU - 1)] = 0xff }; in cmd_send() local
209 net_buf_add_mem(buf, buf_data, len); in cmd_send()
/Zephyr-latest/subsys/bluetooth/host/
Diso_internal.h25 struct bt_buf_data buf_data; member
Dconn_internal.h200 struct bt_buf_data buf_data; member
/Zephyr-latest/drivers/can/
Dcan_mcp2515.c61 uint8_t *buf_data, uint8_t buf_len) in mcp2515_cmd_write_reg() argument
69 { .buf = buf_data, .len = buf_len } in mcp2515_cmd_write_reg()
93 uint8_t *buf_data, uint8_t buf_len) in mcp2515_cmd_load_tx_buffer() argument
103 { .buf = buf_data, .len = buf_len } in mcp2515_cmd_load_tx_buffer()
138 uint8_t *buf_data, uint8_t buf_len) in mcp2515_cmd_read_reg() argument
153 { .buf = buf_data, .len = buf_len } in mcp2515_cmd_read_reg()
174 uint8_t *buf_data, uint8_t buf_len) in mcp2515_cmd_read_rx_buffer() argument
191 { .buf = buf_data, .len = buf_len } in mcp2515_cmd_read_rx_buffer()
/Zephyr-latest/tests/bluetooth/mesh/delayable_msg/src/
Dmain.c43 static uint8_t *buf_data; variable
61 zexpect_mem_equal(buf->data, buf_data, buf_data_size, "Buffer data corrupted"); in bt_mesh_access_send()
100 buf_data = buf->__buf; in set_expectation()
/Zephyr-latest/samples/bluetooth/bap_unicast_server/src/
Dmain.c212 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU]; in audio_timer_timeout() local
218 for (size_t i = 0U; i < ARRAY_SIZE(buf_data); i++) { in audio_timer_timeout()
219 buf_data[i] = (uint8_t)i; in audio_timer_timeout()
240 net_buf_add_mem(buf, buf_data, ++source_streams[i].len_to_send); in audio_timer_timeout()
/Zephyr-latest/subsys/bluetooth/host/shell/
Diso.c545 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU] = { in cmd_send() local
585 net_buf_add_mem(buf, buf_data, len); in cmd_send()
661 static uint8_t buf_data[CONFIG_BT_ISO_TX_MTU] = { in cmd_broadcast() local
701 net_buf_add_mem(buf, buf_data, len); in cmd_broadcast()
Dl2cap.c413 static uint8_t buf_data[DATA_MTU] = { [0 ... (DATA_MTU - 1)] = 0xff }; in cmd_send() local
446 net_buf_add_mem(buf, buf_data, len); in cmd_send()