Searched refs:facts (Results 1 - 14 of 14) sorted by relevance

/freebsd-10.2-release/sys/dev/mpr/
H A Dmpr_table.c200 mpr_print_iocfacts(struct mpr_softc *sc, MPI2_IOC_FACTS_REPLY *facts) argument
204 MPR_PRINTFIELD(sc, facts, MsgVersion, 0x%x);
205 MPR_PRINTFIELD(sc, facts, HeaderVersion, 0x%x);
206 MPR_PRINTFIELD(sc, facts, IOCNumber, %d);
207 MPR_PRINTFIELD(sc, facts, IOCExceptions, 0x%x);
208 MPR_PRINTFIELD(sc, facts, MaxChainDepth, %d);
210 mpr_describe_table(mpr_whoinit_names, facts->WhoInit));
211 MPR_PRINTFIELD(sc, facts, NumberOfPorts, %d);
212 MPR_PRINTFIELD(sc, facts, RequestCredit, %d);
213 MPR_PRINTFIELD(sc, facts, ProductI
240 mpr_print_portfacts(struct mpr_softc *sc, MPI2_PORT_FACTS_REPLY *facts) argument
[all...]
H A Dmpr.c102 MPI2_IOC_FACTS_REPLY *facts);
365 bcopy(sc->facts, &saved_facts, sizeof(MPI2_IOC_FACTS_REPLY));
373 if ((error = mpr_get_iocfacts(sc, sc->facts)) != 0) {
384 mpr_print_iocfacts(sc, sc->facts);
388 sc->facts->FWVersion.Struct.Major,
389 sc->facts->FWVersion.Struct.Minor,
390 sc->facts->FWVersion.Struct.Unit,
391 sc->facts->FWVersion.Struct.Dev);
395 mpr_printf(sc, "IOCCapabilities: %b\n", sc->facts->IOCCapabilities,
408 if ((sc->facts
990 mpr_get_iocfacts(struct mpr_softc *sc, MPI2_IOC_FACTS_REPLY *facts) argument
[all...]
H A Dmprvar.h295 MPI2_IOC_FACTS_REPLY *facts; member in struct:mpr_softc
608 #define MPR_PRINTFIELD(sc, facts, attr, fmt) \
609 mpr_dprint_field((sc), MPR_INFO, #attr ": " #fmt "\n", (facts)->attr)
614 #define MPR_EVENTFIELD(sc, facts, attr, fmt) \
615 mpr_dprint_field((sc), MPR_EVENT, #attr ": " #fmt "\n", (facts)->attr)
H A Dmpr_mapping.c1730 sc->max_enclosures = sc->facts->MaxEnclosures + 1;
1731 sc->max_expanders = sc->facts->MaxSasExpanders;
1732 sc->max_volumes = sc->facts->MaxVolumes;
1733 sc->max_devices = sc->facts->MaxTargets + sc->max_volumes;
H A Dmpr_user.c437 space = (int)cm->cm_sc->facts->IOCRequestFrameSize * 4;
677 if (cmd->req_len > (int)sc->facts->IOCRequestFrameSize * 4) {
815 if (data->RequestSize > (int)sc->facts->IOCRequestFrameSize * 4) {
1130 data->MpiFirmwareVersion = sc->facts->FWVersion.Word;
H A Dmpr_sas_lsi.c1170 for (targetid = 0; targetid < sc->facts->MaxTargets; targetid++) {
1354 for (targetid = 0; targetid < sc->facts->MaxTargets; targetid++) {
H A Dmpr_sas.c739 sassc->maxtargets = sc->facts->MaxTargets;
/freebsd-10.2-release/sys/dev/mps/
H A Dmps_table.c199 mps_print_iocfacts(struct mps_softc *sc, MPI2_IOC_FACTS_REPLY *facts) argument
203 MPS_PRINTFIELD(sc, facts, MsgVersion, 0x%x);
204 MPS_PRINTFIELD(sc, facts, HeaderVersion, 0x%x);
205 MPS_PRINTFIELD(sc, facts, IOCNumber, %d);
206 MPS_PRINTFIELD(sc, facts, IOCExceptions, 0x%x);
207 MPS_PRINTFIELD(sc, facts, MaxChainDepth, %d);
209 mps_describe_table(mps_whoinit_names, facts->WhoInit));
210 MPS_PRINTFIELD(sc, facts, NumberOfPorts, %d);
211 MPS_PRINTFIELD(sc, facts, RequestCredit, %d);
212 MPS_PRINTFIELD(sc, facts, ProductI
239 mps_print_portfacts(struct mps_softc *sc, MPI2_PORT_FACTS_REPLY *facts) argument
[all...]
H A Dmps.c100 static int mps_get_iocfacts(struct mps_softc *sc, MPI2_IOC_FACTS_REPLY *facts);
357 bcopy(sc->facts, &saved_facts, sizeof(MPI2_IOC_FACTS_REPLY));
365 if ((error = mps_get_iocfacts(sc, sc->facts)) != 0) {
376 mps_print_iocfacts(sc, sc->facts);
380 sc->facts->FWVersion.Struct.Major,
381 sc->facts->FWVersion.Struct.Minor,
382 sc->facts->FWVersion.Struct.Unit,
383 sc->facts->FWVersion.Struct.Dev);
387 mps_printf(sc, "IOCCapabilities: %b\n", sc->facts->IOCCapabilities,
400 if ((sc->facts
988 mps_get_iocfacts(struct mps_softc *sc, MPI2_IOC_FACTS_REPLY *facts) argument
[all...]
H A Dmpsvar.h313 MPI2_IOC_FACTS_REPLY *facts; member in struct:mps_softc
640 #define MPS_PRINTFIELD(sc, facts, attr, fmt) \
641 mps_dprint_field((sc), MPS_XINFO, #attr ": " #fmt "\n", (facts)->attr)
646 #define MPS_EVENTFIELD(sc, facts, attr, fmt) \
647 mps_dprint_field((sc), MPS_EVENT, #attr ": " #fmt "\n", (facts)->attr)
H A Dmps_sas_lsi.c1076 for (targetid = 0; targetid < sc->facts->MaxTargets; targetid++) {
1258 for (targetid = 0; targetid < sc->facts->MaxTargets; targetid++) {
H A Dmps_mapping.c1730 sc->max_enclosures = sc->facts->MaxEnclosures + 1;
1731 sc->max_expanders = sc->facts->MaxSasExpanders;
1732 sc->max_volumes = sc->facts->MaxVolumes;
1733 sc->max_devices = sc->facts->MaxTargets + sc->max_volumes;
H A Dmps_user.c421 space = (int)cm->cm_sc->facts->IOCRequestFrameSize * 4;
689 if (cmd->req_len > (int)sc->facts->IOCRequestFrameSize * 4) {
827 if (data->RequestSize > (int)sc->facts->IOCRequestFrameSize * 4) {
1101 data->MpiFirmwareVersion = sc->facts->FWVersion.Word;
H A Dmps_sas.c734 sassc->maxtargets = sc->facts->MaxTargets;

Completed in 276 milliseconds