Lines Matching refs:pCfg
6333 * @pCfg: Pointer to a configuration structure. Struct contains
6344 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)
6407 pReq->Action = pCfg->action;
6420 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion;
6421 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength;
6422 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber;
6423 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK);
6425 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) {
6426 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr;
6437 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr);
6441 if (pCfg->dir)
6446 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) ==
6452 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4;
6461 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr);
6462 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout;
6500 pCfg->cfghdr.ehdr->ExtPageLength =
6502 pCfg->cfghdr.ehdr->ExtPageType =
6505 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion;
6506 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength;
6507 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber;
6508 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType;
6542 pCfg->cfghdr.hdr->PageNumber, pCfg->action);