Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 28) sorted by relevance

12

/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/
Daccess.c28 void bt_mesh_model_foreach(void (*func)(struct bt_mesh_model *mod, in bt_mesh_model_foreach() argument
58 int32_t bt_mesh_model_pub_period_get(struct bt_mesh_model *mod) in bt_mesh_model_pub_period_get() argument
62 if (!mod->pub) { in bt_mesh_model_pub_period_get()
67 switch (mod->pub->period >> 6) { in bt_mesh_model_pub_period_get()
70 period = K_MSEC((mod->pub->period & BIT_MASK(6)) * 100U); in bt_mesh_model_pub_period_get()
74 period = K_SECONDS(mod->pub->period & BIT_MASK(6)); in bt_mesh_model_pub_period_get()
78 period = K_SECONDS((mod->pub->period & BIT_MASK(6)) * 10U); in bt_mesh_model_pub_period_get()
82 period = K_MINUTES((mod->pub->period & BIT_MASK(6)) * 10U); in bt_mesh_model_pub_period_get()
89 if (mod->pub->fast_period) { in bt_mesh_model_pub_period_get()
90 return period >> mod->pub->period_div; in bt_mesh_model_pub_period_get()
[all …]
Dcfg_srv.c46 struct bt_mesh_model *mod = NULL; in comp_add_elem() local
61 mod = &elem->models[i]; in comp_add_elem()
62 net_buf_simple_add_le16(buf, mod->id); in comp_add_elem()
66 mod = &elem->vnd_models[i]; in comp_add_elem()
67 net_buf_simple_add_le16(buf, mod->vnd.company); in comp_add_elem()
68 net_buf_simple_add_le16(buf, mod->vnd.id); in comp_add_elem()
511 static void _mod_unbind(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in _mod_unbind() argument
516 mod_unbind(mod, data->app_idx, data->store); in _mod_unbind()
955 bool vnd, struct bt_mesh_model *mod, in send_mod_pub_status() argument
972 idx_cred = mod->pub->key | (uint16_t)mod->pub->cred << 12; in send_mod_pub_status()
[all …]
Dmain.c269 static void model_suspend(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in model_suspend() argument
272 if (mod->pub && mod->pub->update) { in model_suspend()
273 mod->pub->count = 0U; in model_suspend()
274 k_delayed_work_cancel(&mod->pub->timer); in model_suspend()
308 static void model_resume(struct bt_mesh_model *mod, struct bt_mesh_elem *elem, in model_resume() argument
311 if (mod->pub && mod->pub->update) { in model_resume()
312 int32_t period_ms = bt_mesh_model_pub_period_get(mod); in model_resume()
315 k_delayed_work_submit(&mod->pub->timer, period_ms); in model_resume()
Dsettings.h33 void bt_mesh_store_mod_bind(struct bt_mesh_model *mod);
34 void bt_mesh_store_mod_sub(struct bt_mesh_model *mod);
35 void bt_mesh_store_mod_pub(struct bt_mesh_model *mod);
Daccess.h32 uint16_t *bt_mesh_model_find_group(struct bt_mesh_model *mod, uint16_t addr);
36 void bt_mesh_model_foreach(void (*func)(struct bt_mesh_model *mod,
42 int32_t bt_mesh_model_pub_period_get(struct bt_mesh_model *mod);
/hal_espressif-3.4.0/components/bootloader/subproject/components/micro-ecc/micro-ecc/
DuECC_vli.h76 const uECC_word_t *mod,
84 const uECC_word_t *mod,
91 const uECC_word_t *mod,
103 const uECC_word_t *mod,
116 const uECC_word_t *mod,
125 const uECC_word_t *mod,
DuECC.c538 const uECC_word_t *mod, in uECC_vli_modAdd() argument
541 if (carry || uECC_vli_cmp_unsafe(mod, result, num_words) != 1) { in uECC_vli_modAdd()
543 uECC_vli_sub(result, result, mod, num_words); in uECC_vli_modAdd()
552 const uECC_word_t *mod, in uECC_vli_modSub() argument
558 uECC_vli_add(result, result, mod, num_words); in uECC_vli_modSub()
566 const uECC_word_t *mod, in uECC_vli_mmod() argument
574 bitcount_t shift = (num_words * 2 * uECC_WORD_BITS) - uECC_vli_numBits(mod, num_words); in uECC_vli_mmod()
581 mod_multiple[word_shift + index] = (mod[index] << bit_shift) | carry; in uECC_vli_mmod()
582 carry = mod[index] >> (uECC_WORD_BITS - bit_shift); in uECC_vli_mmod()
585 uECC_vli_set(mod_multiple + word_shift, mod, num_words); in uECC_vli_mmod()
[all …]
Dcurve-specific.inc112 /* Compute a = sqrt(a) (mod curve_p). */
119 /* When curve->p == 3 (mod 4), we can compute
120 sqrt(a) = a^((curve->p + 1) / 4) (mod curve->p). */
542 /* Compute a = sqrt(a) (mod curve_p). */
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Decc.c295 const uECC_word_t *right, const uECC_word_t *mod, in uECC_vli_modAdd() argument
299 if (carry || uECC_vli_cmp_unsafe(mod, result, num_words) != 1) { in uECC_vli_modAdd()
302 uECC_vli_sub(result, result, mod, num_words); in uECC_vli_modAdd()
307 const uECC_word_t *right, const uECC_word_t *mod, in uECC_vli_modSub() argument
314 uECC_vli_add(result, result, mod, num_words); in uECC_vli_modSub()
321 const uECC_word_t *mod, wordcount_t num_words) in uECC_vli_mmod() argument
330 uECC_vli_numBits(mod, num_words); in uECC_vli_mmod()
337 mod_multiple[word_shift + index] = (mod[index] << bit_shift) | carry; in uECC_vli_mmod()
338 carry = mod[index] >> (uECC_WORD_BITS - bit_shift); in uECC_vli_mmod()
341 uECC_vli_set(mod_multiple + word_shift, mod, num_words); in uECC_vli_mmod()
[all …]
/hal_espressif-3.4.0/tools/ci/python_packages/tiny_test_fw/Utility/
DSearchCases.py35 mod = load_source(file_name)
36 for func in [mod.__getattribute__(x) for x in dir(mod)
37 if isinstance(mod.__getattribute__(x), types.FunctionType)]:
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_access.h362 struct bt_mesh_model *mod; member
402 int (*update)(struct bt_mesh_model *mod);
548 struct bt_mesh_elem *bt_mesh_model_elem(struct bt_mesh_model *mod);
578 static inline bool bt_mesh_model_in_primary(const struct bt_mesh_model *mod) in bt_mesh_model_in_primary() argument
580 return (mod->elem_idx == 0); in bt_mesh_model_in_primary()
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Decc.h354 const uECC_word_t *right, const uECC_word_t *mod,
399 const uECC_word_t *mod, wordcount_t num_words);
442 const uECC_word_t *right, const uECC_word_t *mod,
455 const uECC_word_t *mod, wordcount_t num_words);
477 const uECC_word_t *right, const uECC_word_t *mod,
/hal_espressif-3.4.0/tools/kconfig/
Dconf.c182 case mod: in conf_sym()
191 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
211 newval = mod; in conf_sym()
250 case mod: in conf_choice()
259 case mod: in conf_choice()
396 if (sym->curr.tri != mod) in conf()
Dsymbol.c20 .curr = { "m", mod },
220 if (tri == mod && (sym->type != S_TRISTATE || modules_val == no)) in sym_calc_visibility()
232 if (tri == mod) in sym_calc_visibility()
241 if (tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_visibility()
402 if (newval.tri == mod && sym_get_type(sym) == S_BOOLEAN) in sym_calc_value()
483 if (type == S_BOOLEAN && val == mod) in sym_tristate_within_range()
536 newval = mod; in sym_toggle_tristate_value()
538 case mod: in sym_toggle_tristate_value()
626 return sym_tristate_within_range(sym, mod); in sym_string_within_range()
649 return sym_set_tristate_value(sym, mod); in sym_set_string_value()
[all …]
Dmconf.c549 case mod: ch = 'M'; break; in build_conf()
602 case mod: ch = 'M'; break; in build_conf()
606 if (sym->rev_dep.tri == mod) in build_conf()
726 if (sym_set_tristate_value(sym, mod)) in conf()
736 sym_set_tristate_value(sym, mod); in conf()
Dnconf.c815 case mod: in build_conf()
870 case mod: in build_conf()
878 if (sym->rev_dep.tri == mod) in build_conf()
1195 if (sym_set_tristate_value(sym, mod)) in conf()
1205 sym_set_tristate_value(sym, mod); in conf()
Dconfdata.c133 sym->def[def].tri = mod; in conf_set_sym_val()
387 case mod: in conf_read_simple()
1063 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
1078 sym->def[S_DEF_USER].tri = mod; in conf_set_all_new_symbols()
Dqconf.cc173 case mod: in updateMenu()
189 if (expr != mod) in updateMenu()
190 setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); in updateMenu()
750 setValue(item, mod); in keyPressEvent()
808 setValue(item, mod); in mouseReleaseEvent()
1065 str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; in symbolInfo()
Dgconf.c817 newval = mod; in change_sym_value()
1127 case mod: in fill_row()
1142 if (val != mod && sym_tristate_within_range(sym, mod)) in fill_row()
Dexpr.h28 no, mod, yes enumerator
/hal_espressif-3.4.0/components/wpa_supplicant/test/
Dtest_crypto.c85 crypto_bignum *bn1, *bn2, *mod; variable
88 mod = crypto_bignum_init();
103 TEST_ASSERT(crypto_bignum_mod(bn1, bn2, mod) == 0);
105 TEST_ASSERT(crypto_bignum_to_bin(mod, buf4, 32, 0) == 32);
110 crypto_bignum_deinit(mod, 1);
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h359 int32_t btc_ble_mesh_model_pub_period_get(esp_ble_mesh_model_t *mod);
363 uint16_t *btc_ble_mesh_model_find_group(esp_ble_mesh_model_t *mod, uint16_t addr);
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c486 static int btc_ble_mesh_model_publish_update(struct bt_mesh_model *mod) in btc_ble_mesh_model_publish_update() argument
493 mesh_param.model_publish_update.model = (esp_ble_mesh_model_t *)mod; in btc_ble_mesh_model_publish_update()
1063 int32_t btc_ble_mesh_model_pub_period_get(esp_ble_mesh_model_t *mod) in btc_ble_mesh_model_pub_period_get() argument
1065 return bt_mesh_model_pub_period_get((struct bt_mesh_model *)mod); in btc_ble_mesh_model_pub_period_get()
1073 uint16_t *btc_ble_mesh_model_find_group(esp_ble_mesh_model_t *mod, uint16_t addr) in btc_ble_mesh_model_find_group() argument
1075 return bt_mesh_model_find_group((struct bt_mesh_model *)mod, addr); in btc_ble_mesh_model_find_group()
/hal_espressif-3.4.0/components/openssl/include/openssl/
Dssl.h450 int SSL_CTX_set_mode(SSL_CTX *ctx, int mod);
/hal_espressif-3.4.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/
Dble_mesh_commands_README.md78 * `-m`: `<mod id>:model id`

12