/Zephyr-Core-2.7.6/include/net/ |
D | buf.h | 140 static inline void net_buf_simple_init(struct net_buf_simple *buf, in net_buf_simple_init() 170 static inline void net_buf_simple_reset(struct net_buf_simple *buf) in net_buf_simple_reset() 809 static inline uint8_t *net_buf_simple_tail(struct net_buf_simple *buf) in net_buf_simple_tail() 869 static inline void net_buf_simple_save(struct net_buf_simple *buf, in net_buf_simple_save() 885 static inline void net_buf_simple_restore(struct net_buf_simple *buf, in net_buf_simple_restore() 1327 static inline void net_buf_destroy(struct net_buf *buf) in net_buf_destroy() 1434 static inline void *net_buf_user_data(const struct net_buf *buf) in net_buf_user_data() 1447 static inline void net_buf_reserve(struct net_buf *buf, size_t reserve) in net_buf_reserve() 1463 static inline void *net_buf_add(struct net_buf *buf, size_t len) in net_buf_add() 1480 static inline void *net_buf_add_mem(struct net_buf *buf, const void *mem, in net_buf_add_mem() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/mqtt/ |
D | mqtt_decoder.c | 30 static int unpack_uint8(struct buf_ctx *buf, uint8_t *val) in unpack_uint8() 56 static int unpack_uint16(struct buf_ctx *buf, uint16_t *val) in unpack_uint16() 83 static int unpack_utf8_str(struct buf_ctx *buf, struct mqtt_utf8 *str) in unpack_utf8_str() 126 static int unpack_data(uint32_t length, struct buf_ctx *buf, in unpack_data() 161 static int packet_length_decode(struct buf_ctx *buf, uint32_t *length) in packet_length_decode() 191 int fixed_header_decode(struct buf_ctx *buf, uint8_t *type_and_flags, in fixed_header_decode() 204 int connect_ack_decode(const struct mqtt_client *client, struct buf_ctx *buf, in connect_ack_decode() 233 int publish_decode(uint8_t flags, uint32_t var_length, struct buf_ctx *buf, in publish_decode() 272 int publish_ack_decode(struct buf_ctx *buf, struct mqtt_puback_param *param) in publish_ack_decode() 277 int publish_receive_decode(struct buf_ctx *buf, struct mqtt_pubrec_param *param) in publish_receive_decode() [all …]
|
D | mqtt_encoder.c | 46 static int pack_uint8(uint8_t val, struct buf_ctx *buf) in pack_uint8() 70 static int pack_uint16(uint16_t val, struct buf_ctx *buf) in pack_uint16() 95 static int pack_utf8_str(const struct mqtt_utf8 *str, struct buf_ctx *buf) in pack_utf8_str() 138 static uint8_t packet_length_encode(uint32_t length, struct buf_ctx *buf) in packet_length_encode() 187 struct buf_ctx *buf) in mqtt_encode_fixed_header() 230 static int zero_len_str_encode(struct buf_ctx *buf) in zero_len_str_encode() 247 struct buf_ctx *buf) in mqtt_message_id_only_enc() 270 struct buf_ctx *buf) in connect_request_encode() 391 int publish_encode(const struct mqtt_publish_param *param, struct buf_ctx *buf) in publish_encode() 436 struct buf_ctx *buf) in publish_ack_encode() [all …]
|
D | mqtt_rx.c | 22 struct buf_ctx *buf) in mqtt_handle_packet() 149 struct buf_ctx *buf, uint32_t length) in mqtt_read_message_chunk() 196 struct buf_ctx *buf) in mqtt_read_publish_var_header() 232 struct buf_ctx *buf) in mqtt_read_and_parse_fixed_header() 259 struct buf_ctx buf; in mqtt_handle_rx() local
|
/Zephyr-Core-2.7.6/subsys/net/ |
D | buf.c | 58 int net_buf_id(struct net_buf *buf) in net_buf_id() 68 struct net_buf *buf; in pool_get_uninit() local 77 void net_buf_reset(struct net_buf *buf) in net_buf_reset() 85 static uint8_t *generic_data_ref(struct net_buf *buf, uint8_t *data) in generic_data_ref() 95 static uint8_t *mem_pool_data_alloc(struct net_buf *buf, size_t *size, in mem_pool_data_alloc() 116 static void mem_pool_data_unref(struct net_buf *buf, uint8_t *data) in mem_pool_data_unref() 137 static uint8_t *fixed_data_alloc(struct net_buf *buf, size_t *size, in fixed_data_alloc() 148 static void fixed_data_unref(struct net_buf *buf, uint8_t *data) in fixed_data_unref() 160 static uint8_t *heap_data_alloc(struct net_buf *buf, size_t *size, in heap_data_alloc() 175 static void heap_data_unref(struct net_buf *buf, uint8_t *data) in heap_data_unref() [all …]
|
/Zephyr-Core-2.7.6/tests/kernel/common/src/ |
D | byteorder.c | 80 uint8_t buf[] = { in test_sys_get_be64() local 99 uint8_t buf[] = { in test_sys_put_be64() local 119 uint8_t buf[] = { in test_sys_get_be48() local 138 uint8_t buf[] = { in test_sys_put_be48() local 157 uint8_t buf[] = { in test_sys_get_be32() local 176 uint8_t buf[] = { in test_sys_put_be32() local 196 uint8_t buf[] = { in test_sys_get_be24() local 215 uint8_t buf[] = { in test_sys_put_be24() local 235 uint8_t buf[] = { in test_sys_get_be16() local 254 uint8_t buf[] = { in test_sys_put_be16() local [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | ssp.c | 44 struct net_buf *buf; in pin_code_neg_reply() local 62 struct net_buf *buf; in pin_code_reply() local 179 struct net_buf *buf; in ssp_confirm_reply() local 197 struct net_buf *buf; in ssp_confirm_neg_reply() local 279 struct net_buf *buf; in ssp_passkey_reply() local 298 struct net_buf *buf; in ssp_passkey_neg_reply() local 317 struct net_buf *buf; in conn_auth() local 406 void bt_hci_pin_code_req(struct net_buf *buf) in bt_hci_pin_code_req() 423 void bt_hci_link_key_notify(struct net_buf *buf) in bt_hci_link_key_notify() 502 struct net_buf *buf; in link_key_neg_reply() local [all …]
|
D | at.c | 27 int at_check_byte(struct net_buf *buf, char check_byte) in at_check_byte() 75 static int at_parse_result(const char *str, struct net_buf *buf, in at_parse_result() 92 static int get_cmd_value(struct at_client *at, struct net_buf *buf, in get_cmd_value() 122 static int get_response_string(struct at_client *at, struct net_buf *buf, in get_response_string() 158 static int at_state_start(struct at_client *at, struct net_buf *buf) in at_state_start() 171 static int at_state_start_cr(struct at_client *at, struct net_buf *buf) in at_state_start_cr() 184 static int at_state_start_lf(struct at_client *at, struct net_buf *buf) in at_state_start_lf() 198 static int at_state_get_cmd_string(struct at_client *at, struct net_buf *buf) in at_state_get_cmd_string() 212 static int at_state_process_cmd(struct at_client *at, struct net_buf *buf) in at_state_process_cmd() 228 static int at_state_get_result_string(struct at_client *at, struct net_buf *buf) in at_state_get_result_string() [all …]
|
D | buf.c | 64 struct net_buf *buf; in bt_buf_get_rx() local 93 struct net_buf *buf; in bt_buf_get_cmd_complete() local 115 struct net_buf *buf; in bt_buf_get_evt() local 132 struct net_buf *buf; in bt_buf_get_evt() local
|
D | hci_core.c | 112 #define cmd(buf) (&cmd_data[net_buf_id(buf)]) argument 113 #define acl(buf) ((struct acl_data *)net_buf_user_data(buf)) argument 115 void bt_hci_cmd_state_set_init(struct net_buf *buf, in bt_hci_cmd_state_set_init() 146 static inline void handle_event(uint8_t event, struct net_buf *buf, in handle_event() 174 void bt_hci_host_num_completed_packets(struct net_buf *buf) in bt_hci_host_num_completed_packets() 228 struct net_buf *buf; in bt_hci_cmd_create() local 252 int bt_hci_cmd_send(uint16_t opcode, struct net_buf *buf) in bt_hci_cmd_send() 283 int bt_hci_cmd_send_sync(uint16_t opcode, struct net_buf *buf, in bt_hci_cmd_send_sync() 367 static void hci_num_completed_packets(struct net_buf *buf) in hci_num_completed_packets() 429 static void hci_acl(struct net_buf *buf) in hci_acl() [all …]
|
D | br.c | 31 struct net_buf *buf; in reject_conn() local 54 struct net_buf *buf; in accept_sco_conn() local 82 struct net_buf *buf; in accept_conn() local 125 void bt_hci_conn_req(struct net_buf *buf) in bt_hci_conn_req() 154 struct net_buf *buf, *rsp; in br_sufficient_key_size() local 231 void bt_hci_synchronous_conn_complete(struct net_buf *buf) in bt_hci_synchronous_conn_complete() 258 void bt_hci_conn_complete(struct net_buf *buf) in bt_hci_conn_complete() 313 struct net_buf *buf; in request_name() local 412 void bt_hci_inquiry_complete(struct net_buf *buf) in bt_hci_inquiry_complete() 472 void bt_hci_inquiry_result_with_rssi(struct net_buf *buf) in bt_hci_inquiry_result_with_rssi() [all …]
|
D | hci_common.c | 14 struct net_buf *buf; in bt_hci_evt_create() local 27 struct net_buf *buf; in bt_hci_cmd_complete_create() local 41 struct net_buf *buf; in bt_hci_cmd_status_create() local
|
D | hci_ecc.c | 78 struct net_buf *buf; in send_cmd_status() local 128 struct net_buf *buf; in emulate_le_p256_public_key_cmd() local 168 struct net_buf *buf; in emulate_le_generate_dhkey() local 226 static void clear_ecc_events(struct net_buf *buf) in clear_ecc_events() 269 static void le_gen_dhkey_v1(struct net_buf *buf) in le_gen_dhkey_v1() 281 static void le_gen_dhkey_v2(struct net_buf *buf) in le_gen_dhkey_v2() 293 static void le_p256_pub_key(struct net_buf *buf) in le_p256_pub_key() 311 int bt_hci_ecc_send(struct net_buf *buf) in bt_hci_ecc_send()
|
/Zephyr-Core-2.7.6/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/ |
D | device_composition.c | 73 struct net_buf_simple *buf) in gen_onoff_get() 124 struct net_buf_simple *buf) in gen_onoff_set_unack() 193 struct net_buf_simple *buf) in gen_onoff_set() 266 struct net_buf_simple *buf) in gen_onoff_status() 282 struct net_buf_simple *buf) in gen_level_get() 333 struct net_buf_simple *buf) in gen_level_set_unack() 399 struct net_buf_simple *buf) in gen_level_set() 468 struct net_buf_simple *buf) in gen_delta_set_unack() 550 struct net_buf_simple *buf) in gen_delta_set() 635 struct net_buf_simple *buf) in gen_move_set_unack() [all …]
|
/Zephyr-Core-2.7.6/subsys/bluetooth/controller/hci/ |
D | hci.c | 196 static void hci_evt_create(struct net_buf *buf, uint8_t evt, uint8_t len) in hci_evt_create() 205 void *hci_cmd_complete(struct net_buf **buf, uint8_t plen) in hci_cmd_complete() 219 struct net_buf *buf; in cmd_complete_status() local 229 static void *meta_evt(struct net_buf *buf, uint8_t subevt, uint8_t melen) in meta_evt() 241 static void *mesh_evt(struct net_buf *buf, uint8_t subevt, uint8_t melen) in mesh_evt() 255 static void disconnect(struct net_buf *buf, struct net_buf **evt) in disconnect() 267 static void read_remote_ver_info(struct net_buf *buf, struct net_buf **evt) in read_remote_ver_info() 299 static void set_event_mask(struct net_buf *buf, struct net_buf **evt) in set_event_mask() 308 static void set_event_mask_page_2(struct net_buf *buf, struct net_buf **evt) in set_event_mask_page_2() 317 static void reset(struct net_buf *buf, struct net_buf **evt) in reset() [all …]
|
D | hci_driver.c | 88 struct net_buf *buf = bt_buf_get_rx(BT_BUF_ISO_IN, K_NO_WAIT); in sink_sdu_alloc_hci() local 112 struct net_buf *buf; in sink_sdu_emit_hci() local 153 struct net_buf *buf = (struct net_buf *) dbuf; in sink_sdu_write_hci() local 172 struct net_buf *buf; in process_prio_evt() local 200 struct net_buf *buf; in prio_recv_thread() local 275 struct net_buf *buf = NULL; in encode_node() local 340 struct net_buf *buf = NULL; in process_node() local 383 struct net_buf *buf = NULL; in process_hbuf() local 487 struct net_buf *buf = NULL; in recv_thread() local 542 static int cmd_handle(struct net_buf *buf) in cmd_handle() [all …]
|
/Zephyr-Core-2.7.6/lib/os/ |
D | ring_buffer.c | 34 static uint32_t mod(struct ring_buf *buf, uint32_t val) in mod() 44 int ring_buf_is_empty(struct ring_buf *buf) in ring_buf_is_empty() 57 uint32_t ring_buf_size_get(struct ring_buf *buf) in ring_buf_size_get() 70 uint32_t ring_buf_space_get(struct ring_buf *buf) in ring_buf_space_get() 75 int ring_buf_item_put(struct ring_buf *buf, uint16_t type, uint8_t value, in ring_buf_item_put() 120 int ring_buf_item_get(struct ring_buf *buf, uint16_t *type, uint8_t *value, in ring_buf_item_get() 183 uint32_t ring_buf_put_claim(struct ring_buf *buf, uint8_t **data, uint32_t size) in ring_buf_put_claim() 206 int ring_buf_put_finish(struct ring_buf *buf, uint32_t size) in ring_buf_put_finish() 228 uint32_t ring_buf_put(struct ring_buf *buf, const uint8_t *data, uint32_t size) in ring_buf_put() 249 uint32_t ring_buf_get_claim(struct ring_buf *buf, uint8_t **data, uint32_t size) in ring_buf_get_claim() [all …]
|
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/gatt_test_app/src/gatt/ |
D | service_c_2_1.c | 167 const struct bt_gatt_attr *attr, void *buf, in read_value_v10() 189 const struct bt_gatt_attr *attr, void *buf, in read_str_value() 212 const struct bt_gatt_attr *attr, const void *buf, in write_value_v2() 240 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d1() 264 const void *buf, uint16_t len, uint16_t offset, in write_long_des_v2d1() 294 const void *buf, uint16_t len, uint16_t offset, in write_value_v2_1() 322 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d2() 346 const void *buf, uint16_t len, uint16_t offset, in write_long_des_v2d2() 376 const void *buf, uint16_t len, uint16_t offset, in write_value_v2_2() 404 const struct bt_gatt_attr *attr, void *buf, in read_long_des_v2d3() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | sockets_misc.c | 11 int z_impl_zsock_gethostname(char *buf, size_t len) in z_impl_zsock_gethostname() 21 static inline int z_vrfy_zsock_gethostname(char *buf, size_t len) in z_vrfy_zsock_gethostname()
|
/Zephyr-Core-2.7.6/samples/bluetooth/hci_rpmsg/src/ |
D | main.c | 51 struct net_buf *buf; in hci_rpmsg_cmd_recv() local 82 struct net_buf *buf; in hci_rpmsg_acl_recv() local 113 struct net_buf *buf; in hci_rpmsg_iso_recv() local 144 struct net_buf *buf = NULL; in hci_rpmsg_rx() local 180 struct net_buf *buf; in tx_thread() local 199 static int hci_rpmsg_send(struct net_buf *buf) in hci_rpmsg_send() 270 struct net_buf *buf; in main() local
|
/Zephyr-Core-2.7.6/tests/bluetooth/hci_prop_evt/src/ |
D | main.c | 42 static void evt_create(struct net_buf *buf, uint8_t evt, uint8_t len) in evt_create() 52 static void *cmd_complete(struct net_buf **buf, uint8_t plen, uint16_t opcode) in cmd_complete() 115 static void generic_success(struct net_buf *buf, struct net_buf **evt, in generic_success() 129 static void read_local_features(struct net_buf *buf, struct net_buf **evt, in read_local_features() 140 static void read_supported_commands(struct net_buf *buf, struct net_buf **evt, in read_supported_commands() 151 static void le_read_local_features(struct net_buf *buf, struct net_buf **evt, in le_read_local_features() 162 static void le_read_supp_states(struct net_buf *buf, struct net_buf **evt, in le_read_supp_states() 213 static int driver_send(struct net_buf *buf) in driver_send() 235 struct net_buf *buf; /* Net buffer to be passed to bt_recv() */ member 238 #define job(buf) (&job_data[net_buf_id(buf)]) argument [all …]
|
/Zephyr-Core-2.7.6/tests/bluetooth/bsim_bt/edtt_ble_test_app/hci_test_app/src/ |
D | main.c | 77 struct net_buf *buf; in hci_cmd_create() local 94 struct net_buf *buf; in acl_data_create() local 112 struct net_buf *buf; in send_hci_command() local 166 static void command_complete(struct net_buf *buf) in command_complete() 197 static void command_status(struct net_buf *buf) in command_status() 232 struct net_buf *buf = net_buf_get(&event_queue, K_FOREVER); in discard_event() local 241 static struct net_buf *queue_event(struct net_buf *buf) in queue_event() 261 struct net_buf *buf, *evt; in service_events() local 321 struct net_buf *buf; in flush_events() local 340 struct net_buf *buf; in get_event() local [all …]
|
/Zephyr-Core-2.7.6/scripts/ |
D | uf2conv.py | 53 def is_uf2(buf): argument 57 def is_hex(buf): argument 66 def convert_from_uf2(buf): argument 154 def convert_from_hex_to_uf2(buf): argument 239 def write_file(name, buf): argument
|
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/ |
D | health_srv.c | 110 struct net_buf_simple *buf) in health_fault_get() 130 struct net_buf_simple *buf) in health_fault_clear_unrel() 148 struct net_buf_simple *buf) in health_fault_clear() 178 struct net_buf_simple *buf) in health_fault_test_unrel() 198 struct net_buf_simple *buf) in health_fault_test() 256 struct net_buf_simple *buf) in attention_get() 265 struct net_buf_simple *buf) in attention_set_unrel() 280 struct net_buf_simple *buf) in attention_set() 313 struct net_buf_simple *buf) in health_period_get() 322 struct net_buf_simple *buf) in health_period_set_unrel() [all …]
|
D | cfg_srv.c | 41 static int comp_add_elem(struct net_buf_simple *buf, struct bt_mesh_elem *elem, in comp_add_elem() 72 static int comp_get_page_0(struct net_buf_simple *buf) in comp_get_page_0() 116 struct net_buf_simple *buf) in dev_comp_data_get() 149 struct net_buf_simple *buf, bool *vnd) in get_model() 346 struct net_buf_simple *buf) in app_key_add() 362 struct net_buf_simple *buf) in app_key_update() 398 struct net_buf_simple *buf) in app_key_del() 417 struct net_buf_simple *buf) in app_key_get() 473 struct net_buf_simple *buf) in beacon_get() 493 struct net_buf_simple *buf) in beacon_set() [all …]
|