Home
last modified time | relevance | path

Searched defs:hdr (Results 1 – 25 of 220) sorted by relevance

123456789

/Zephyr-latest/subsys/bluetooth/controller/util/
Ddbuf.h48 static inline void *dbuf_peek(struct dbuf_hdr *hdr) in dbuf_peek()
59 static inline void dbuf_enqueue(struct dbuf_hdr *hdr, uint8_t idx) in dbuf_enqueue()
92 static inline void *dbuf_curr_get(struct dbuf_hdr *hdr) in dbuf_curr_get()
104 static inline bool dbuf_is_modified(const struct dbuf_hdr *hdr) in dbuf_is_modified()
Ddbuf.c17 void *dbuf_alloc(struct dbuf_hdr *hdr, uint8_t *idx) in dbuf_alloc()
61 void *dbuf_latest_get(struct dbuf_hdr *hdr, uint8_t *is_modified) in dbuf_latest_get()
/Zephyr-latest/subsys/bluetooth/host/classic/
Davctp_internal.h40 #define BT_AVCTP_HDR_GET_TRANSACTION_LABLE(hdr) FIELD_GET(GENMASK(7, 4), ((hdr)->byte0)) argument
44 #define BT_AVCTP_HDR_GET_PACKET_TYPE(hdr) FIELD_GET(GENMASK(3, 2), ((hdr)->byte0)) argument
46 #define BT_AVCTP_HDR_GET_CR(hdr) FIELD_GET(BIT(1), ((hdr)->byte0)) argument
51 #define BT_AVCTP_HDR_GET_IPID(hdr) FIELD_GET(BIT(0), ((hdr)->byte0)) argument
57 #define BT_AVCTP_HDR_SET_TRANSACTION_LABLE(hdr, tl) \ argument
62 #define BT_AVCTP_HDR_SET_PACKET_TYPE(hdr, packet_type) \ argument
65 #define BT_AVCTP_HDR_SET_CR(hdr, cr) \ argument
71 #define BT_AVCTP_HDR_SET_IPID(hdr, ipid) \ argument
Davrcp_internal.h68 #define BT_AVRCP_HDR_GET_CTYPE(hdr) FIELD_GET(GENMASK(3, 0), ((hdr)->byte0)) argument
74 #define BT_AVRCP_HDR_GET_SUBUNIT_ID(hdr) FIELD_GET(GENMASK(2, 0), ((hdr)->byte1)) argument
80 #define BT_AVRCP_HDR_GET_SUBUNIT_TYPE(hdr) FIELD_GET(GENMASK(7, 3), ((hdr)->byte1)) argument
83 #define BT_AVRCP_HDR_SET_CTYPE(hdr, ctype) \ argument
90 #define BT_AVRCP_HDR_SET_SUBUNIT_ID(hdr, subunit_id) \ argument
97 #define BT_AVRCP_HDR_SET_SUBUNIT_TYPE(hdr, subunit_type) \ argument
101 struct bt_avrcp_header hdr; member
/Zephyr-latest/subsys/stats/
Dstats.c19 stats_get_name(const struct stats_hdr *hdr, int idx) in stats_get_name()
44 stats_get_off(const struct stats_hdr *hdr, int idx) in stats_get_off()
96 stats_walk(struct stats_hdr *hdr, stats_walk_fn *walk_func, void *arg) in stats_walk()
133 stats_init(struct stats_hdr *hdr, uint8_t size, uint16_t cnt, in stats_init()
161 struct stats_hdr *hdr; in stats_group_walk() local
196 struct stats_hdr *hdr; in stats_group_find() local
219 stats_register(const char *name, struct stats_hdr *hdr) in stats_register()
281 stats_reset(struct stats_hdr *hdr) in stats_reset()
Dstats_shell.c10 static int stats_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stats_cb()
32 static int stats_group_cb(struct stats_hdr *hdr, void *arg) in stats_group_cb()
/Zephyr-latest/include/zephyr/bluetooth/classic/
Da2dp_codec_sbc.h75 #define BT_A2DP_SBC_MEDIA_HDR_NUM_FRAMES_GET(hdr) FIELD_GET(GENMASK(3, 0), (hdr)) argument
77 #define BT_A2DP_SBC_MEDIA_HDR_L_GET(hdr) FIELD_GET(BIT(5), (hdr)) argument
79 #define BT_A2DP_SBC_MEDIA_HDR_S_GET(hdr) FIELD_GET(BIT(6), (hdr)) argument
81 #define BT_A2DP_SBC_MEDIA_HDR_F_GET(hdr) FIELD_GET(BIT(7), (hdr)) argument
88 #define BT_A2DP_SBC_MEDIA_HDR_NUM_FRAMES_SET(hdr, val)\ argument
91 #define BT_A2DP_SBC_MEDIA_HDR_L_SET(hdr, val)\ argument
94 #define BT_A2DP_SBC_MEDIA_HDR_S_SET(hdr, val)\ argument
97 #define BT_A2DP_SBC_MEDIA_HDR_F_SET(hdr, val)\ argument
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_messages.c85 struct gptp_hdr *hdr; in gptp_sync_timestamp_callback() local
113 struct gptp_hdr *hdr; in gptp_pdelay_response_timestamp_callback() local
189 struct gptp_hdr *hdr; in gptp_prepare_sync() local
240 struct gptp_hdr *hdr, *sync_hdr; in gptp_prepare_follow_up() local
294 struct gptp_hdr *hdr; in gptp_prepare_pdelay_req() local
351 struct gptp_hdr *hdr, *query; in gptp_prepare_pdelay_resp() local
411 struct gptp_hdr *hdr, *resp_hdr; in gptp_prepare_pdelay_follow_up() local
476 struct gptp_hdr *hdr; in gptp_prepare_announce() local
582 struct gptp_hdr *hdr; in gptp_handle_sync() local
601 struct gptp_hdr *sync_hdr, *hdr; in gptp_handle_follow_up() local
[all …]
/Zephyr-latest/samples/bluetooth/hci_uart_3wire/src/
Dmain.c76 #define H5_HDR_SEQ(hdr) ((hdr)[0] & 0x07) argument
77 #define H5_HDR_ACK(hdr) (((hdr)[0] >> 3) & 0x07) argument
78 #define H5_HDR_CRC(hdr) (((hdr)[0] >> 6) & 0x01) argument
79 #define H5_HDR_RELIABLE(hdr) (((hdr)[0] >> 7) & 0x01) argument
80 #define H5_HDR_PKT_TYPE(hdr) ((hdr)[1] & 0x0f) argument
81 #define H5_HDR_LEN(hdr) ((((hdr)[1] >> 4) & 0x0f) + ((hdr)[2] << 4)) argument
83 #define H5_SET_SEQ(hdr, seq) ((hdr)[0] |= (seq)) argument
84 #define H5_SET_ACK(hdr, ack) ((hdr)[0] |= (ack) << 3) argument
85 #define H5_SET_RELIABLE(hdr) ((hdr)[0] |= 1 << 7) argument
86 #define H5_SET_TYPE(hdr, type) ((hdr)[1] |= type) argument
[all …]
/Zephyr-latest/tests/crypto/tinycrypt/src/
Dccm_mode.c73 const uint8_t *hdr, size_t hlen, in do_test()
135 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
173 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
211 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
251 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
290 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
329 const uint8_t hdr[HEADER_LEN] = { in ZTEST() local
369 uint8_t *hdr = NULL; in ZTEST() local
430 const uint8_t hdr[8] = { in ZTEST() local
/Zephyr-latest/drivers/bluetooth/hci/
Dh5.c70 #define H5_HDR_SEQ(hdr) ((hdr)[0] & 0x07) argument
71 #define H5_HDR_ACK(hdr) (((hdr)[0] >> 3) & 0x07) argument
72 #define H5_HDR_CRC(hdr) (((hdr)[0] >> 6) & 0x01) argument
73 #define H5_HDR_RELIABLE(hdr) (((hdr)[0] >> 7) & 0x01) argument
74 #define H5_HDR_PKT_TYPE(hdr) ((hdr)[1] & 0x0f) argument
75 #define H5_HDR_LEN(hdr) ((((hdr)[1] >> 4) & 0x0f) + ((hdr)[2] << 4)) argument
77 #define H5_SET_SEQ(hdr, seq) ((hdr)[0] |= (seq)) argument
78 #define H5_SET_ACK(hdr, ack) ((hdr)[0] |= (ack) << 3) argument
79 #define H5_SET_RELIABLE(hdr) ((hdr)[0] |= 1 << 7) argument
80 #define H5_SET_TYPE(hdr, type) ((hdr)[1] |= type) argument
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_internal.h55 static inline uint8_t ull_ref_get(struct ull_hdr *hdr) in ull_ref_get()
60 static inline uint8_t ull_ref_inc(struct ull_hdr *hdr) in ull_ref_inc()
65 static inline uint8_t ull_ref_dec(struct ull_hdr *hdr) in ull_ref_dec()
70 static inline void ull_hdr_init(struct ull_hdr *hdr) in ull_hdr_init()
Dlll_common.c45 struct lll_hdr *hdr = prepare_param->param; in lll_prepare() local
84 struct lll_hdr *hdr = param; in lll_done_score() local
/Zephyr-latest/drivers/ethernet/
Doa_tc6.c27 uint32_t rv, rvn, hdr_bkp, *hdr = (uint32_t *) &buf[0]; in oa_tc6_reg_read() local
85 uint32_t rv, rvn, hdr_bkp, *hdr = (uint32_t *) &buf_tx[0]; in oa_tc6_reg_write() local
182 uint32_t hdr, ftr; in oa_tc6_send_chunks() local
281 uint32_t hdr, uint32_t *ftr) in oa_tc6_chunk_spi_transfer()
319 uint32_t hdr; in oa_tc6_read_status() local
334 uint32_t hdr, ftr; in oa_tc6_read_chunks() local
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c52 struct bt_hci_cmd_hdr *hdr; in bt_hci_cmd_create() local
75 struct bt_hci_evt_hdr *hdr; in handle_cmd_complete() local
147 struct bt_hci_evt_hdr *hdr; in handle_ncp() local
194 struct bt_l2cap_sig_hdr *hdr; in handle_sig() local
216 struct bt_l2cap_hdr *hdr; in handle_l2cap() local
240 struct bt_hci_acl_hdr *hdr; in handle_acl() local
477 struct bt_l2cap_sig_hdr *hdr; in l2cap_create_le_sig_pdu() local
492 struct bt_hci_acl_hdr *hdr; in send_acl() local
508 struct bt_l2cap_hdr *hdr; in send_l2cap_packet() local
/Zephyr-latest/soc/intel/intel_adsp/common/
Dboot.c83 static __imr void parse_module(struct sof_man_fw_header *hdr, in parse_module()
127 struct sof_man_fw_header *hdr = &desc->header; in parse_manifest() local
/Zephyr-latest/include/zephyr/net/
Dudp.h84 struct net_udp_hdr *hdr) in net_udp_set_hdr()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c54 struct bt_hci_cmd_hdr *hdr; in bt_hci_cmd_create() local
77 struct bt_hci_evt_hdr *hdr; in handle_cmd_complete() local
159 struct bt_hci_evt_hdr *hdr; in handle_ncp() local
206 struct bt_l2cap_sig_hdr *hdr; in handle_sig() local
228 struct bt_l2cap_hdr *hdr; in handle_l2cap() local
252 struct bt_hci_acl_hdr *hdr; in handle_acl() local
506 struct bt_l2cap_sig_hdr *hdr; in l2cap_create_le_sig_pdu() local
521 struct bt_hci_acl_hdr *hdr; in send_acl() local
536 struct bt_l2cap_hdr *hdr; in push_l2cap_pdu_header() local
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c25 struct log_frontend_uart_pkt_hdr hdr; member
30 struct log_frontend_uart_pkt_hdr hdr; member
35 struct log_frontend_uart_pkt_hdr hdr; member
51 struct log_frontend_uart_generic_pkt *hdr = (struct log_frontend_uart_generic_pkt *)packet; in get_wlen() local
161 struct log_frontend_uart_pkt_hdr *hdr; in uart_callback() local
226 static inline void hdr_fill(struct log_dict_output_normal_msg_hdr_t *hdr, in hdr_fill()
244 struct log_dict_output_normal_msg_hdr_t hdr; in sync_msg() local
/Zephyr-latest/subsys/mgmt/mcumgr/grp/stat_mgmt/src/
Dstat_mgmt.c31 stats_mgmt_count_plus_one(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stats_mgmt_count_plus_one()
43 struct stats_hdr *hdr = stats_group_find(group_name); in stat_mgmt_count() local
63 stat_mgmt_walk_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stat_mgmt_walk_cb()
95 struct stats_hdr *hdr; in stat_mgmt_foreach_entry() local
/Zephyr-latest/subsys/net/lib/ptp/
Dmsg.h93 struct ptp_header hdr; member
125 struct ptp_header hdr; member
137 struct ptp_header hdr; member
149 struct ptp_header hdr; member
161 struct ptp_header hdr; member
175 struct ptp_header hdr; member
191 struct ptp_header hdr; member
205 struct ptp_header hdr; member
219 struct ptp_header hdr; member
231 struct ptp_header hdr; member
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/reassembly/peer/src/
Dpeer.c61 struct bt_hci_cmd_hdr *hdr; in bt_hci_cmd_create() local
84 struct bt_hci_evt_hdr *hdr; in handle_cmd_complete() local
151 struct bt_hci_evt_hdr *hdr; in handle_ncp() local
193 struct bt_l2cap_hdr *hdr; in handle_l2cap() local
214 struct bt_hci_acl_hdr *hdr; in handle_acl() local
463 struct bt_hci_acl_hdr *hdr; in send_acl() local
478 struct bt_l2cap_hdr *hdr; in push_l2cap_pdu_header() local
/Zephyr-latest/tests/net/icmpv6/src/
Dmain.c127 struct net_icmp_ip_hdr *hdr, in handle_test_msg()
153 struct net_ipv6_hdr **hdr) in create_pkt()
181 struct net_ipv6_hdr *hdr; in ZTEST() local
/Zephyr-latest/tests/bsim/bluetooth/host/misc/disconnect/tester/src/
Dmain.c60 struct bt_hci_cmd_hdr *hdr; in bt_hci_cmd_create() local
83 struct bt_hci_evt_hdr *hdr; in handle_cmd_complete() local
155 struct bt_hci_evt_hdr *hdr; in handle_ncp() local
217 struct bt_l2cap_hdr *hdr; in handle_l2cap() local
238 struct bt_hci_acl_hdr *hdr; in handle_acl() local
474 struct bt_hci_acl_hdr *hdr; in send_acl() local
490 struct bt_l2cap_hdr *hdr; in send_l2cap_packet() local
/Zephyr-latest/samples/net/sockets/net_mgmt/src/
Dmain.c73 struct net_mgmt_msghdr *hdr) in get_ip_addr()
120 struct net_mgmt_msghdr *hdr; in listener() local

123456789