Home | History | Annotate | Download | only in ic

Lines Matching defs:cfgp

574 	MSG_CONFIG *cfgp;
579 cfgp = req->req_vbuf;
580 memset(cfgp, 0, sizeof *cfgp);
582 cfgp->Action = MPI_CONFIG_ACTION_PAGE_HEADER;
583 cfgp->Function = MPI_FUNCTION_CONFIG;
584 cfgp->Header.PageNumber = (U8) PageNumber;
585 cfgp->Header.PageType = (U8) PageType;
586 cfgp->PageAddress = htole32(PageAddress);
587 MPI_pSGE_SET_FLAGS(((SGE_SIMPLE32 *) &cfgp->PageBufferSGE),
590 cfgp->MsgContext = htole32(req->index | 0x80000000);
625 MSG_CONFIG *cfgp;
631 cfgp = req->req_vbuf;
632 memset(cfgp, 0, MPT_REQUEST_AREA);
633 cfgp->Action = MPI_CONFIG_ACTION_PAGE_READ_CURRENT;
634 cfgp->Function = MPI_FUNCTION_CONFIG;
635 cfgp->Header = *hdr;
636 amt = (cfgp->Header.PageLength * sizeof (u_int32_t));
637 cfgp->Header.PageType &= MPI_CONFIG_PAGETYPE_MASK;
638 cfgp->PageAddress = htole32(PageAddress);
639 se = (SGE_SIMPLE32 *) &cfgp->PageBufferSGE;
647 cfgp->MsgContext = htole32(req->index | 0x80000000);
673 if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
674 cfgp->Header.PageNumber == 0) {
676 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
677 cfgp->Header.PageNumber == 1) {
679 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
680 cfgp->Header.PageNumber == 2) {
682 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_DEVICE &&
683 cfgp->Header.PageNumber == 0) {
685 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_DEVICE &&
686 cfgp->Header.PageNumber == 1) {
700 MSG_CONFIG *cfgp;
706 cfgp = req->req_vbuf;
707 memset(cfgp, 0, sizeof *cfgp);
718 cfgp->Action = MPI_CONFIG_ACTION_PAGE_WRITE_CURRENT;
719 cfgp->Function = MPI_FUNCTION_CONFIG;
720 cfgp->Header = *hdr;
721 amt = (cfgp->Header.PageLength * sizeof (u_int32_t));
722 cfgp->PageAddress = htole32(PageAddress);
724 se = (SGE_SIMPLE32 *) &cfgp->PageBufferSGE;
732 cfgp->MsgContext = htole32(req->index | 0x80000000);
734 if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
735 cfgp->Header.PageNumber == 0) {
737 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
738 cfgp->Header.PageNumber == 1) {
740 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_PORT &&
741 cfgp->Header.PageNumber == 2) {
743 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_DEVICE &&
744 cfgp->Header.PageNumber == 0) {
746 } else if (cfgp->Header.PageType == MPI_CONFIG_PAGETYPE_SCSI_DEVICE &&
747 cfgp->Header.PageNumber == 1) {