Lines Matching refs:p_reg
780 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in gatt_sr_send_req_callback() local
782 if (!p_reg) { in gatt_sr_send_req_callback()
787 if (p_reg->in_use && p_reg->app_cb.p_req_cb) { in gatt_sr_send_req_callback()
788 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
919 tGATT_REG* p_reg = NULL; in gatt_get_regcb() local
927 p_reg = &gatt_cb.cl_rcb[ii - 1]; in gatt_get_regcb()
929 if (!p_reg->in_use) { in gatt_get_regcb()
934 return p_reg; in gatt_get_regcb()
953 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in gatt_is_clcb_allocated() local
956 if (p_reg->eatt_support) possible_plcb += p_tcb->eatt; in gatt_is_clcb_allocated()
1004 tGATT_REG* p_reg = gatt_get_regcb(gatt_if); in gatt_clcb_alloc() local
1012 p_clcb->p_reg = p_reg; in gatt_clcb_alloc()
1016 p_clcb->cid = gatt_tcb_get_att_cid(*p_tcb, p_reg->eatt_support); in gatt_clcb_alloc()
1483 (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_cmpl_cb : NULL; in gatt_end_operation()
1487 (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_disc_cmpl_cb : NULL; in gatt_end_operation()
1576 tGATT_REG* p_reg = &gatt_cb.cl_rcb[i]; in gatt_cleanup_upon_disc() local
1577 if (p_reg->in_use && p_reg->app_cb.p_conn_cb) { in gatt_cleanup_upon_disc()
1578 uint16_t conn_id = GATT_CREATE_CONN_ID(p_tcb->tcb_idx, p_reg->gatt_if); in gatt_cleanup_upon_disc()
1579 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, in gatt_cleanup_upon_disc()