Lines Matching refs:sas_iounit_pg0

5935 	Mpi2SasIOUnitPage0_t *sas_iounit_pg0 = NULL;  in _scsih_update_vphys_after_reset()  local
5960 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_update_vphys_after_reset()
5961 sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL); in _scsih_update_vphys_after_reset()
5962 if (!sas_iounit_pg0) { in _scsih_update_vphys_after_reset()
5968 sas_iounit_pg0, sz)) != 0) in _scsih_update_vphys_after_reset()
5980 if ((sas_iounit_pg0->PhyData[i].NegotiatedLinkRate >> 4) < in _scsih_update_vphys_after_reset()
5991 sas_iounit_pg0->PhyData[i].ControllerPhyDeviceInfo) & in _scsih_update_vphys_after_reset()
6009 sas_iounit_pg0->PhyData[i].AttachedDevHandle); in _scsih_update_vphys_after_reset()
6056 port_id = sas_iounit_pg0->PhyData[i].Port; in _scsih_update_vphys_after_reset()
6116 kfree(sas_iounit_pg0); in _scsih_update_vphys_after_reset()
6133 Mpi2SasIOUnitPage0_t *sas_iounit_pg0 = NULL; in _scsih_get_port_table_after_reset() local
6138 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_get_port_table_after_reset()
6139 sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL); in _scsih_get_port_table_after_reset()
6140 if (!sas_iounit_pg0) { in _scsih_get_port_table_after_reset()
6147 sas_iounit_pg0, sz)) != 0) in _scsih_get_port_table_after_reset()
6154 if ((sas_iounit_pg0->PhyData[i].NegotiatedLinkRate >> 4) < in _scsih_get_port_table_after_reset()
6158 le16_to_cpu(sas_iounit_pg0->PhyData[i].AttachedDevHandle); in _scsih_get_port_table_after_reset()
6167 port_id = sas_iounit_pg0->PhyData[i].Port; in _scsih_get_port_table_after_reset()
6179 port_id = sas_iounit_pg0->PhyData[i].Port; in _scsih_get_port_table_after_reset()
6186 kfree(sas_iounit_pg0); in _scsih_get_port_table_after_reset()
6561 Mpi2SasIOUnitPage0_t *sas_iounit_pg0 = NULL; in _scsih_sas_host_refresh() local
6571 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_sas_host_refresh()
6572 sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL); in _scsih_sas_host_refresh()
6573 if (!sas_iounit_pg0) { in _scsih_sas_host_refresh()
6580 sas_iounit_pg0, sz)) != 0) in _scsih_sas_host_refresh()
6586 link_rate = sas_iounit_pg0->PhyData[i].NegotiatedLinkRate >> 4; in _scsih_sas_host_refresh()
6589 sas_iounit_pg0->PhyData[0].ControllerDevHandle); in _scsih_sas_host_refresh()
6590 port_id = sas_iounit_pg0->PhyData[i].Port; in _scsih_sas_host_refresh()
6607 if (le32_to_cpu(sas_iounit_pg0->PhyData[i].ControllerPhyDeviceInfo) & in _scsih_sas_host_refresh()
6654 attached_handle = le16_to_cpu(sas_iounit_pg0->PhyData[i]. in _scsih_sas_host_refresh()
6678 kfree(sas_iounit_pg0); in _scsih_sas_host_refresh()
6692 Mpi2SasIOUnitPage0_t *sas_iounit_pg0 = NULL; in _scsih_sas_host_add() local
6722 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); in _scsih_sas_host_add()
6723 sas_iounit_pg0 = kzalloc(sz, GFP_KERNEL); in _scsih_sas_host_add()
6724 if (!sas_iounit_pg0) { in _scsih_sas_host_add()
6730 sas_iounit_pg0, sz))) { in _scsih_sas_host_add()
6793 ioc->sas_hba.handle = le16_to_cpu(sas_iounit_pg0-> in _scsih_sas_host_add()
6796 port_id = sas_iounit_pg0->PhyData[i].Port; in _scsih_sas_host_add()
6856 kfree(sas_iounit_pg0); in _scsih_sas_host_add()