Lines Matching refs:dev_pg0
1143 struct mpi3mr_tgt_dev *tgtdev, struct mpi3_device_page0 *dev_pg0, in mpi3mr_update_tgtdev() argument
1151 tgtdev->perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_update_tgtdev()
1152 tgtdev->dev_handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_update_tgtdev()
1153 tgtdev->dev_type = dev_pg0->device_form; in mpi3mr_update_tgtdev()
1154 tgtdev->io_unit_port = dev_pg0->io_unit_port; in mpi3mr_update_tgtdev()
1155 tgtdev->encl_handle = le16_to_cpu(dev_pg0->enclosure_handle); in mpi3mr_update_tgtdev()
1156 tgtdev->parent_handle = le16_to_cpu(dev_pg0->parent_dev_handle); in mpi3mr_update_tgtdev()
1157 tgtdev->slot = le16_to_cpu(dev_pg0->slot); in mpi3mr_update_tgtdev()
1158 tgtdev->q_depth = le16_to_cpu(dev_pg0->queue_depth); in mpi3mr_update_tgtdev()
1159 tgtdev->wwid = le64_to_cpu(dev_pg0->wwid); in mpi3mr_update_tgtdev()
1160 tgtdev->devpg0_flag = le16_to_cpu(dev_pg0->flags); in mpi3mr_update_tgtdev()
1203 switch (dev_pg0->access_status) { in mpi3mr_update_tgtdev()
1218 &dev_pg0->device_specific.sas_sata_format; in mpi3mr_update_tgtdev()
1242 dev_pg0->io_unit_port; in mpi3mr_update_tgtdev()
1248 &dev_pg0->device_specific.pcie_format; in mpi3mr_update_tgtdev()
1257 if (dev_pg0->access_status == MPI3_DEVICE0_ASTATUS_NO_ERRORS) { in mpi3mr_update_tgtdev()
1291 &dev_pg0->device_specific.vd_format; in mpi3mr_update_tgtdev()
1402 struct mpi3_device_page0 *dev_pg0) in mpi3mr_devinfochg_evt_bh() argument
1407 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_devinfochg_evt_bh()
1408 dev_handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_devinfochg_evt_bh()
1415 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, false); in mpi3mr_devinfochg_evt_bh()
2007 struct mpi3_device_page0 *dev_pg0 = NULL; in mpi3mr_fwevt_bh() local
2031 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
2032 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_fwevt_bh()
2033 handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_fwevt_bh()
2037 (dev_pg0->device_form == MPI3_DEVICE_DEVFORM_SAS_SATA)) { in mpi3mr_fwevt_bh()
2038 sasinf = &dev_pg0->device_specific.sas_sata_format; in mpi3mr_fwevt_bh()
2052 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
2053 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_fwevt_bh()
2055 mpi3mr_devinfochg_evt_bh(mrioc, dev_pg0); in mpi3mr_fwevt_bh()
2178 struct mpi3_device_page0 *dev_pg0) in mpi3mr_create_tgtdev() argument
2185 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_create_tgtdev()
2196 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, true); in mpi3mr_create_tgtdev()
2202 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, true); in mpi3mr_create_tgtdev()
2974 struct mpi3_device_page0 *dev_pg0 = in mpi3mr_os_handle_events() local
2976 if (mpi3mr_create_tgtdev(mrioc, dev_pg0)) in mpi3mr_os_handle_events()