Lines Matching refs:pCfg
6345 * @pCfg: Pointer to a configuration structure. Struct contains
6355 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)
6409 pReq->Action = pCfg->action;
6422 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion;
6423 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength;
6424 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber;
6425 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK);
6427 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) {
6428 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr;
6439 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr);
6443 if (pCfg->dir)
6448 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) ==
6454 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4;
6463 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr);
6464 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout;
6502 pCfg->cfghdr.ehdr->ExtPageLength =
6504 pCfg->cfghdr.ehdr->ExtPageType =
6507 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion;
6508 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength;
6509 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber;
6510 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType;
6544 pCfg->cfghdr.hdr->PageNumber, pCfg->action);