Lines Matching defs:p_cmd
379 BT_HDR *p_cmd = NULL;
526 if (AVRC_BldCommand ((tAVRC_COMMAND *)&avrc_cmd, &p_cmd) == AVRC_STS_NO_ERROR)
529 AVRC_MsgReq (handle, (UINT8)(label), AVRC_CMD_CTRL, p_cmd);
834 BT_HDR *p_cmd = NULL;
840 if ((p_cmd = (BT_HDR *) GKI_getpoolbuf(AVRC_CMD_POOL_ID)) != NULL)
842 p_cmd->offset = AVCT_MSG_OFFSET;
843 p_cmd->layer_specific = AVCT_DATA_CTRL;
844 p_data = (UINT8 *)(p_cmd + 1) + p_cmd->offset;
867 p_cmd->len = (UINT16) (p_data - (UINT8 *)(p_cmd + 1) - p_cmd->offset);
869 return p_cmd;