Lines Matching refs:pCfg

6343 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)  in mpt_config()  argument
6406 pReq->Action = pCfg->action; in mpt_config()
6419 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6420 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6421 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6422 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6424 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6425 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6436 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr); in mpt_config()
6440 if (pCfg->dir) in mpt_config()
6445 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == in mpt_config()
6451 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6460 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr); in mpt_config()
6461 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout; in mpt_config()
6499 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config()
6501 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
6504 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion; in mpt_config()
6505 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()
6506 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber; in mpt_config()
6507 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType; in mpt_config()
6541 pCfg->cfghdr.hdr->PageNumber, pCfg->action); in mpt_config()