Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 49) sorted by relevance

12

/hal_espressif-latest/components/driver/deprecated/
Dmcpwm_legacy.c113 typedef void (*mcpwm_ll_gen_set_event_action_t)(mcpwm_dev_t *mcpwm, int op, int gen, int action);
260 const int op = timer_num; in mcpwm_set_frequency() local
274 uint32_t previous_cmp_a = mcpwm_ll_operator_get_compare_value(hal->dev, op, 0); in mcpwm_set_frequency()
275 uint32_t previous_cmp_b = mcpwm_ll_operator_get_compare_value(hal->dev, op, 1); in mcpwm_set_frequency()
277 mcpwm_ll_operator_update_compare_at_once(hal->dev, op, 0); in mcpwm_set_frequency()
278 mcpwm_ll_operator_update_compare_at_once(hal->dev, op, 1); in mcpwm_set_frequency()
279 mcpwm_ll_operator_set_compare_value(hal->dev, op, 0, (uint32_t)(previous_cmp_a * scale)); in mcpwm_set_frequency()
280 mcpwm_ll_operator_set_compare_value(hal->dev, op, 1, (uint32_t)(previous_cmp_b * scale)); in mcpwm_set_frequency()
289 const int op = timer_num; in mcpwm_set_duty() local
297 mcpwm_ll_operator_set_compare_value(hal->dev, op, cmp, set_duty); in mcpwm_set_duty()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_ffs.h30 static ALWAYS_INLINE unsigned int find_msb_set(uint32_t op) in find_msb_set() argument
32 if (op == 0) { in find_msb_set()
36 return 32 - __builtin_clz(op); in find_msb_set()
51 static ALWAYS_INLINE unsigned int find_lsb_set(uint32_t op) in find_lsb_set() argument
53 return __builtin_ffs(op); in find_lsb_set()
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c1072 __ASSERT(model && model->op, "Invalid parameter"); in btc_ble_mesh_client_model_init()
1073 esp_ble_mesh_model_op_t *op = model->op; in btc_ble_mesh_client_model_init() local
1074 while (op != NULL && op->opcode != 0) { in btc_ble_mesh_client_model_init()
1075 op->param_cb = (esp_ble_mesh_cb_t)btc_ble_mesh_client_model_op_cb; in btc_ble_mesh_client_model_init()
1076 op++; in btc_ble_mesh_client_model_init()
1280 if (model->op && BLE_MESH_MODEL_OP_LEN(model->op->opcode) == 3) { in btc_ble_mesh_model_op_set()
1286 model->op = (esp_ble_mesh_model_op_t *)bt_mesh_cfg_srv_op; in btc_ble_mesh_model_op_set()
1296 model->op = (esp_ble_mesh_model_op_t *)bt_mesh_cfg_cli_op; in btc_ble_mesh_model_op_set()
1307 model->op = (esp_ble_mesh_model_op_t *)bt_mesh_health_srv_op; in btc_ble_mesh_model_op_set()
1321 model->op = (esp_ble_mesh_model_op_t *)bt_mesh_health_cli_op; in btc_ble_mesh_model_op_set()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_util.c55 static uint32_t bt_mesh_bqb_test_flag(uint8_t op, uint32_t value) in bt_mesh_bqb_test_flag() argument
59 switch (op) { in bt_mesh_bqb_test_flag()
66 BT_ERR("Unknown BQB test flag opcode 0x%02x", op); in bt_mesh_bqb_test_flag()
/hal_espressif-latest/tools/esptool_py/esptool/
Dutil.py201 def __init__(self, esp, op): argument
203 msg = "This command (0x%x) is not supported in Secure Download Mode" % op
205 msg = "Invalid (unsupported) command 0x%x" % op
Dloader.py445 op=None, argument
458 if op is not None:
462 op,
468 pkt = struct.pack(b"<BBHI", 0x00, op, len(data), chk) + data
487 if op is None or op_ret == op:
493 raise UnsupportedCommandError(self, op)
502 self, op_description, op=None, data=b"", chk=0, timeout=DEFAULT_TIMEOUT argument
510 val, data = self.command(op, data, chk, timeout=timeout)
/hal_espressif-latest/components/newlib/
Dstdatomic.c245 #define SYNC_FETCH_OP(op, n, type) type CLANG_ATOMIC_SUFFIX(__sync_fetch_and_ ## op ##_ ## n) (vola… argument
247 return __atomic_fetch_ ## op ##_ ## n (ptr, value, __ATOMIC_SEQ_CST); \
249 CLANG_DECLARE_ALIAS( __sync_fetch_and_ ## op ##_ ## n )
251 #define SYNC_OP_FETCH(op, n, type) type CLANG_ATOMIC_SUFFIX(__sync_ ## op ##_and_fetch_ ## n) (vola… argument
253 return __atomic_ ## op ##_fetch_ ## n (ptr, value, __ATOMIC_SEQ_CST); \
255 CLANG_DECLARE_ALIAS( __sync_ ## op ##_and_fetch_ ## n )
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dcfg_cli.c679 static int send_msg_with_none(bt_mesh_client_common_param_t *param, uint32_t op) in send_msg_with_none() argument
681 BLE_MESH_MODEL_BUF_DEFINE(msg, op, 0); in send_msg_with_none()
683 bt_mesh_model_msg_init(&msg, op); in send_msg_with_none()
688 static int send_msg_with_u8(bt_mesh_client_common_param_t *param, uint32_t op, uint8_t val) in send_msg_with_u8() argument
690 BLE_MESH_MODEL_BUF_DEFINE(msg, op, 1); in send_msg_with_u8()
692 bt_mesh_model_msg_init(&msg, op); in send_msg_with_u8()
698 static int send_msg_with_le16(bt_mesh_client_common_param_t *param, uint32_t op, uint16_t val) in send_msg_with_le16() argument
700 BLE_MESH_MODEL_BUF_DEFINE(msg, op, 2); in send_msg_with_le16()
702 bt_mesh_model_msg_init(&msg, op); in send_msg_with_le16()
826 static int mod_sub(bt_mesh_client_common_param_t *param, uint32_t op, in mod_sub() argument
[all …]
Daccess.c569 const struct bt_mesh_model_op *op; in find_op() local
573 for (op = (*model)->op; op->func; op++) { in find_op()
574 if (op->opcode == opcode) { in find_op()
575 return op; in find_op()
642 const struct bt_mesh_model_op *op = NULL; in bt_mesh_model_recv() local
674 op = find_op(models, count, opcode, &model); in bt_mesh_model_recv()
675 if (!op) { in bt_mesh_model_recv()
688 if (buf->len < op->min_len) { in bt_mesh_model_recv()
710 op->func(model, &rx->ctx, buf); in bt_mesh_model_recv()
Dtransport.h29 #define TRANS_CTL_HDR(op, seg) ((op & TRANS_CTL_OP_MASK) | (seg << 7)) argument
Dlpn.c658 static bool sub_update(uint8_t op) in sub_update() argument
678 BT_DBG("op 0x%02x sent_req 0x%02x", op, lpn->sent_req); in sub_update()
689 if (op == TRANS_CTL_OP_FRIEND_SUB_ADD) { in sub_update()
719 if (bt_mesh_ctl_send(&tx, op, &req, 1 + g * 2, in sub_update()
726 lpn->sent_req = op; in sub_update()
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_act.c60 static void bta_gattc_cmpl_cback(UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status,
62 static void bta_gattc_cmpl_sendmsg(UINT16 conn_id, tGATTC_OPTYPE op,
1492 UINT8 op = (UINT8)p_data->op_cmpl.op_code; in bta_gattc_op_cmpl() local
1495 APPL_TRACE_DEBUG("bta_gattc_op_cmpl op = %d", op); in bta_gattc_op_cmpl()
1497 if (op == GATTC_OPTYPE_INDICATION || op == GATTC_OPTYPE_NOTIFICATION) { in bta_gattc_op_cmpl()
1499 } else if (op >= GATTC_OPTYPE_READ) { in bta_gattc_op_cmpl()
1504 if (p_clcb->p_q_cmd->hdr.event != bta_gattc_opcode_to_int_evt[op - GATTC_OPTYPE_READ]) { in bta_gattc_op_cmpl()
1516 bta_gattc_op_code_name[op]); in bta_gattc_op_cmpl()
1519 mapped_op , p_clcb->p_q_cmd->hdr.event, op); in bta_gattc_op_cmpl()
1532 if (op == GATTC_OPTYPE_READ) { in bta_gattc_op_cmpl()
[all …]
Dbta_gattc_cache.c1323 bt_gatt_get_db_op_t op, in bta_gattc_get_db_with_opration() argument
1378 if (op == GATT_OP_GET_INCLUDE_SVC) { in bta_gattc_get_db_with_opration()
1418 if(op == GATT_OP_GET_ALL_CHAR || op == GATT_OP_GET_CHAR_BY_UUID) { in bta_gattc_get_db_with_opration()
1429 if ((op == GATT_OP_GET_ALL_CHAR || op == GATT_OP_GET_CHAR_BY_UUID) && in bta_gattc_get_db_with_opration()
1449 …if ((op == GATT_OP_GET_DESCRI_BY_HANDLE || op == GATT_OP_GET_ALL_DESCRI) && (p_char->handle != cha… in bta_gattc_get_db_with_opration()
1453 if ((op == GATT_OP_GET_DESCRI_BY_UUID) && in bta_gattc_get_db_with_opration()
1458 …if (op == GATT_OP_GET_ALL_DESCRI || op == GATT_OP_GET_DESCRI_BY_UUID || op == GATT_OP_GET_DESCRI_B… in bta_gattc_get_db_with_opration()
1471 if (((op == GATT_OP_GET_ALL_DESCRI || op == GATT_OP_GET_DESCRI_BY_UUID) && in bta_gattc_get_db_with_opration()
1473 … (op == GATT_OP_GET_DESCRI_BY_HANDLE && bta_gattc_uuid_compare(&p_desc->uuid, descr_uuid, TRUE))) { in bta_gattc_get_db_with_opration()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_models/client/
Dclient_common.c143 const bt_mesh_client_op_pair_t *op = op_pair; in bt_mesh_client_get_status_op() local
145 if (op->cli_op == opcode) { in bt_mesh_client_get_status_op()
146 return op->status_op; in bt_mesh_client_get_status_op()
148 op++; in bt_mesh_client_get_status_op()
380 if (!model || !model->op) { in bt_mesh_client_init()
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dstub_flasher.c189 .op_ret = command->op, in cmd_loop()
195 switch(command->op) { in cmd_loop()
232 switch (command->op) { in cmd_loop()
378 switch(command->op) { in cmd_loop()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/
Dmesh_access.h261 .op = (_op), \
284 .op = (_op), \
482 const struct bt_mesh_model_op *const op; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c50 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_…
574 UINT16 op = p_clcb->cl_op_uuid; in gap_ble_cl_op_cmpl() local
581 if (p_cback && op) { in gap_ble_cl_op_cmpl()
637 static void gap_ble_c_cmpl_cback (UINT16 conn_id, tGATTC_OPTYPE op, tGATT_STATUS status, tGATT_CL_C… in gap_ble_c_cmpl_cback() argument
652 …p_ble_c_cmpl_cback() - op_code: 0x%02x status: 0x%02x read_type: 0x%04x\n", op, status, op_type); in gap_ble_c_cmpl_cback()
654 if (op != GATTC_OPTYPE_READ) { in gap_ble_c_cmpl_cback()
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/dis/include/
Dsrvc_dis_int.h75 extern void dis_c_cmpl_cback (tSRVC_CLCB *p_clcb, tGATTC_OPTYPE op,
/hal_espressif-latest/components/bt/host/bluedroid/api/
Desp_avrc_api.c287 bool esp_avrc_psth_bit_mask_operation(esp_avrc_bit_mask_op_t op, esp_avrc_psth_bit_mask_t *psth, in esp_avrc_psth_bit_mask_operation() argument
297 switch (op) { in esp_avrc_psth_bit_mask_operation()
421 bool esp_avrc_rn_evt_bit_mask_operation(esp_avrc_bit_mask_op_t op, esp_avrc_rn_evt_cap_mask_t *even… in esp_avrc_rn_evt_bit_mask_operation() argument
431 switch (op) { in esp_avrc_rn_evt_bit_mask_operation()
/hal_espressif-latest/tools/esptool_py/flasher_stub/include/
Dstub_flasher.h71 uint8_t op; /* maps to esp_command enum */ member
/hal_espressif-latest/components/bt/host/bluedroid/common/include/common/
Dbt_vendor_lib.h342 int (*op)(bt_vendor_opcode_t opcode, void *param); member
/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/
Dbt_vendor_lib.h342 int (*op)(bt_vendor_opcode_t opcode, void *param); member
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_avrc_api.h655 bool esp_avrc_psth_bit_mask_operation(esp_avrc_bit_mask_op_t op, esp_avrc_psth_bit_mask_t *psth, es…
708 bool esp_avrc_rn_evt_bit_mask_operation(esp_avrc_bit_mask_op_t op, esp_avrc_rn_evt_cap_mask_t *even…
/hal_espressif-latest/components/bt/common/btc/profile/esp/blufi/nimble_host/
Desp_blufi.c83 switch (ctxt->op) { in esp_blufi_gatt_svr_register_cb()
117 if (ctxt->op == BLE_GATT_ACCESS_OP_WRITE_CHR) { in write_value()
173 if (ctxt->op == BLE_GATT_ACCESS_OP_READ_CHR) { in read_value()
195 switch (ctxt->op) { in gatt_svr_access_cb()
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_networking_api.h466 esp_err_t esp_ble_mesh_provisioner_set_heartbeat_filter_info(uint8_t op, esp_ble_mesh_heartbeat_fil…

12