Home
last modified time | relevance | path

Searched refs:op_code (Results 1 – 25 of 32) sorted by relevance

12

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c47 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) in attp_build_mtu_cmd() argument
55 UINT8_TO_STREAM (p, op_code); in attp_build_mtu_cmd()
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) in attp_build_exec_write_cmd() argument
83 UINT8_TO_STREAM (p, op_code); in attp_build_exec_write_cmd()
85 if (op_code == GATT_REQ_EXEC_WRITE) { in attp_build_exec_write_cmd()
133 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd() argument
144 UINT8_TO_STREAM (p, op_code); in attp_build_browse_cmd()
228 BT_HDR *attp_build_handle_cmd(UINT8 op_code, UINT16 handle, UINT16 offset) in attp_build_handle_cmd() argument
238 UINT8_TO_STREAM (p, op_code); in attp_build_handle_cmd()
244 if (op_code == GATT_REQ_READ_BLOB) { in attp_build_handle_cmd()
[all …]
Dgatt_sr.c82 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) in gatt_sr_enqueue_cmd() argument
87 if ( (p_cmd->op_code == 0) || in gatt_sr_enqueue_cmd()
88 (op_code == GATT_HANDLE_VALUE_CONF)) { /* no pending request */ in gatt_sr_enqueue_cmd()
89 if (op_code == GATT_CMD_WRITE || in gatt_sr_enqueue_cmd()
90 op_code == GATT_SIGN_CMD_WRITE || in gatt_sr_enqueue_cmd()
91 op_code == GATT_REQ_MTU || in gatt_sr_enqueue_cmd()
92 op_code == GATT_HANDLE_VALUE_CONF) { in gatt_sr_enqueue_cmd()
96 p_cmd->op_code = op_code; in gatt_sr_enqueue_cmd()
118 return (p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty()
291 UINT32 trans_id, UINT8 op_code, in gatt_sr_process_app_rsp() argument
[all …]
Dgatt_cl.c80 UINT8 op_code = disc_type_to_att_opcode[p_clcb->op_subtype]; in gatt_act_discovery() local
110 st = attp_send_cl_msg(p_clcb->p_tcb, p_clcb->clcb_idx, op_code, &cl_req); in gatt_act_discovery()
134 UINT8 op_code = 0; in gatt_act_read() local
141 op_code = GATT_REQ_READ_BY_TYPE; in gatt_act_read()
155 op_code = GATT_REQ_READ; in gatt_act_read()
166 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
174 op_code = GATT_REQ_READ_BLOB; in gatt_act_read()
180 op_code = GATT_REQ_READ_MULTI; in gatt_act_read()
185 op_code = GATT_REQ_READ; in gatt_act_read()
195 if (op_code != 0) { in gatt_act_read()
[all …]
Dgatt_db.c48 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code,
329 UINT8 op_code, in gatts_db_read_attr_value_by_type() argument
379 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id, need_rsp); in gatts_db_read_attr_value_by_type()
386 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, 0, trans_id, need_rsp); in gatts_db_read_attr_value_by_type()
922 UINT8 op_code, in gatts_read_attr_value_by_handle() argument
940 (BOOLEAN)(op_code == GATT_REQ_READ_BLOB), in gatts_read_attr_value_by_handle()
945 … status = gatts_send_app_read_request(p_tcb, op_code, p_attr->handle, offset, trans_id, need_rsp); in gatts_read_attr_value_by_handle()
1061 tGATT_STATUS gatts_write_attr_perm_check (tGATT_SVC_DB *p_db, UINT8 op_code, in gatts_write_attr_perm_check() argument
1072 op_code, handle, offset, len, sec_flag, key_size); in gatts_write_attr_perm_check()
1092 if ((op_code == GATT_CMD_WRITE || op_code == GATT_REQ_WRITE) in gatts_write_attr_perm_check()
[all …]
Dgatt_main.c976 UINT8 op_code, pseudo_op_code; in gatt_data_process() local
986 STREAM_TO_UINT8(op_code, p); in gatt_data_process()
989 pseudo_op_code = op_code & (~GATT_WRITE_CMD_MASK); in gatt_data_process()
992 if (op_code == GATT_SIGN_CMD_WRITE) { in gatt_data_process()
998 if ((op_code % 2) == 0) { in gatt_data_process()
1000 gatt_server_handle_client_req (p_tcb, op_code, msg_len, p); in gatt_data_process()
1004 gatt_client_handle_server_rsp (p_tcb, op_code, msg_len, p); in gatt_data_process()
1009 if (op_code & GATT_COMMAND_FLAG) { in gatt_data_process()
1010 GATT_TRACE_ERROR ("ATT - Rcvd L2CAP data, unknown cmd: 0x%x\n", op_code); in gatt_data_process()
1012 GATT_TRACE_ERROR ("ATT - Rcvd L2CAP data, unknown req: 0x%x\n", op_code); in gatt_data_process()
[all …]
Dgatt_auth.c104 UINT8 op_code; in gatt_verify_signature() local
120 STREAM_TO_UINT8(op_code, p_orig); in gatt_verify_signature()
121 gatt_server_handle_client_req (p_tcb, op_code, (UINT16)(p_buf->len - 1), p_orig); in gatt_verify_signature()
Dgatt_utils.c1527 tGATT_STATUS gatt_send_error_rsp (tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, in gatt_send_error_rsp() argument
1534 error.cmd_code = op_code; in gatt_send_error_rsp()
2137 BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_b… in gatt_cmd_enq() argument
2142 p_cmd->op_code = op_code; in gatt_cmd_enq()
2173 *p_op_code = p_cmd->op_code; in gatt_cmd_dequeue()
2191 UINT8 gatt_send_write_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, in gatt_send_write_msg() argument
2204 return attp_send_cl_msg(p_tcb, clcb_idx, op_code, &msg); in gatt_send_write_msg()
2383 UINT8 *gatt_dbg_op_name(UINT8 op_code) in gatt_dbg_op_name() argument
2385 UINT8 pseduo_op_code_idx = op_code & (~GATT_WRITE_CMD_MASK); in gatt_dbg_op_name()
2387 if (op_code == GATT_CMD_WRITE ) { in gatt_dbg_op_name()
[all …]
Dgatt_attr.c44 static void gatt_request_cback(UINT16 conn_id, UINT32 trans_id, UINT8 op_code, tGATTS_DATA *p_data);
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h142 UINT8 op_code; member
147 UINT8 op_code; member
274 UINT8 op_code; member
294 UINT8 op_code; member
354 UINT8 op_code; member
598 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MS…
599 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
604 extern UINT8 *gatt_dbg_op_name(UINT8 op_code);
618 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 han…
665 …cess_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS sta…
[all …]
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gls/
Dgls_racp.c96 p_racp_req->op_code = (gls_racp_op_code_t)p_data[index++]; in gls_racp_req_decode()
99 if ((GLS_RACP_OP_ABORT_OP != p_racp_req->op_code) && \ in gls_racp_req_decode()
181 p_encoded_buffer[length++] = p_racp_rsp->op_code; in gls_racp_rsp_encode()
184 if (GLS_RACP_OP_REP_NB_OF_STRD_RECS == p_racp_rsp->op_code) { in gls_racp_rsp_encode()
Dgls.c516 racp_rsp.op_code = GLS_RACP_OP_RSP_CODE; in gls_report_records_completed()
758 racp_rsp.op_code = GLS_RACP_OP_NB_OF_STRD_RECS_RSP; in gls_report_records_num_req_handler()
791 racp_rsp.op_code = GLS_RACP_OP_RSP_CODE; in gls_abort_operation_handler()
827 (GLS_RACP_OP_REP_STRD_RECS <= s_gls_env.racp_req.op_code) && \ in gls_receive_racp_handler()
828 (GLS_RACP_OP_REP_NB_OF_STRD_RECS >= s_gls_env.racp_req.op_code)) { in gls_receive_racp_handler()
829 if (GLS_RACP_OP_REP_STRD_RECS == s_gls_env.racp_req.op_code) { in gls_receive_racp_handler()
834 } else if (GLS_RACP_OP_REP_NB_OF_STRD_RECS == s_gls_env.racp_req.op_code) { in gls_receive_racp_handler()
837 } else if (GLS_RACP_OP_ABORT_OP == s_gls_env.racp_req.op_code) { in gls_receive_racp_handler()
845 if ((GLS_RACP_OP_REP_STRD_RECS > s_gls_env.racp_req.op_code) || \ in gls_receive_racp_handler()
846 (GLS_RACP_OP_REP_NB_OF_STRD_RECS < s_gls_env.racp_req.op_code)) { in gls_receive_racp_handler()
[all …]
Dgls_racp.h150 …gls_racp_op_code_t op_code; /**< Glucose Recoerd Access Control Point Operation Code.… member
156 …gls_racp_op_code_t op_code; /**< Glucose Recoerd Access Control Point Operation Code.… member
/device/board/osware/imx8mm/drivers/bluetooth/source/include/
Duipc_msg.h120 uint8_t op_code; member
161 uint8_t op_code; /* L2C_SYNC_TO_LITE_REQ */ member
179 uint8_t op_code; /* L2C_SYNC_TO_LITE_RESP */ member
186 uint8_t op_code; /* L2C_REMOVE_TO_LITE_REQ */ member
196 uint8_t op_code; member
252 uint8_t op_code; member
258 uint8_t op_code; member
/device/board/kaihong/khdvk_3566b/kernel/bluetooth/include/
Duipc_msg.h120 uint8_t op_code; member
161 uint8_t op_code; /* L2C_SYNC_TO_LITE_REQ */ member
179 uint8_t op_code; /* L2C_SYNC_TO_LITE_RESP */ member
186 uint8_t op_code; /* L2C_REMOVE_TO_LITE_REQ */ member
196 uint8_t op_code; member
252 uint8_t op_code; member
258 uint8_t op_code; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_btcoex.c906 u8 op_code; in halbtcoutsrc_GetBtCoexSupportedFeature() local
911 op_code = BT_OP_GET_BT_COEX_SUPPORTED_FEATURE; in halbtcoutsrc_GetBtCoexSupportedFeature()
912 status = _btmpoper_cmd(pBtCoexist, op_code, 0, buf, 0); in halbtcoutsrc_GetBtCoexSupportedFeature()
916 ret = SET_BT_MP_OPER_RET(op_code, status); in halbtcoutsrc_GetBtCoexSupportedFeature()
937 u8 op_code; in halbtcoutsrc_GetBtCoexSupportedVersion() local
942 op_code = BT_OP_GET_BT_COEX_SUPPORTED_VERSION; in halbtcoutsrc_GetBtCoexSupportedVersion()
943 status = _btmpoper_cmd(pBtCoexist, op_code, 0, buf, 0); in halbtcoutsrc_GetBtCoexSupportedVersion()
947 ret = SET_BT_MP_OPER_RET(op_code, status); in halbtcoutsrc_GetBtCoexSupportedVersion()
968 u8 op_code; in halbtcoutsrc_GetBtDeviceInfo() local
973 op_code = BT_OP_GET_BT_DEVICE_INFO; in halbtcoutsrc_GetBtDeviceInfo()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/btc/
Dhalbtccommon.h51 void rtw_btc_ex_dbg_control(struct btc_coexist *btc, u8 op_code, u8 op_len,
83 #define rtw_btc_ex_dbg_control(btc, op_code, op_len, pdata) argument
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/spi/
Dspi-slave-protocol.h47 int op_code; member
/device/soc/esp/esp32/components/driver/
Di2c.c936 cmd.hw_cmd.op_code = I2C_LL_CMD_RESTART; in i2c_master_start()
949 cmd.hw_cmd.op_code = I2C_LL_CMD_STOP; in i2c_master_stop()
970 cmd.hw_cmd.op_code = I2C_LL_CMD_WRITE; in i2c_master_write()
989 cmd.hw_cmd.op_code = I2C_LL_CMD_WRITE; in i2c_master_write_byte()
1009 cmd.hw_cmd.op_code = I2C_LL_CMD_READ; in i2c_master_read_static()
1031 cmd.hw_cmd.op_code = I2C_LL_CMD_READ; in i2c_master_read_byte()
1090 .op_code = I2C_LL_CMD_END in i2c_master_cmd_begin_static()
1095 if (cmd->hw_cmd.op_code == I2C_LL_CMD_WRITE) { in i2c_master_cmd_begin_static()
1120 } else if (cmd->hw_cmd.op_code == I2C_LL_CMD_READ) { in i2c_master_cmd_begin_static()
1151 …if (cmd_link->cmd.hw_cmd.op_code == I2C_LL_CMD_WRITE || cmd_link->cmd.hw_cmd.op_code == I2C_LL_CMD… in is_cmd_link_buffer_internal()
/device/soc/esp/esp32/components/soc/esp32/include/soc/
Di2c_struct.h260 …uint32_t op_code: 3; /*op_code is the command 0:RSTART 1:WRITE 2:READ 3:ST… member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_privacy.c68 void btm_ble_enq_resolving_list_pending(BD_ADDR pseudo_bda, UINT8 op_code) in btm_ble_enq_resolving_list_pending() argument
73 p_q->resolve_q_action[p_q->q_next] = op_code; in btm_ble_enq_resolving_list_pending()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/sdk/
Dble_gapc.h286 uint8_t op_code; /**< Operation code. @see enum gap_rslv_addr_read_op_id_t. */ member
Dble_gapm.h1644 uint16_t ble_gap_rslv_addr_read(gap_rslv_addr_read_op_id_t op_code, gap_bdaddr_t peer_iden_addr);
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c485 void smp_concatenate_local( tSMP_CB *p_cb, UINT8 **p_data, UINT8 op_code) in smp_concatenate_local() argument
490 UINT8_TO_STREAM(p, op_code); in smp_concatenate_local()
505 void smp_concatenate_peer( tSMP_CB *p_cb, UINT8 **p_data, UINT8 op_code) in smp_concatenate_peer() argument
510 UINT8_TO_STREAM(p, op_code); in smp_concatenate_peer()
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Di2c_ll.h36 op_code: 3, member
/device/soc/chipsea/cst85/liteos_m/sdk/modules/wifi/macif/
Dwifi_msg.h1004 u8_l op_code; member
1027 u8_l op_code; member

12