Home
last modified time | relevance | path

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

1234

/Zephyr-latest/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-latest/drivers/sensor/infineon/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-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor_calc.c43 if (ohm > type->comp[low].ohm) { in ntc_lookup_comp()
45 } else if (ohm < type->comp[high].ohm) { in ntc_lookup_comp()
52 if (ohm > type->comp[mid].ohm) { in ntc_lookup_comp()
96 temp = ntc_fixp_linear_interpolate(type->comp[low].ohm, type->comp[low].temp_c * 1000, in ntc_get_temp_mc()
97 type->comp[high].ohm, type->comp[high].temp_c * 1000, in ntc_get_temp_mc()
Dntc_thermistor.c151 .comp = _comp, \
164 #define NTC_THERMISTOR_DEFINE(inst, id, comp) \ argument
165 NTC_THERMISTOR_DEFINE0(inst, id, comp, ARRAY_SIZE(comp))
/Zephyr-latest/tests/bsim/bluetooth/mesh/tests_scripts/large_comp_data/
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
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
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay15 test-comp = &comp;
Dnrf54l15dk_nrf54l15_cpuapp.overlay15 test-comp = &comp;
Dnrf54h20dk_nrf54h20_cpuapp.overlay15 test-comp = &comp;
/Zephyr-latest/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 …]
/Zephyr-latest/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-latest/scripts/dts/
Dgen_dts_cmake.py140 for comp in node.props[item].val:
141 compatible2paths[comp].append(node.path)
162 for comp in compatible2paths.keys():
164 for path in compatible2paths[comp]:
/Zephyr-latest/samples/boards/nordic/system_off/boards/
Dnrf54l15dk_nrf54l15_cpuapp_comparator.overlay1 &comp {
/Zephyr-latest/tests/drivers/comparator/shell/
Dapp.overlay9 compatible = "zephyr,fake-comp";
/Zephyr-latest/tests/drivers/build_all/comparator/nrf_lpcomp/
Dext_ref.overlay7 &comp {
Dint_ref.overlay7 &comp {
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/snippets/nrf_lpcomp/boards/
Dnrf5340dk_nrf5340_cpuapp.overlay7 &comp {
Dnrf54h20dk_nrf54h20_cpuapp.overlay7 &comp {
Dnrf54l15dk_nrf54l15_cpuapp.overlay7 &comp {

1234