Lines Matching refs:pCfg

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