Lines Matching refs:pCfg

6314 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)  in mpt_config()  argument
6377 pReq->Action = pCfg->action; in mpt_config()
6390 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6391 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6392 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6393 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6395 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6396 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6407 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr); in mpt_config()
6411 if (pCfg->dir) in mpt_config()
6416 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == in mpt_config()
6422 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6431 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr); in mpt_config()
6432 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout; in mpt_config()
6470 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config()
6472 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
6475 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion; in mpt_config()
6476 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()
6477 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber; in mpt_config()
6478 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType; in mpt_config()
6512 pCfg->cfghdr.hdr->PageNumber, pCfg->action); in mpt_config()