Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/subsys/net/lib/mqtt_sn/
A Dmqtt_sn_decoder.c36 static ssize_t decode_payload_length(struct net_buf_simple *buf) in decode_payload_length()
71 static void decode_flags(struct net_buf_simple *buf, struct mqtt_sn_flags *flags) in decode_flags()
86 static void decode_data(struct net_buf_simple *buf, struct mqtt_sn_data *dest) in decode_data()
92 static int decode_empty_message(struct net_buf_simple *buf) in decode_empty_message()
153 static int decode_msg_willtopicreq(struct net_buf_simple *buf) in decode_msg_willtopicreq()
158 static int decode_msg_willmsgreq(struct net_buf_simple *buf) in decode_msg_willmsgreq()
285 static int decode_msg_pingreq(struct net_buf_simple *buf) in decode_msg_pingreq()
291 static int decode_msg_pingresp(struct net_buf_simple *buf) in decode_msg_pingresp()
296 static int decode_msg_disconnect(struct net_buf_simple *buf, in decode_msg_disconnect()
303 static int decode_msg_willtopicresp(struct net_buf_simple *buf, in decode_msg_willtopicresp()
[all …]
A Dmqtt_sn_encoder.c80 static int mqtt_sn_encode_msg_searchgw(struct net_buf_simple *buf, in mqtt_sn_encode_msg_searchgw()
96 static int mqtt_sn_encode_msg_gwinfo(struct net_buf_simple *buf, in mqtt_sn_encode_msg_gwinfo()
113 static int mqtt_sn_encode_msg_connect(struct net_buf_simple *buf, in mqtt_sn_encode_msg_connect()
155 static int mqtt_sn_encode_msg_willmsg(struct net_buf_simple *buf, in mqtt_sn_encode_msg_willmsg()
171 static int mqtt_sn_encode_msg_register(struct net_buf_simple *buf, in mqtt_sn_encode_msg_register()
190 static int mqtt_sn_encode_msg_regack(struct net_buf_simple *buf, in mqtt_sn_encode_msg_regack()
208 static int mqtt_sn_encode_msg_publish(struct net_buf_simple *buf, in mqtt_sn_encode_msg_publish()
238 static int mqtt_sn_encode_msg_puback(struct net_buf_simple *buf, in mqtt_sn_encode_msg_puback()
256 static int mqtt_sn_encode_msg_pubrec(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pubrec()
272 static int mqtt_sn_encode_msg_pubrel(struct net_buf_simple *buf, in mqtt_sn_encode_msg_pubrel()
[all …]
/subsys/bluetooth/host/classic/
A Dobex.c33 struct net_buf *buf; in obex_alloc_buf() local
217 struct net_buf *buf) in obex_server_put_common()
298 struct net_buf *buf) in obex_server_get_common()
435 struct net_buf *buf) in obex_server_action_common()
738 struct net_buf *buf) in obex_client_put_common()
766 struct net_buf *buf) in obex_client_put()
772 struct net_buf *buf) in obex_client_put_final()
778 struct net_buf *buf) in obex_client_get_common()
806 struct net_buf *buf) in obex_client_get()
812 struct net_buf *buf) in obex_client_get_final()
[all …]
A Dssp.c49 struct net_buf *buf; in pin_code_neg_reply() local
67 struct net_buf *buf; in pin_code_reply() local
185 struct net_buf *buf; in ssp_confirm_reply() local
203 struct net_buf *buf; in ssp_confirm_neg_reply() local
312 struct net_buf *buf; in ssp_passkey_reply() local
331 struct net_buf *buf; in ssp_passkey_neg_reply() local
350 struct net_buf *buf; in conn_auth() local
538 struct net_buf *buf; in link_key_neg_reply() local
556 struct net_buf *buf; in link_key_reply() local
687 void bt_hci_io_capa_req(struct net_buf *buf) in bt_hci_io_capa_req()
[all …]
A Dat.c27 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()
180 static int at_state_start(struct at_client *at, struct net_buf *buf) in at_state_start()
193 static int at_state_start_cr(struct at_client *at, struct net_buf *buf) in at_state_start_cr()
206 static int at_state_start_lf(struct at_client *at, struct net_buf *buf) in at_state_start_lf()
234 static int at_state_process_cmd(struct at_client *at, struct net_buf *buf) in at_state_process_cmd()
338 int at_parse_input(struct at_client *at, struct net_buf *buf) in at_parse_input()
358 static int at_cmd_start(struct at_client *at, struct net_buf *buf, in at_cmd_start()
381 static int at_cmd_get_value(struct at_client *at, struct net_buf *buf, in at_cmd_get_value()
[all …]
A Davdtp.c186 int bt_avdtp_media_l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) in bt_avdtp_media_l2cap_recv()
230 struct net_buf *buf; in avdtp_create_reply_pdu() local
644 static void avdtp_handle_reject(struct net_buf *buf, struct bt_avdtp_req *req) in avdtp_handle_reject()
1048 struct net_buf *buf; in avdtp_create_pdu() local
1137 int bt_avdtp_l2cap_recv(struct bt_l2cap_chan *chan, struct net_buf *buf) in bt_avdtp_l2cap_recv()
1384 struct net_buf *buf; in bt_avdtp_discover() local
1429 struct net_buf *buf; in bt_avdtp_get_capabilities() local
1456 int bt_avdtp_parse_capability_codec(struct net_buf *buf, uint8_t *codec_type, in bt_avdtp_parse_capability_codec()
1524 struct net_buf *buf; in avdtp_process_configure_command() local
1599 struct net_buf *buf; in bt_avdtp_ctrl() local
[all …]
A Davrcp.c297 struct net_buf *buf; in avrcp_create_pdu() local
309 struct net_buf *buf; in avrcp_create_unit_pdu() local
330 struct net_buf *buf; in avrcp_create_subunit_pdu() local
352 struct net_buf *buf; in avrcp_create_passthrough_pdu() local
373 struct net_buf *buf; in avrcp_create_vendor_pdu() local
415 struct net_buf *buf; in bt_avrcp_send_unit_info_err_rsp() local
819 struct net_buf *buf; in bt_avrcp_ct_get_cap() local
847 struct net_buf *buf; in bt_avrcp_ct_get_unit_info() local
871 struct net_buf *buf; in bt_avrcp_ct_get_subunit_info() local
898 struct net_buf *buf; in bt_avrcp_ct_passthrough() local
[all …]
A Dbr.c41 struct net_buf *buf; in reject_conn() local
64 struct net_buf *buf; in accept_conn() local
117 struct net_buf *buf, *rsp; in br_sufficient_key_size() local
271 struct net_buf *buf; in request_name() local
711 struct net_buf *buf, *rsp; in read_ext_features() local
799 struct net_buf *buf; in bt_br_init() local
951 struct net_buf *buf; in br_start_inquiry() local
1034 struct net_buf *buf; in bt_br_discovery_stop() local
1074 struct net_buf *buf; in write_scan_enable() local
1119 struct net_buf *buf; in bt_br_write_current_iac_lap() local
[all …]
A Dconn_br.c57 struct net_buf *buf; in bt_conn_create_br() local
107 struct net_buf *buf, *rsp; in bt_hci_connect_br_cancel() local
147 void bt_br_acl_recv(struct bt_conn *conn, struct net_buf *buf, bool complete) in bt_br_acl_recv()
176 struct net_buf *buf; in bt_conn_br_switch_role() local
205 struct net_buf *buf; in bt_conn_br_read_link_policy_settings() local
230 struct net_buf *buf; in bt_conn_br_write_link_policy_settings() local
/subsys/net/lib/mqtt/
A Dmqtt_decoder.c30 static int unpack_uint8(struct buf_ctx *buf, uint8_t *val) in unpack_uint8()
287 struct buf_ctx *buf) in decode_uint32_property()
307 struct buf_ctx *buf) in decode_uint16_property()
327 struct buf_ctx *buf) in decode_uint8_property()
347 struct buf_ctx *buf) in decode_string_property()
367 struct buf_ctx *buf) in decode_binary_property()
387 struct buf_ctx *buf) in decode_user_property()
428 struct buf_ctx *buf) in decode_sub_id_property()
464 struct buf_ctx *buf) in properties_decode()
825 uint32_t var_length, struct buf_ctx *buf, in publish_decode()
[all …]
A Dmqtt_encoder.c344 struct buf_ctx *buf) in encode_uint16_property()
370 struct buf_ctx *buf) in encode_uint32_property()
422 struct buf_ctx *buf) in encode_string_property()
482 struct buf_ctx *buf) in encode_binary_property()
517 struct buf_ctx *buf) in encode_user_properties()
942 struct buf_ctx *buf) in publish_encode()
1003 struct buf_ctx *buf) in common_ack_properties_encode()
1042 struct buf_ctx *buf) in common_ack_properties_encode()
1054 struct buf_ctx *buf) in common_ack_encode()
1203 struct buf_ctx *buf) in disconnect_properties_encode()
[all …]
/subsys/bluetooth/host/
A Dhci_core.c266 struct net_buf *buf; in bt_send_one_host_num_completed_packets() local
348 struct net_buf *buf; in bt_hci_cmd_create() local
370 struct net_buf *buf; in bt_hci_cmd_alloc() local
760 struct net_buf *buf; in bt_le_create_conn_ext() local
839 struct net_buf *buf; in bt_le_create_conn_synced() local
886 struct net_buf *buf; in bt_le_create_conn_legacy() local
951 struct net_buf *buf; in bt_le_create_conn_cancel() local
968 struct net_buf *buf; in bt_hci_disconnect() local
1107 struct net_buf *buf; in bt_hci_le_read_remote_features() local
1123 struct net_buf *buf; in bt_hci_read_remote_version() local
[all …]
A Dcs.c297 struct net_buf *buf; in bt_le_cs_read_remote_supported_capabilities() local
440 struct net_buf *buf; in bt_le_cs_set_default_settings() local
467 struct net_buf *buf; in bt_le_cs_read_remote_fae_table() local
523 struct net_buf *buf; in bt_le_cs_start_test() local
897 struct net_buf *buf; in bt_le_cs_create_config() local
938 struct net_buf *buf; in bt_le_cs_remove_config() local
955 struct net_buf *buf; in bt_le_cs_security_enable() local
972 struct net_buf *buf; in bt_le_cs_procedure_enable() local
991 struct net_buf *buf; in bt_le_cs_set_procedure_parameters() local
1020 struct net_buf *buf; in bt_le_cs_set_channel_classification() local
[all …]
A Dscan.c133 struct net_buf *buf; in cmd_le_set_ext_scan_enable() local
163 struct net_buf *buf; in cmd_le_set_scan_enable_legacy() local
231 struct net_buf *buf; in start_le_scan_ext() local
295 struct net_buf *buf; in start_le_scan_legacy() local
1164 struct net_buf *buf; in per_adv_sync_terminate() local
1352 struct net_buf *buf; in bt_le_per_adv_sync_subevent() local
1378 struct net_buf *buf; in bt_le_per_adv_set_response_data() local
1898 struct net_buf *buf; in bt_le_per_adv_sync_create() local
2016 struct net_buf *buf; in bt_le_per_adv_sync_create_cancel() local
2102 struct net_buf *buf; in bt_le_set_per_adv_recv_enable() local
[all …]
/subsys/bluetooth/controller/hci/
A Dhci.c322 struct net_buf *buf; in cmd_complete_status() local
5293 struct net_buf *buf; local
5318 struct net_buf *buf; local
7677 struct net_buf *buf)
7684 struct net_buf *buf)
7710 struct net_buf *buf)
8105 struct net_buf *buf)
8344 struct net_buf *buf)
8541 struct net_buf *buf)
8661 struct net_buf *buf)
[all …]
A Dhci_driver.c97 struct net_buf *buf = bt_buf_get_rx(BT_BUF_ISO_IN, K_FOREVER); in sink_sdu_alloc_hci() local
125 struct net_buf *buf; in sink_sdu_emit_hci() local
217 struct net_buf *buf = (struct net_buf *) dbuf; in sink_sdu_write_hci() local
298 struct net_buf *buf; in process_prio_evt() local
328 struct net_buf *buf; in prio_recv_thread() local
471 struct net_buf *buf; in node_rx_recv() local
512 static int bt_recv(const struct device *dev, struct net_buf *buf) in bt_recv()
538 struct net_buf *buf = NULL; in encode_node() local
646 struct net_buf *buf = NULL; in process_node() local
689 struct net_buf *buf = NULL; in process_hbuf() local
[all …]
/subsys/net/lib/http/
A Dhttp_hpack.c159 static int hpack_integer_decode(const uint8_t *buf, size_t datalen, in hpack_integer_decode()
209 uint8_t *buf = header->buf + header->datalen; in hpack_huffman_decode() local
233 static int hpack_string_decode(const uint8_t *buf, size_t datalen, in hpack_string_decode()
284 static int hpack_handle_indexed(const uint8_t *buf, size_t datalen, in hpack_handle_indexed()
318 static int hpack_handle_literal(const uint8_t *buf, size_t datalen, in hpack_handle_literal()
406 int http_hpack_decode_header(const uint8_t *buf, size_t datalen, in http_hpack_decode_header()
442 static int hpack_integer_encode(uint8_t *buf, size_t buflen, int value, in hpack_integer_encode()
483 static int hpack_string_encode(uint8_t *buf, size_t buflen, in hpack_string_encode()
532 static int hpack_encode_literal(uint8_t *buf, size_t buflen, in hpack_encode_literal()
593 static int hpack_encode_indexed(uint8_t *buf, size_t buflen, int index) in hpack_encode_indexed()
[all …]
/subsys/bluetooth/mesh/
A Dcfg_srv.c52 struct net_buf_simple *buf) in dev_comp_data_get()
322 struct net_buf_simple *buf) in app_key_update()
471 struct net_buf_simple *buf) in default_ttl_get()
490 struct net_buf_simple *buf) in default_ttl_set()
531 struct net_buf_simple *buf) in gatt_proxy_get()
541 struct net_buf_simple *buf) in gatt_proxy_set()
842 struct net_buf_simple *buf) in mod_pub_va_set()
1380 struct net_buf_simple *buf) in mod_sub_va_add()
1483 struct net_buf_simple *buf) in mod_sub_va_del()
1567 struct net_buf_simple *buf) in mod_sub_va_overwrite()
[all …]
A Dsar_cfg.c17 void bt_mesh_sar_tx_encode(struct net_buf_simple *buf, in bt_mesh_sar_tx_encode()
29 void bt_mesh_sar_rx_encode(struct net_buf_simple *buf, in bt_mesh_sar_rx_encode()
39 void bt_mesh_sar_tx_decode(struct net_buf_simple *buf, in bt_mesh_sar_tx_decode()
57 void bt_mesh_sar_rx_decode(struct net_buf_simple *buf, in bt_mesh_sar_rx_decode()
A Dop_agg.c16 #define IS_LENGTH_LONG(buf) ((buf)->data[0] & 1) argument
19 int bt_mesh_op_agg_encode_msg(struct net_buf_simple *msg, struct net_buf_simple *buf) in bt_mesh_op_agg_encode_msg()
40 struct net_buf_simple *buf) in bt_mesh_op_agg_decode_msg()
67 bool bt_mesh_op_agg_is_op_agg_msg(struct net_buf_simple *buf) in bt_mesh_op_agg_is_op_agg_msg()
A Dhealth_srv.c109 struct net_buf_simple *buf) in health_fault_get()
129 struct net_buf_simple *buf) in health_fault_clear_unrel()
147 struct net_buf_simple *buf) in health_fault_clear()
177 struct net_buf_simple *buf) in health_fault_test_unrel()
197 struct net_buf_simple *buf) in health_fault_test()
255 struct net_buf_simple *buf) in attention_get()
264 struct net_buf_simple *buf) in attention_set_unrel()
279 struct net_buf_simple *buf) in attention_set()
312 struct net_buf_simple *buf) in health_period_get()
321 struct net_buf_simple *buf) in health_period_set_unrel()
[all …]
/subsys/usb/device_next/
A Dusbd_ch9.c367 struct net_buf *const buf) in std_request_to_device()
398 struct net_buf *const buf) in sreq_get_status()
460 struct net_buf *const buf, in sreq_get_desc_cfg()
615 struct net_buf *const buf) in sreq_get_desc_dev()
677 struct net_buf *const buf) in sreq_get_dev_qualifier()
738 struct net_buf *const buf) in sreq_get_desc_bos()
802 struct net_buf *const buf) in sreq_get_descriptor()
845 struct net_buf *const buf) in sreq_get_configuration()
873 struct net_buf *const buf) in sreq_get_interface()
952 struct net_buf *const buf) in vendor_device_request()
[all …]
/subsys/fs/virtiofs/
A Dvirtiofs.c145 struct virtq_buf buf[] = { in virtiofs_init() local
225 struct virtq_buf buf[] = { in virtiofs_lookup() local
300 struct virtq_buf buf[] = { in virtiofs_open() local
341 struct virtq_buf buf[] = { in virtiofs_read() local
372 struct virtq_buf buf[] = { in virtiofs_release() local
400 struct virtq_buf buf[] = { in virtiofs_destroy() local
422 struct virtq_buf buf[] = { in virtiofs_create() local
462 struct virtq_buf buf[] = { in virtiofs_write() local
500 struct virtq_buf buf[] = { in virtiofs_lseek() local
539 struct virtq_buf buf[] = { in virtiofs_setattr() local
[all …]
/subsys/modem/backends/
A Dmodem_backend_uart_async_hwfc.c17 uint8_t buf[]; member
20 static inline struct rx_buf_t *block_start_get(struct modem_backend_uart_async *async, uint8_t *buf) in block_start_get()
33 struct rx_buf_t *buf; in rx_buf_alloc() local
43 static void rx_buf_ref(struct modem_backend_uart_async *async, void *buf) in rx_buf_ref()
48 static void rx_buf_unref(struct modem_backend_uart_async *async, void *buf) in rx_buf_unref()
67 struct rx_buf_t *buf = rx_buf_alloc(&backend->async); in modem_backend_uart_async_hwfc_rx_enable() local
153 struct rx_buf_t *buf = rx_buf_alloc(&backend->async); in modem_backend_uart_async_hwfc_event_handler() local
216 struct rx_buf_t *buf = rx_buf_alloc(&backend->async); in modem_backend_uart_async_hwfc_open() local
261 static int modem_backend_uart_async_hwfc_transmit(void *data, const uint8_t *buf, size_t size) in modem_backend_uart_async_hwfc_transmit()
296 static int modem_backend_uart_async_hwfc_receive(void *data, uint8_t *buf, size_t size) in modem_backend_uart_async_hwfc_receive()
/subsys/debug/gdbstub/
A Dgdbstub.c142 size_t gdb_bin2hex(const uint8_t *buf, size_t buflen, char *hex, size_t hexlen) in gdb_bin2hex()
189 uint8_t buf[2]; in gdb_send_packet() local
226 static int gdb_get_packet(uint8_t *buf, size_t buf_len, size_t *len) in gdb_get_packet()
288 static inline int gdb_mem_read_unaligned(uint8_t *buf, size_t buf_len, in gdb_mem_read_unaligned()
304 static inline int gdb_mem_read_aligned(uint8_t *buf, size_t buf_len, in gdb_mem_read_aligned()
379 static int gdb_mem_read(uint8_t *buf, size_t buf_len, in gdb_mem_read()
413 static int gdb_mem_write_unaligned(const uint8_t *buf, uintptr_t addr, in gdb_mem_write_unaligned()
443 static int gdb_mem_write_aligned(const uint8_t *buf, uintptr_t addr, in gdb_mem_write_aligned()
541 static int gdb_mem_write(const uint8_t *buf, uintptr_t addr, in gdb_mem_write()
568 static int gdb_send_exception(uint8_t *buf, size_t len, uint8_t exception) in gdb_send_exception()
[all …]

Completed in 124 milliseconds

12345678910>>...15