Home
last modified time | relevance | path

Searched refs:sr_cmd (Results 1 – 9 of 9) sorted by relevance

/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Dflash_ll.h70 hw->sr_cmd.wrsr_cmd_reg = wrsr_cmd; in flash_ll_init_wrsr_cmd()
71 hw->sr_cmd.wrsr_cmd_sel = 1; in flash_ll_init_wrsr_cmd()
77 hw->sr_cmd.rdsr_cmd_reg = rdsr_cmd; in flash_ll_init_rdsr_cmd()
78 hw->sr_cmd.rdsr_cmd_sel = 1; in flash_ll_init_rdsr_cmd()
84 hw->sr_cmd.wrsr_cmd_reg = 0x1; in flash_ll_deinit_wrsr_cmd()
85 hw->sr_cmd.wrsr_cmd_sel = 0; in flash_ll_deinit_wrsr_cmd()
91 hw->sr_cmd.rdsr_cmd_reg = 0x5; in flash_ll_deinit_rdsr_cmd()
92 hw->sr_cmd.rdsr_cmd_sel = 0; in flash_ll_deinit_rdsr_cmd()
Dflash_hal_debug.c40 SOC_LOGI(" sr_cmd addr=0x%x value=0x%x\r\n", &hw->sr_cmd, hw->sr_cmd); in flash_struct_dump()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_sr.c84 tGATT_SR_CMD *p_cmd = &p_tcb->sr_cmd; in gatt_sr_enqueue_cmd()
118 return (p_tcb->sr_cmd.op_code == 0); in gatt_sr_cmd_empty()
134 if (p_tcb->sr_cmd.p_rsp_msg) { in gatt_dequeue_sr_cmd()
135 GATT_TRACE_ERROR("%s free msg %p", __func__, p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd()
137 osi_free(p_tcb->sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd()
138 p_tcb->sr_cmd.p_rsp_msg = NULL; in gatt_dequeue_sr_cmd()
141 if (p_tcb->sr_cmd.multi_rsp_q) { in gatt_dequeue_sr_cmd()
142 while (!fixed_queue_is_empty(p_tcb->sr_cmd.multi_rsp_q)) { in gatt_dequeue_sr_cmd()
143 osi_free(fixed_queue_dequeue(p_tcb->sr_cmd.multi_rsp_q, 0)); in gatt_dequeue_sr_cmd()
145 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_dequeue_sr_cmd()
[all …]
Dgatt_utils.c1884 p_tcb->sr_cmd.cback_cnt[i] = 1; in gatt_sr_copy_prep_cnt_to_cback_cnt()
1908 if (p_tcb->sr_cmd.cback_cnt[i]) { in gatt_sr_is_cback_cnt_zero()
1964 p_tcb->sr_cmd.cback_cnt[i] = 0; in gatt_sr_reset_cback_cnt()
2009 p_tcb->sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt()
2011 if ( p_tcb->sr_cmd.cback_cnt[idx]) { in gatt_sr_update_cback_cnt()
2012 p_tcb->sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt()
2356 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, osi_free_func); in gatt_cleanup_upon_disc()
2357 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_cleanup_upon_disc()
Dgatt_api.c700 if (p_tcb->sr_cmd.trans_id != trans_id) { in GATTS_SendRsp()
702 conn_id, p_tcb->sr_cmd.op_code); in GATTS_SendRsp()
707 …cmd_sent = gatt_sr_process_app_rsp (p_tcb, gatt_if, trans_id, p_tcb->sr_cmd.op_code, status, p_ms… in GATTS_SendRsp()
Dgatt_main.c189 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_free()
190 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_free()
Dgatt_db.c392 trans_id = p_tcb->sr_cmd.trans_id; in gatts_db_read_attr_value_by_type()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/soc/
Dflash_struct.h50 } sr_cmd; member
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h393 tGATT_SR_CMD sr_cmd; member