Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 72) sorted by relevance

123

/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/
Dutils.c18 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); in bt_mesh_shell_mdl_first_get() local
20 for (int i = 0; i < comp->elem_count; i++) { in bt_mesh_shell_mdl_first_get()
21 *mod = bt_mesh_model_find(&comp->elem[i], id); in bt_mesh_shell_mdl_first_get()
34 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); in bt_mesh_shell_mdl_instance_set() local
36 if (elem_idx >= comp->elem_count) { in bt_mesh_shell_mdl_instance_set()
41 mod_temp = bt_mesh_model_find(&comp->elem[elem_idx], mod_id); in bt_mesh_shell_mdl_instance_set()
55 const struct bt_mesh_comp *comp = bt_mesh_comp_get(); in bt_mesh_shell_mdl_print_all() local
58 for (int i = 0; i < comp->elem_count; i++) { in bt_mesh_shell_mdl_print_all()
59 mod = bt_mesh_model_find(&comp->elem[i], mod_id); in bt_mesh_shell_mdl_print_all()
63 comp->elem[i].rt->addr, mod->rt->elem_idx); in bt_mesh_shell_mdl_print_all()
Dlarge_comp_data.c32 NET_BUF_SIMPLE_DEFINE(comp, 64); in cmd_large_comp_data_get()
34 .data = &comp, in cmd_large_comp_data_get()
40 net_buf_simple_init(&comp, 0); in cmd_large_comp_data_get()
86 SHELL_CMD_ARG(large-comp-data-get, NULL, "<page> <offset>", cmd_large_comp_data_get, 3, 0),
/Zephyr-Core-3.6.0/drivers/sensor/dps310/
Ddps310.c231 struct dps310_cal_coeff comp; member
251 struct dps310_cal_coeff *comp) in dps310_calib_coeff_creation() argument
254 comp->c0 = (((uint16_t)raw_coef[0]) << 4) + (raw_coef[1] >> 4); in dps310_calib_coeff_creation()
256 if (comp->c0 > POW_2_11_MINUS_1) { in dps310_calib_coeff_creation()
257 comp->c0 = comp->c0 - POW_2_12; in dps310_calib_coeff_creation()
260 comp->c1 = (((uint16_t)(raw_coef[1] & 0x0F)) << 8) + raw_coef[2]; in dps310_calib_coeff_creation()
262 if (comp->c1 > POW_2_11_MINUS_1) { in dps310_calib_coeff_creation()
263 comp->c1 = comp->c1 - POW_2_12; in dps310_calib_coeff_creation()
267 comp->c00 = (((uint32_t)raw_coef[3]) << 12) + (((uint16_t)raw_coef[4]) << 4) + in dps310_calib_coeff_creation()
270 if (comp->c00 > POW_2_19_MINUS_1) { in dps310_calib_coeff_creation()
[all …]
/Zephyr-Core-3.6.0/drivers/sensor/ntc_thermistor/
Dntc_thermistor_calc.c45 if (ohm > type->comp[low].ohm) { in ntc_lookup_comp()
47 } else if (ohm < type->comp[high].ohm) { in ntc_lookup_comp()
54 if (ohm > type->comp[mid].ohm) { in ntc_lookup_comp()
104 temp = ntc_fixp_linear_interpolate(type->comp[low].ohm, type->comp[low].temp_c * 1000, in ntc_get_temp_mc()
105 type->comp[high].ohm, type->comp[high].temp_c * 1000, in ntc_get_temp_mc()
Dntc_thermistor.c143 .comp = _comp, \
156 #define NTC_THERMISTOR_DEFINE(inst, id, comp) \ argument
157 NTC_THERMISTOR_DEFINE0(inst, id, comp, ARRAY_SIZE(comp))
Dntc_thermistor.h18 const struct ntc_compensation *comp; member
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/
Dget_comp2_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=2 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=2 comp-changed-mode=1
Dget_comp0_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=0 comp-changed-mode=1
Dget_comp128_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=128 comp-changed-mode=1
Dget_comp129_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=129 comp-changed-mode=1
Dget_comp130_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=130 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=130 comp-changed-mode=1
Dget_comp1_data_split_dfu.sh26 lcd_cli_split_comp_data_request -- -argstest page=1 comp-changed-mode=1
31 lcd_cli_split_comp_data_request -- -argstest page=1 comp-changed-mode=1
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/
Dpb_gatt.c34 struct prov_bearer_send_cb comp; member
205 if (link.comp.cb) { in buf_send_end()
206 link.comp.cb(0, link.comp.cb_data); in buf_send_end()
217 link.comp.cb = cb; in buf_send()
218 link.comp.cb_data = cb_data; in buf_send()
Daccess.c232 const struct bt_mesh_comp *comp; in bt_mesh_metadata_page_0_size() local
236 comp = bt_mesh_comp_get(); in bt_mesh_metadata_page_0_size()
306 const struct bt_mesh_comp *comp; in bt_mesh_metadata_get_page_0() local
315 comp = bt_mesh_comp_get(); in bt_mesh_metadata_get_page_0()
317 for (i = 0; i < comp->elem_count; i++) { in bt_mesh_metadata_get_page_0()
421 const struct bt_mesh_comp *comp; in bt_mesh_comp_data_get_page_0() local
424 comp = bt_mesh_comp_get(); in bt_mesh_comp_data_get_page_0()
442 data_buf_add_le16_offset(buf, comp->cid, &offset); in bt_mesh_comp_data_get_page_0()
443 data_buf_add_le16_offset(buf, comp->pid, &offset); in bt_mesh_comp_data_get_page_0()
444 data_buf_add_le16_offset(buf, comp->vid, &offset); in bt_mesh_comp_data_get_page_0()
[all …]
Dmain.c71 const struct bt_mesh_comp *comp; in bt_mesh_provision() local
74 comp = bt_mesh_comp_get(); in bt_mesh_provision()
75 if (comp == NULL) { in bt_mesh_provision()
90 comp->elem_count, net_idx); in bt_mesh_provision()
569 const struct bt_mesh_comp *comp) in bt_mesh_init() argument
587 err = bt_mesh_comp_register(comp); in bt_mesh_init()
Dhealth_srv.c70 const struct bt_mesh_comp *comp; in health_get_current() local
79 comp = bt_mesh_comp_get(); in health_get_current()
90 sys_put_le16(comp->cid, company_ptr); in health_get_current()
99 sys_put_le16(comp->cid, company_ptr); in health_get_current()
/Zephyr-Core-3.6.0/subsys/mgmt/osdp/src/
Dosdp_phy.c261 uint16_t comp, cur; in osdp_phy_check_packet() local
311 comp = osdp_compute_crc16(buf, pkt_len); in osdp_phy_check_packet()
312 if (comp != cur) { in osdp_phy_check_packet()
313 LOG_ERR("Invalid crc 0x%04x/0x%04x", comp, cur); in osdp_phy_check_packet()
321 comp = osdp_compute_checksum(buf, pkt_len); in osdp_phy_check_packet()
322 if (comp != cur) { in osdp_phy_check_packet()
323 LOG_ERR("Invalid checksum %02x/%02x", comp, cur); in osdp_phy_check_packet()
342 comp = pkt->control & PKT_CONTROL_SQN; in osdp_phy_check_packet()
344 if (comp == 0) { in osdp_phy_check_packet()
356 if (comp == pd->seq_number) { in osdp_phy_check_packet()
[all …]
/Zephyr-Core-3.6.0/scripts/dts/
Dgen_dts_cmake.py124 for comp in node.props[item].val:
125 compatible2paths[comp].append(node.path)
146 for comp in compatible2paths.keys():
148 for path in compatible2paths[comp]:
/Zephyr-Core-3.6.0/tests/bluetooth/mesh_shell/src/
Dmain.c114 static const struct bt_mesh_comp comp = { variable
129 err = bt_mesh_init(&bt_mesh_shell_prov, &comp); in bt_ready()
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/mesh/src/
Dtest_sar.c143 static const struct bt_mesh_comp comp = { variable
191 bt_mesh_device_setup(&prov, &comp); in cli_max_len_sdu_send()
213 bt_mesh_device_setup(&prov, &comp); in srv_max_len_sdu_receive()
262 bt_mesh_device_setup(&prov, &comp); in test_srv_cfg_store()
280 bt_mesh_device_setup(&prov, &comp); in test_srv_cfg_restore()
Dtest_provision.c87 extern const struct bt_mesh_comp comp;
489 bt_mesh_device_setup(&prov, &comp); in oob_device()
520 bt_mesh_device_setup(&prov, &comp); in oob_provisioner()
629 bt_mesh_device_setup(&prov, &comp); in test_device_pb_adv_no_oob()
647 bt_mesh_device_setup(&prov, &comp); in test_device_pb_adv_reprovision()
668 bt_mesh_device_setup(&prov, &comp); in test_provisioner_pb_adv_no_oob()
729 bt_mesh_device_setup(&prov, &comp); in test_provisioner_pb_adv_multi()
749 bt_mesh_device_setup(&prov, &comp); in test_provisioner_iv_update_flag_zero()
767 bt_mesh_device_setup(&prov, &comp); in test_provisioner_iv_update_flag_one()
790 bt_mesh_device_setup(&prov, &comp); in test_provisioner_pb_adv_reprovision()
[all …]
Dtest_proxy_sol.c57 static const struct bt_mesh_comp comp = { variable
110 bt_mesh_device_setup(&prov, &comp); in tester_configure()
126 bt_mesh_device_setup(&prov, &comp); in iut_configure()
/Zephyr-Core-3.6.0/scripts/footprint/
Dupload_data.py90 comp = node.name
91 if comp in ['Root', 'Symbols']:
94 data[comp] = node.size
/Zephyr-Core-3.6.0/tests/bluetooth/mesh/basic/src/
Dmain.c121 static const struct bt_mesh_comp comp = { variable
172 err = bt_mesh_init(&prov, &comp); in bt_ready()
/Zephyr-Core-3.6.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dble_mesh.c61 err = bt_mesh_init(&prov, &comp); in bt_ready()

123