Lines Matching defs:p_clreg
854 tBTA_GATTC_RCB *p_clreg;
867 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL)
871 if ( p_clreg->notif_reg[i].in_use &&
872 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) &&
873 bta_gattc_charid_compare(&p_clreg->notif_reg[i].char_id, p_char_id))
884 if (!p_clreg->notif_reg[i].in_use)
886 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));
888 p_clreg->notif_reg[i].in_use = TRUE;
889 memcpy(p_clreg
891 p_clreg->notif_reg[i].char_id.srvc_id.is_primary = p_char_id->srvc_id.is_primary;
892 bta_gattc_cpygattid(&p_clreg->notif_reg[i].char_id.srvc_id.id, &p_char_id->srvc_id.id);
893 bta_gattc_cpygattid(&p_clreg->notif_reg[i].char_id.char_id, &p_char_id->char_id);
933 tBTA_GATTC_RCB *p_clreg;
946 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL)
950 if (p_clreg->notif_reg[i].in_use &&
951 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) &&
952 bta_gattc_charid_compare(&p_clreg->notif_reg[i].char_id, p_char_id))
955 memset(&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));