Lines Matching refs:pCfg

6338 mpt_config(MPT_ADAPTER *ioc, CONFIGPARMS *pCfg)  in mpt_config()  argument
6401 pReq->Action = pCfg->action; in mpt_config()
6414 pReq->Header.PageVersion = pCfg->cfghdr.hdr->PageVersion; in mpt_config()
6415 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6416 pReq->Header.PageNumber = pCfg->cfghdr.hdr->PageNumber; in mpt_config()
6417 pReq->Header.PageType = (pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK); in mpt_config()
6419 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == MPI_CONFIG_PAGETYPE_EXTENDED) { in mpt_config()
6420 pExtHdr = (ConfigExtendedPageHeader_t *)pCfg->cfghdr.ehdr; in mpt_config()
6431 pReq->PageAddress = cpu_to_le32(pCfg->pageAddr); in mpt_config()
6435 if (pCfg->dir) in mpt_config()
6440 if ((pCfg->cfghdr.hdr->PageType & MPI_CONFIG_PAGETYPE_MASK) == in mpt_config()
6446 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6455 ioc->add_sge((char *)&pReq->PageBufferSGE, flagsLength, pCfg->physAddr); in mpt_config()
6456 timeout = (pCfg->timeout < 15) ? HZ*15 : HZ*pCfg->timeout; in mpt_config()
6494 pCfg->cfghdr.ehdr->ExtPageLength = in mpt_config()
6496 pCfg->cfghdr.ehdr->ExtPageType = in mpt_config()
6499 pCfg->cfghdr.hdr->PageVersion = pReply->Header.PageVersion; in mpt_config()
6500 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()
6501 pCfg->cfghdr.hdr->PageNumber = pReply->Header.PageNumber; in mpt_config()
6502 pCfg->cfghdr.hdr->PageType = pReply->Header.PageType; in mpt_config()
6536 pCfg->cfghdr.hdr->PageNumber, pCfg->action); in mpt_config()