Lines Matching refs:page

63  * mps_config_get_ioc_pg8 - obtain ioc page 8
66 * @config_page: contents of the config page
78 MPI2_CONFIG_PAGE_IOC_8 *page = NULL;
150 page = malloc((cm->cm_length), M_MPT2, M_ZERO | M_NOWAIT);
151 if (!page) {
152 printf("%s: page alloc failed\n", __func__);
156 cm->cm_data = page;
167 printf("%s: request for page completed with error %d",
180 printf("%s: page read with error; iocstatus = 0x%x\n",
185 bcopy(page, config_page, MIN(cm->cm_length, (sizeof(Mpi2IOCPage8_t))));
188 free(page, M_MPT2);
196 * accordingly. Currently, this page does not need to return to caller.
209 pMpi2ManufacturingPagePS_t page = NULL;
234 * This page must be polled because the IOC isn't ready yet when this
235 * page is needed.
282 page = malloc(MPS_MAN_PAGE10_SIZE, M_MPT2, M_ZERO | M_NOWAIT);
283 if (!page) {
284 printf("%s: page alloc failed\n", __func__);
288 cm->cm_data = page;
291 * This page must be polled because the IOC isn't ready yet when this
292 * page is needed.
300 printf("%s: poll for page completed with error %d",
310 printf("%s: page read with error; iocstatus = 0x%x\n",
320 OEM_Value = (uint8_t)(page->ProductSpecificInfo & 0x000000FF);
331 pPS_info = &page->ProductSpecificInfo;
344 free(page, M_MPT2);
392 * Get the WD settings from manufacturing page 10 if using a WD HBA.
416 printf("%s: page alloc failed\n", __func__);
503 * page should not exist. If it does, must not proceed with WD
557 * @config_page: contents of the config page
570 Mpi2DriverMappingPage0_t *page = NULL;
649 page = malloc(cm->cm_length, M_MPT2, M_ZERO|M_NOWAIT);
650 if (!page) {
651 printf("%s: page alloc failed\n", __func__);
655 cm->cm_data = page;
665 printf("%s: request for page completed with error %d",
678 printf("%s: page read with error; iocstatus = 0x%x\n",
683 bcopy(page, config_page, MIN(cm->cm_length, sz));
685 free(page, M_MPT2);
695 * @config_page: contents of the config page
708 MPI2_CONFIG_PAGE_DRIVER_MAPPING_0 *page = NULL;
787 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
788 if (!page) {
789 printf("%s: page alloc failed\n", __func__);
793 bcopy(config_page, page, MIN(cm->cm_length,
795 cm->cm_data = page;
805 printf("%s: request to write page completed with error %d",
818 printf("%s: page written with error; iocstatus = 0x%x\n",
824 free(page, M_MPT2);
831 * mps_config_get_sas_device_pg0 - obtain sas device page 0
834 * @config_page: contents of the config page
848 Mpi2SasDevicePage0_t *page = NULL;
923 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
924 if (!page) {
925 printf("%s: page alloc failed\n", __func__);
929 cm->cm_data = page;
940 printf("%s: request for page completed with error %d",
953 printf("%s: page read with error; iocstatus = 0x%x\n",
958 bcopy(page, config_page, MIN(cm->cm_length,
961 free(page, M_MPT2);
968 * mps_config_get_bios_pg3 - obtain BIOS page 3
971 * @config_page: contents of the config page
983 Mpi2BiosPage3_t *page = NULL;
1055 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
1056 if (!page) {
1057 printf("%s: page alloc failed\n", __func__);
1061 cm->cm_data = page;
1072 printf("%s: request for page completed with error %d",
1085 printf("%s: page read with error; iocstatus = 0x%x\n",
1090 bcopy(page, config_page, MIN(cm->cm_length, sizeof(Mpi2BiosPage3_t)));
1092 free(page, M_MPT2);
1099 * mps_config_get_raid_volume_pg0 - obtain raid volume page 0
1102 * @config_page: contents of the config page
1103 * @page_address: form and handle value used to get page
1115 Mpi2RaidVolPage0_t *page = NULL;
1138 * This page must be polled because the IOC isn't ready yet when this
1139 * page is needed.
1187 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
1188 if (!page) {
1189 printf("%s: page alloc failed\n", __func__);
1193 cm->cm_data = page;
1196 * This page must be polled because the IOC isn't ready yet when this
1197 * page is needed.
1205 printf("%s: poll for page completed with error %d",
1215 printf("%s: page read with error; iocstatus = 0x%x\n",
1220 bcopy(page, config_page, cm->cm_length);
1222 free(page, M_MPT2);
1229 * mps_config_get_raid_volume_pg1 - obtain raid volume page 1
1232 * @config_page: contents of the config page
1246 Mpi2RaidVolPage1_t *page = NULL;
1319 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
1320 if (!page) {
1321 printf("%s: page alloc failed\n", __func__);
1325 cm->cm_data = page;
1336 printf("%s: request for page completed with error %d",
1349 printf("%s: page read with error; iocstatus = 0x%x\n",
1354 bcopy(page, config_page, MIN(cm->cm_length,
1357 free(page, M_MPT2);
1389 * mps_config_get_pd_pg0 - obtain raid phys disk page 0
1392 * @config_page: contents of the config page
1393 * @page_address: form and handle value used to get page
1405 Mpi2RaidPhysDiskPage0_t *page = NULL;
1428 * This page must be polled because the IOC isn't ready yet when this
1429 * page is needed.
1477 page = malloc(cm->cm_length, M_MPT2, M_ZERO | M_NOWAIT);
1478 if (!page) {
1479 printf("%s: page alloc failed\n", __func__);
1483 cm->cm_data = page;
1486 * This page must be polled because the IOC isn't ready yet when this
1487 * page is needed.
1495 printf("%s: poll for page completed with error %d",
1505 printf("%s: page read with error; iocstatus = 0x%x\n",
1510 bcopy(page, config_page, MIN(cm->cm_length,
1513 free(page, M_MPT2);