Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-Core-2.7.6/tests/bluetooth/ll_settings/src/
Dmain.c19 uint16_t cid; in test_company_id() local
22 cid = 0x1234; in test_company_id()
23 err = settings_runtime_set("bt/ctlr/company", &cid, sizeof(cid)); in test_company_id()
25 zassert_equal(ll_settings_company_id(), cid, in test_company_id()
28 cid = 0x5678; in test_company_id()
29 err = settings_runtime_set("bt/ctlr/company", &cid, sizeof(cid)); in test_company_id()
31 zassert_equal(ll_settings_company_id(), cid, in test_company_id()
/Zephyr-Core-2.7.6/subsys/bluetooth/host/
Dl2cap_br.c94 uint16_t cid) in bt_l2cap_br_lookup_rx_cid() argument
99 if (BR_CHAN(chan)->rx.cid == cid) { in bt_l2cap_br_lookup_rx_cid()
108 uint16_t cid) in bt_l2cap_br_lookup_tx_cid() argument
113 if (BR_CHAN(chan)->tx.cid == cid) { in bt_l2cap_br_lookup_tx_cid()
125 uint16_t cid; in l2cap_br_chan_alloc_cid() local
131 if (ch->rx.cid > 0) { in l2cap_br_chan_alloc_cid()
139 for (cid = L2CAP_BR_CID_DYN_START; cid; cid++) { in l2cap_br_chan_alloc_cid()
140 if (!bt_l2cap_br_lookup_rx_cid(conn, cid)) { in l2cap_br_chan_alloc_cid()
141 ch->rx.cid = cid; in l2cap_br_chan_alloc_cid()
157 BT_DBG("chan %p cid 0x%04x", BR_CHAN(chan), BR_CHAN(chan)->rx.cid); in l2cap_br_chan_destroy()
[all …]
Dl2cap_internal.h28 uint16_t cid; member
190 uint16_t cid; member
231 uint16_t cid; member
238 .cid = _cid, \
245 uint16_t cid; member
251 .cid = _cid, \
305 int bt_l2cap_send_cb(struct bt_conn *conn, uint16_t cid, struct net_buf *buf,
308 static inline int bt_l2cap_send(struct bt_conn *conn, uint16_t cid, in bt_l2cap_send() argument
311 return bt_l2cap_send_cb(conn, cid, buf, NULL, NULL); in bt_l2cap_send()
326 uint16_t cid);
[all …]
Dl2cap.c105 uint16_t cid; in l2cap_chan_alloc_cid() local
111 if (ch->rx.cid > 0) { in l2cap_chan_alloc_cid()
115 for (cid = L2CAP_LE_CID_DYN_START; cid <= L2CAP_LE_CID_DYN_END; cid++) { in l2cap_chan_alloc_cid()
116 if (!bt_l2cap_le_lookup_rx_cid(conn, cid)) { in l2cap_chan_alloc_cid()
117 ch->rx.cid = cid; in l2cap_chan_alloc_cid()
338 if (L2CAP_LE_CID_IS_DYN(ch->rx.cid)) { in l2cap_chan_add()
370 ch->rx.cid = fchan->cid; in bt_l2cap_connected()
371 ch->tx.cid = fchan->cid; in bt_l2cap_connected()
433 static inline void l2cap_send(struct bt_conn *conn, uint16_t cid, in l2cap_send() argument
436 if (bt_l2cap_send(conn, cid, buf)) { in l2cap_send()
[all …]
/Zephyr-Core-2.7.6/subsys/bluetooth/mesh/
Dhealth_cli.c31 uint16_t cid; member
44 uint16_t cid; in health_fault_status() local
61 cid = net_buf_simple_pull_le16(buf); in health_fault_status()
62 if (cid != param->cid) { in health_fault_status()
90 uint16_t cid; in health_current_status() local
97 cid = net_buf_simple_pull_le16(buf); in health_current_status()
100 test_id, cid, buf->len); in health_current_status()
107 cli->current_status(cli, ctx->addr, test_id, cid, buf->data, buf->len); in health_current_status()
328 int bt_mesh_health_fault_test(uint16_t addr, uint16_t app_idx, uint16_t cid, in bt_mesh_health_fault_test() argument
339 .cid = cid, in bt_mesh_health_fault_test()
[all …]
Dcfg_cli.c405 uint16_t cid; member
412 uint16_t elem_addr, mod_app_idx, mod_id, cid; in mod_app_status() local
435 cid = net_buf_simple_pull_le16(buf); in mod_app_status()
437 cid = CID_NVAL; in mod_app_status()
444 param->cid != cid) { in mod_app_status()
462 uint16_t cid; member
471 uint16_t elem_addr, mod_id, cid; in mod_member_list_handle() local
483 cid = net_buf_simple_pull_le16(buf); in mod_member_list_handle()
489 (vnd && param->cid != cid)) { in mod_member_list_handle()
551 uint16_t cid; member
[all …]
Dshell.c77 static int fault_get_reg(struct bt_mesh_model *model, uint16_t cid, in fault_get_reg() argument
80 if (cid != BT_COMP_ID_LF) { in fault_get_reg()
82 " 0x%04x", cid); in fault_get_reg()
95 static int fault_clear(struct bt_mesh_model *model, uint16_t cid) in fault_clear() argument
97 if (cid != BT_COMP_ID_LF) { in fault_clear()
107 uint16_t cid) in fault_test() argument
109 if (cid != BT_COMP_ID_LF) { in fault_test()
136 static void show_faults(uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count) in show_faults() argument
142 "0x%04x: no faults", test_id, cid); in show_faults()
147 "Count %zu:", test_id, cid, fault_count); in show_faults()
[all …]
Daccess.c299 uint16_t cid; in bt_mesh_vnd_mod_msg_cid_check() local
303 cid = (uint16_t)(op->opcode & 0xffff); in bt_mesh_vnd_mod_msg_cid_check()
305 if (cid == mod->vnd.company) { in bt_mesh_vnd_mod_msg_cid_check()
592 uint32_t cid = UINT32_MAX; in find_op() local
606 cid = (uint16_t)(opcode & 0xffff); in find_op()
614 cid != UINT32_MAX && in find_op()
615 cid != models[i].vnd.company) { in find_op()
Dhealth_srv.c91 sys_put_le16(comp->cid, company_ptr); in health_get_current()
100 sys_put_le16(comp->cid, company_ptr); in health_get_current()
/Zephyr-Core-2.7.6/include/bluetooth/mesh/
Dhealth_cli.h45 uint8_t test_id, uint16_t cid, uint8_t *faults,
84 int bt_mesh_health_fault_get(uint16_t addr, uint16_t app_idx, uint16_t cid,
101 int bt_mesh_health_fault_clear(uint16_t addr, uint16_t app_idx, uint16_t cid,
116 int bt_mesh_health_fault_test(uint16_t addr, uint16_t app_idx, uint16_t cid,
Dcfg_cli.h397 uint16_t mod_app_idx, uint16_t mod_id, uint16_t cid,
414 uint16_t cid, uint8_t *status);
455 uint16_t mod_id, uint16_t cid, uint8_t *status,
554 uint16_t mod_id, uint16_t cid,
585 uint16_t mod_id, uint16_t cid,
615 uint16_t sub_addr, uint16_t mod_id, uint16_t cid,
645 uint16_t sub_addr, uint16_t mod_id, uint16_t cid,
684 uint16_t mod_id, uint16_t cid, uint8_t *status);
717 uint16_t cid, uint16_t *virt_addr, uint8_t *status);
750 uint16_t cid, uint16_t *virt_addr, uint8_t *status);
[all …]
Daccess.h193 #define BT_MESH_MODEL_OP_3(b0, cid) ((((b0) << 16) | 0xc00000) | (cid)) argument
664 uint16_t cid; /**< Company ID */ member
/Zephyr-Core-2.7.6/drivers/disk/
Dsdmmc_sdhc.h728 static inline void sdhc_decode_cid(struct sd_cid *cid, in sdhc_decode_cid() argument
731 cid->manufacturer = (uint8_t)((raw_cid[3U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()
732 cid->application = (uint16_t)((raw_cid[3U] & 0xFFFF00U) >> 8U); in sdhc_decode_cid()
734 cid->name[0U] = (uint8_t)((raw_cid[3U] & 0xFFU)); in sdhc_decode_cid()
735 cid->name[1U] = (uint8_t)((raw_cid[2U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()
736 cid->name[2U] = (uint8_t)((raw_cid[2U] & 0xFF0000U) >> 16U); in sdhc_decode_cid()
737 cid->name[3U] = (uint8_t)((raw_cid[2U] & 0xFF00U) >> 8U); in sdhc_decode_cid()
738 cid->name[4U] = (uint8_t)((raw_cid[2U] & 0xFFU)); in sdhc_decode_cid()
740 cid->version = (uint8_t)((raw_cid[1U] & 0xFF000000U) >> 24U); in sdhc_decode_cid()
742 cid->ser_num = (uint32_t)((raw_cid[1U] & 0xFFFFFFU) << 8U); in sdhc_decode_cid()
[all …]
/Zephyr-Core-2.7.6/include/drivers/
Dvideo.h201 unsigned int cid,
210 unsigned int cid,
474 static inline int video_set_ctrl(const struct device *dev, unsigned int cid, in video_set_ctrl() argument
484 return api->set_ctrl(dev, cid, value); in video_set_ctrl()
502 static inline int video_get_ctrl(const struct device *dev, unsigned int cid, in video_get_ctrl() argument
512 return api->get_ctrl(dev, cid, value); in video_get_ctrl()
/Zephyr-Core-2.7.6/samples/bluetooth/mesh_provisioner/src/
Dmain.c27 uint8_t test_id, uint16_t cid, uint8_t *faults, in health_current_status() argument
36 test_id, cid); in health_current_status()
41 test_id, cid, fault_count); in health_current_status()
63 .cid = BT_COMP_ID_LF,
/Zephyr-Core-2.7.6/include/bluetooth/
Dl2cap.h156 uint16_t cid; member
214 uint16_t cid; member
Diso.h149 uint16_t cid; member
/Zephyr-Core-2.7.6/drivers/video/
Dvideo_mcux_csi.c299 unsigned int cid, in video_mcux_csi_set_ctrl() argument
307 ret = video_set_ctrl(data->sensor_dev, cid, value); in video_mcux_csi_set_ctrl()
314 unsigned int cid, in video_mcux_csi_get_ctrl() argument
322 ret = video_get_ctrl(data->sensor_dev, cid, value); in video_mcux_csi_get_ctrl()
Dvideo_sw_generator.c227 unsigned int cid, in video_sw_generator_set_ctrl() argument
232 switch (cid) { in video_sw_generator_set_ctrl()
Dov2640.c918 unsigned int cid, void *value) in ov2640_set_ctrl() argument
922 switch (cid) { in ov2640_set_ctrl()
/Zephyr-Core-2.7.6/subsys/net/ip/
D6lo.c32 uint8_t cid : 4; member
170 ctx_6co[index].cid = get_6co_cid(context); in set_6lo_context()
191 ctx_6co[i].cid == get_6co_cid(context)) { in net_6lo_set_context()
215 get_6lo_context_by_cid(struct net_if *iface, uint8_t cid) in get_6lo_context_by_cid() argument
224 if (ctx_6co[i].iface == iface && ctx_6co[i].cid == cid) { in get_6lo_context_by_cid()
813 *inline_pos = src_ctx->cid << 4; in compress_IPHC_header()
817 *inline_pos |= dst_ctx->cid & 0x0F; in compress_IPHC_header()
1288 static inline void uncompress_cid(struct net_pkt *pkt, uint8_t cid, in uncompress_cid() argument
1297 cid_tmp = (cid >> 4) & 0x0F; in uncompress_cid()
1303 cid_tmp = cid & 0x0F; in uncompress_cid()
/Zephyr-Core-2.7.6/tests/bluetooth/tester/src/
Dmesh.c243 static void show_faults(uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count) in show_faults() argument
249 test_id, cid); in show_faults()
254 test_id, cid, fault_count); in show_faults()
262 uint8_t test_id, uint16_t cid, uint8_t *faults, in health_current_status() argument
266 show_faults(test_id, cid, faults, fault_count); in health_current_status()
424 .cid = CID_LOCAL,
1432 cmd->cid, &status, &subs, &sub_cn); in config_mod_sub_get_vnd()
1770 cmd->mod_id, cmd->cid, &status); in config_model_app_bind_vnd()
1852 cmd->cid, &status, &apps, &app_cnt); in config_model_app_vnd_get()
2150 err = bt_mesh_health_fault_get(cmd->address, cmd->app_idx, cmd->cid, in health_fault_get()
[all …]
Dbttester.h1140 uint16_t cid; member
1197 uint16_t cid; member
1262 uint16_t cid; member
1269 uint16_t cid; member
1276 uint16_t cid; member
1284 uint16_t cid; member
/Zephyr-Core-2.7.6/tests/bluetooth/mesh/src/
Dmain.c124 .cid = BT_COMP_ID_LF,
/Zephyr-Core-2.7.6/samples/bluetooth/mesh_demo/src/
Dmain.c113 .cid = BT_COMP_ID_LF,

12