Home
last modified time | relevance | path

Searched refs:struct (Results 1 – 25 of 232) sorted by relevance

12345678910

/Zephyr-latest/subsys/tracing/ctf/tsdl/
Dmetadata10 struct event_header {
22 event.header := struct event_header;
28 fields := struct {
37 fields := struct {
46 fields := struct {
57 fields := struct {
66 fields := struct {
75 fields := struct {
84 fields := struct {
92 fields := struct {
[all …]
/Zephyr-latest/scripts/coccinelle/
Dconst_config_info.cocci20 // bare: (struct T*)E
30 struct T*)E->config_info
32 // bare const: (struct T* const)E
42 struct T * const)E->config_info
44 // asg: struct T *D = (const struct T*)
54 struct T * D = (const struct T*)E->config_info;
56 // asg to const local: struct T * const D = (const struct T*)
66 struct T * const D = (const struct T*)E->config_info;
68 // asg via macro: struct T * D = DEV_CFG()
78 struct T * D = DEV_CFG(E);
[all …]
Dreserved_names.cocci21 struct t *v@p;
23 struct t v@p;
31 struct t *v@p = E;
33 struct t v@p = E;
/Zephyr-latest/doc/kernel/object_cores/
Dindex.rst60 struct mem_slab struct mem_slab_info struct sys_memory_stats
61 struct sys_mem_blocks struct sys_mem_blocks_info struct sys_memory_stats
62 struct k_thread struct k_cycle_stats struct k_thread_runtime_stats
63 struct _cpu struct k_cycle_stats struct k_thread_runtime_stats
64 struct z_kernel struct k_cycle_stats[num CPUs] struct k_thread_runtime_stats
74 :c:struct:`k_obj_type`. It must be initialized before any objects of that type
83 struct k_obj_type my_obj_type;
85 struct my_obj_type_raw_info {
89 struct my_obj_type_query_stats {
93 struct my_new_obj {
[all …]
/Zephyr-latest/scripts/coredump/coredump_parser/
Dlog_parser.py8 import struct
15 LOG_HDR_SIZE = struct.calcsize(LOG_HDR_STRUCT)
19 LOG_ARCH_HDR_SIZE = struct.calcsize(LOG_ARCH_HDR_STRUCT)
23 LOG_THREADS_META_HDR_SIZE = struct.calcsize(LOG_THREADS_META_HDR_STRUCT)
28 LOG_MEM_HDR_SIZE = struct.calcsize(LOG_MEM_HDR_STRUCT)
84 _, hdr_ver, num_bytes = struct.unpack(LOG_ARCH_HDR_STRUCT, hdr)
94 _, hdr_ver, num_bytes = struct.unpack(LOG_THREADS_META_HDR_STRUCT, hdr)
104 _, hdr_ver = struct.unpack(LOG_MEM_HDR_STRUCT, hdr)
119 data = self.fd.read(struct.calcsize(ptr_fmt))
120 saddr, eaddr = struct.unpack(ptr_fmt, data)
[all …]
/Zephyr-latest/doc/services/net_buf/
Dindex.rst75 void *net_buf_add(struct net_buf *buf, size_t len);
76 void *net_buf_add_mem(struct net_buf *buf, const void *mem, size_t len);
77 uint8_t *net_buf_add_u8(struct net_buf *buf, uint8_t value);
78 void net_buf_add_le16(struct net_buf *buf, uint16_t value);
79 void net_buf_add_le32(struct net_buf *buf, uint32_t value);
88 void *net_buf_remove_mem(struct net_buf *buf, size_t len);
89 uint8_t net_buf_remove_u8(struct net_buf *buf);
90 uint16_t net_buf_remove_le16(struct net_buf *buf);
91 uint32_t net_buf_remove_le32(struct net_buf *buf);
100 void *net_buf_push(struct net_buf *buf, size_t len);
[all …]
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_senml_cbor.patch29 …d_key_value_pair_m, state, (*&(*result).record_key_value_pair_m), sizeof(struct record_key_value_p…
30 …d_key_value_pair_m, state, (*&(*result).record_key_value_pair_m), sizeof(struct record_key_value_p…
38 …der_t *)decode_record, state, (*&(*result).lwm2m_senml_record_m), sizeof(struct record))) || (zcbo…
39 …der_t *)decode_record, state, (*&(*result).lwm2m_senml_record_m), sizeof(struct record))) || (zcbo…
67 struct lwm2m_senml *result,
102 …rd_key_value_pair_m, state, (*&(*input).record_key_value_pair_m), sizeof(struct record_key_value_p…
103 …rd_key_value_pair_m, state, (*&(*input).record_key_value_pair_m), sizeof(struct record_key_value_p…
111 …oder_t *)encode_record, state, (*&(*input).lwm2m_senml_record_m), sizeof(struct record))) || (zcbo…
112 …oder_t *)encode_record, state, (*&(*input).lwm2m_senml_record_m), sizeof(struct record))) || (zcbo…
140 const struct lwm2m_senml *input,
[all …]
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_server.rst77 static int my_get(struct coap_resource *resource, struct coap_packet *request,
78 struct sockaddr *addr, socklen_t addr_len)
82 struct coap_packet response;
109 static int my_put(struct coap_resource *resource, struct coap_packet *request,
110 struct sockaddr *addr, socklen_t addr_len)
142 static void notify_observers(struct k_work *work);
145 static int send_temperature(struct coap_resource *resource,
146 const struct sockaddr *addr, socklen_t addr_len,
150 const struct device *dev = DEVICE_DT_GET(DT_ALIAS(ambient_temp0));
152 struct coap_packet response;
[all …]
D8021Qav.rst26 static enum ethernet_hw_caps eth_get_capabilities(const struct device *dev)
49 static void qav_set_status(struct net_if *iface,
52 struct ethernet_req_params params;
64 sizeof(struct ethernet_req_params));
72 static void qav_set_bandwidth_and_slope(struct net_if *iface,
77 struct ethernet_req_params params;
88 sizeof(struct ethernet_req_params));
100 sizeof(struct ethernet_req_params));
/Zephyr-latest/scripts/logging/dictionary/dictionary_parser/
Dlog_parser_v1.py16 import struct
193 one_arg = struct.unpack_from(unpack_fmt, arg_list, arg_offset)[0]
265 log_desc, source_id = struct.unpack_from(self.fmt_msg_hdr, logdata, offset)
266 offset += struct.calcsize(self.fmt_msg_hdr)
268 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
269 offset += struct.calcsize(self.fmt_msg_timestamp)
284 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
292 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
295 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
299 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
[all …]
Dlog_parser_v3.py19 import struct
198 one_arg = struct.unpack_from(unpack_fmt, arg_list, arg_offset)[0]
270 domain_lvl, pkg_len, data_len, source_id = struct.unpack_from(self.fmt_msg_hdr,
272 offset += struct.calcsize(self.fmt_msg_hdr)
274 timestamp = struct.unpack_from(self.fmt_msg_timestamp, logdata, offset)[0]
275 offset += struct.calcsize(self.fmt_msg_timestamp)
292 offset_end_of_args = struct.unpack_from("B", logdata, offset)[0]
300 num_packed_strings = struct.unpack_from("B", logdata, offset+1)[0]
303 num_ro_str_indexes = struct.unpack_from("B", logdata, offset+2)[0]
307 num_rw_str_indexes = struct.unpack_from("B", logdata, offset+3)[0]
[all …]
/Zephyr-latest/scripts/build/
Duser_wordsize.py4 import struct
9 print(struct.calcsize("P") * 8)
/Zephyr-latest/soc/intel/intel_ish/utils/
Dbuild_ish_firmware.py15 import struct
42 struct.pack_into('<4s', m, 0, ext_id)
44 struct.pack_into('<8s', m, 32, comp_app_name)
46 struct.pack_into('<I', m, 96, code_offset)
48 struct.pack_into('<H', m, 100, module_size)
/Zephyr-latest/doc/services/storage/flash_map/
Dflash_map.rst7 flash partitions via :c:struct:`flash_area` structures.
9 Each :c:struct:`flash_area` describes a flash partition. The API provides access
12 in DTS file. Users may also create :c:struct:`flash_area` objects at runtime
18 The :c:struct:`flash_area` contains a pointer to a :c:struct:`device`,
26 The flash_map.h API provides functions for operating on a :c:struct:`flash_area`.
31 Most ``<zephyr/storage/flash_map.h>`` API functions require a :c:struct:`flash_area` object pointer
37 * defining a :c:struct:`flash_area` type object, which requires providing
38 a valid :c:struct:`device` object pointer with offset and size of the area
42 :c:struct:`flash_area` objects and returns, if found, a pointer to an object
84 Users do not have to obtain a :c:struct:`flash_area` object pointer
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dgatt.rst11 which takes the :c:struct:`bt_gatt_service` struct that provides the list of
15 Attributes can be declared using the :c:struct:`bt_gatt_attr` struct or using
69 :c:struct:`bt_gatt_discover_params` struct which describes the type of
78 :c:struct:`bt_gatt_read_params` struct as parameters. In the parameters one or
83 :c:struct:`bt_gatt_write_params` struct as parameters. In case the write
90 :c:struct:`bt_gatt_subscribe_params` as parameters. Multiple subscriptions to
Dl2cap.rst11 Channels instances are represented by the :c:struct:`bt_l2cap_chan` struct which
12 contains the callbacks in the :c:struct:`bt_l2cap_chan_ops` struct to inform
29 the :c:struct:`bt_l2cap_server` struct which informs what ``psm`` it should
Dconnection_mgmt.rst6 The Zephyr Bluetooth stack uses an abstraction called :c:struct:`bt_conn`
7 to represent connections to other devices. The internals of this struct
27 :c:struct:`bt_conn_cb` struct using the :c:func:`bt_conn_cb_register`
28 or :c:macro:`BT_CONN_CB_DEFINE` APIs. This struct lets the application
/Zephyr-latest/doc/kernel/drivers/
Dindex.rst102 struct device {
114 The ``data`` struct is kept in RAM, and is used by the driver for
118 The ``api`` struct maps generic subsystem APIs to the device-specific
137 typedef int (*subsystem_do_this_t)(const struct device *dev, int foo, int bar);
138 typedef void (*subsystem_do_that_t)(const struct device *dev, void *baz);
140 __subsystem struct subsystem_driver_api {
145 static inline int subsystem_do_this(const struct device *dev, int foo, int bar)
150 static inline void subsystem_do_that(const struct device *dev, void *baz)
161 static int my_driver_do_this(const struct device *dev, int foo, int bar)
166 static void my_driver_do_that(const struct device *dev, void *baz)
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst31 static void rpr_scan_report(struct bt_mesh_rpr_cli *cli,
32 const struct bt_mesh_rpr_node *srv,
33 struct bt_mesh_rpr_unprov *unprov,
34 struct net_buf_simple *adv_data)
39 struct bt_mesh_rpr_cli rpr_cli = {
43 const struct bt_mesh_rpr_node srv = {
49 struct bt_mesh_rpr_scan_status status;
77 struct bt_mesh_rpr_cli rpr_cli;
79 const struct bt_mesh_rpr_node srv = {
96 During the remote provisioning, the same :c:struct:`bt_mesh_prov` callbacks are triggered as for
[all …]
/Zephyr-latest/scripts/profiling/
Dstackcollapse.py21 import struct
40 count, = struct.unpack_from(">Q", buf)
42 addrs = struct.unpack_from(f">{count}Q", buf, 8)
/Zephyr-latest/doc/services/smf/
Dindex.rst23 defined structure that has the state machine context, :c:struct:`smf_ctx`, as
26 struct user_object {
27 struct smf_ctx ctx;
31 The :c:struct:`smf_ctx` member must be first because the state machine
32 framework's functions casts the user defined object to the :c:struct:`smf_ctx`
35 For example instead of doing this ``(struct smf_ctx *)&user_obj``, you could
58 const struct smf_state demo_states[] = {
68 const struct smf_state demo_states[] = {
81 const struct smf_state demo_states[];
83 const struct smf_state demo_states[] = {
[all …]
/Zephyr-latest/arch/x86/
Dgen_idt.py33 import struct
72 data = struct.pack(gate_desc_format, offset_lo, KERNEL_CODE_SEG, 0,
82 data = struct.pack(gate_desc_format, 0, tss, 0, type_attr, 0)
109 fp.write(struct.pack(map_fmt, i))
222 header_sz = struct.calcsize(intlist_header_fmt)
223 header = struct.unpack_from(intlist_header_fmt, intdata, 0)
233 struct.iter_unpack(intlist_entry_fmt, intdata)]
288 fp.write(struct.pack("<B", char))
/Zephyr-latest/doc/kernel/data_structures/
Ddlist.rst14 A :c:type:`sys_dlist_t` struct may be instantiated by the user in any
16 or :c:macro:`SYS_DLIST_STATIC_INIT` before use. The :c:type:`sys_dnode_t` struct
18 list (typically embedded within the struct to be tracked, as described
39 provides the pointer to a containing struct instead of the raw node,
54 struct contains "head" and "tail" pointer fields, the :c:type:`sys_dnode_t`
57 struct is inserted as a node into the list itself. This allows for a
60 * An empty list has backpointers to itself in the list struct, which
64 prev/next pointers of a node vs. the list struct address.
72 nodes, where one node represents the list tracking struct.
79 A dlist containing three elements. Note that the list struct
Dslist.rst15 The :c:type:`sys_slist_t` struct may be instantiated by the user in any
24 :c:type:`sys_snode_t` struct.
26 The :c:type:`sys_snode_t` struct represents the data to be inserted. In
28 usually embedded within a struct which is to be added to the list.
29 The container struct pointer may be retrieved from a list node using
30 :c:macro:`SYS_SLIST_CONTAINER`, passing it the struct name of the
31 containing struct and the field name of the node. Internally, the
32 :c:type:`sys_snode_t` struct contains only a next pointer, which may be
59 variable of a type that matches the user's container struct and not
60 the node struct, performing the required offsets internally. And
[all …]
/Zephyr-latest/lib/cpp/minimal/include/
Dnew20 struct nothrow_t {};
22 struct nothrow_t {

12345678910