Lines Matching refs:dev_pg0

1091 	struct mpi3mr_tgt_dev *tgtdev, struct mpi3_device_page0 *dev_pg0,  in mpi3mr_update_tgtdev()  argument
1099 tgtdev->perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_update_tgtdev()
1100 tgtdev->dev_handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_update_tgtdev()
1101 tgtdev->dev_type = dev_pg0->device_form; in mpi3mr_update_tgtdev()
1102 tgtdev->io_unit_port = dev_pg0->io_unit_port; in mpi3mr_update_tgtdev()
1103 tgtdev->encl_handle = le16_to_cpu(dev_pg0->enclosure_handle); in mpi3mr_update_tgtdev()
1104 tgtdev->parent_handle = le16_to_cpu(dev_pg0->parent_dev_handle); in mpi3mr_update_tgtdev()
1105 tgtdev->slot = le16_to_cpu(dev_pg0->slot); in mpi3mr_update_tgtdev()
1106 tgtdev->q_depth = le16_to_cpu(dev_pg0->queue_depth); in mpi3mr_update_tgtdev()
1107 tgtdev->wwid = le64_to_cpu(dev_pg0->wwid); in mpi3mr_update_tgtdev()
1108 tgtdev->devpg0_flag = le16_to_cpu(dev_pg0->flags); in mpi3mr_update_tgtdev()
1151 switch (dev_pg0->access_status) { in mpi3mr_update_tgtdev()
1166 &dev_pg0->device_specific.sas_sata_format; in mpi3mr_update_tgtdev()
1190 dev_pg0->io_unit_port; in mpi3mr_update_tgtdev()
1196 &dev_pg0->device_specific.pcie_format; in mpi3mr_update_tgtdev()
1205 if (dev_pg0->access_status == MPI3_DEVICE0_ASTATUS_NO_ERRORS) { in mpi3mr_update_tgtdev()
1239 &dev_pg0->device_specific.vd_format; in mpi3mr_update_tgtdev()
1350 struct mpi3_device_page0 *dev_pg0) in mpi3mr_devinfochg_evt_bh() argument
1355 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_devinfochg_evt_bh()
1356 dev_handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_devinfochg_evt_bh()
1363 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, false); in mpi3mr_devinfochg_evt_bh()
1899 struct mpi3_device_page0 *dev_pg0 = NULL; in mpi3mr_fwevt_bh() local
1922 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
1923 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_fwevt_bh()
1924 handle = le16_to_cpu(dev_pg0->dev_handle); in mpi3mr_fwevt_bh()
1928 (dev_pg0->device_form == MPI3_DEVICE_DEVFORM_SAS_SATA)) { in mpi3mr_fwevt_bh()
1929 sasinf = &dev_pg0->device_specific.sas_sata_format; in mpi3mr_fwevt_bh()
1943 dev_pg0 = (struct mpi3_device_page0 *)fwevt->event_data; in mpi3mr_fwevt_bh()
1944 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_fwevt_bh()
1946 mpi3mr_devinfochg_evt_bh(mrioc, dev_pg0); in mpi3mr_fwevt_bh()
2053 struct mpi3_device_page0 *dev_pg0) in mpi3mr_create_tgtdev() argument
2060 perst_id = le16_to_cpu(dev_pg0->persistent_id); in mpi3mr_create_tgtdev()
2071 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, true); in mpi3mr_create_tgtdev()
2077 mpi3mr_update_tgtdev(mrioc, tgtdev, dev_pg0, true); in mpi3mr_create_tgtdev()
2848 struct mpi3_device_page0 *dev_pg0 = in mpi3mr_os_handle_events() local
2850 if (mpi3mr_create_tgtdev(mrioc, dev_pg0)) in mpi3mr_os_handle_events()