Lines Matching refs:pCfg
6351 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg) in mpt_config() argument
6405 pReq->Action = pCfg->action; in mpt_config()
6418 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6419 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6420 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6421 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6423 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6424 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6435 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr); in mpt_config()
6439 if (pCfg->dir) in mpt_config()
6444 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == in mpt_config()
6450 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6459 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr); in mpt_config()
6460 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout; in mpt_config()
6498 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config()
6500 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
6503 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion; in mpt_config()
6504 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()
6505 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber; in mpt_config()
6506 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType; in mpt_config()
6540 pCfg->cfghdr.hdr->PageNumber, pCfg->action); in mpt_config()