Lines Matching refs:p_reg
439 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_find_type_value_rsp()
440 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_find_type_value_rsp()
500 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_info_rsp()
501 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_info_rsp()
667 tGATT_REG *p_reg; in gatt_process_notification() local
712 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) in gatt_process_notification()
714 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) in gatt_process_notification()
728 for (i = 0, p_reg = gatt_cb.cl_rcb; i < GATT_MAX_APPS; i++, p_reg++) in gatt_process_notification()
730 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) in gatt_process_notification()
732 conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_process_notification()
733 … (*p_reg->app_cb.p_cmpl_cb) (conn_id, event, encrypt_status, (tGATT_CL_COMPLETE *)&value); in gatt_process_notification()
759 …if (((!p_clcb->p_reg) || (!p_clcb->p_reg->app_cb.p_disc_res_cb)) && (p_clcb->operation == GATTC_OP… in gatt_process_read_by_type_rsp()
924 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_by_type_rsp()
925 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_by_type_rsp()
1016 if ( p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_rsp()
1017 …(*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &p_clcb->read_uuid128.… in gatt_process_read_rsp()