Lines Matching refs:sas_io_unit_pg0

1135 	struct mpi3_sas_io_unit_page0 *sas_io_unit_pg0 = NULL;  in mpi3mr_sas_host_refresh()  local
1144 sas_io_unit_pg0 = kzalloc(sz, GFP_KERNEL); in mpi3mr_sas_host_refresh()
1145 if (!sas_io_unit_pg0) in mpi3mr_sas_host_refresh()
1147 if (mpi3mr_cfg_get_sas_io_unit_pg0(mrioc, sas_io_unit_pg0, sz)) { in mpi3mr_sas_host_refresh()
1155 if (sas_io_unit_pg0->phy_data[i].phy_flags & in mpi3mr_sas_host_refresh()
1160 sas_io_unit_pg0->phy_data[i].negotiated_link_rate >> 4; in mpi3mr_sas_host_refresh()
1163 sas_io_unit_pg0->phy_data[i].controller_dev_handle); in mpi3mr_sas_host_refresh()
1164 port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_sas_host_refresh()
1171 sas_io_unit_pg0->phy_data[i].attached_dev_handle); in mpi3mr_sas_host_refresh()
1181 kfree(sas_io_unit_pg0); in mpi3mr_sas_host_refresh()
1199 struct mpi3_sas_io_unit_page0 *sas_io_unit_pg0 = NULL; in mpi3mr_sas_host_add() local
1207 sas_io_unit_pg0 = kzalloc(sz, GFP_KERNEL); in mpi3mr_sas_host_add()
1208 if (!sas_io_unit_pg0) in mpi3mr_sas_host_add()
1211 if (mpi3mr_cfg_get_sas_io_unit_pg0(mrioc, sas_io_unit_pg0, sz)) { in mpi3mr_sas_host_add()
1216 num_phys = sas_io_unit_pg0->num_phys; in mpi3mr_sas_host_add()
1217 kfree(sas_io_unit_pg0); in mpi3mr_sas_host_add()
1231 sas_io_unit_pg0 = kzalloc(sz, GFP_KERNEL); in mpi3mr_sas_host_add()
1232 if (!sas_io_unit_pg0) in mpi3mr_sas_host_add()
1235 if (mpi3mr_cfg_get_sas_io_unit_pg0(mrioc, sas_io_unit_pg0, sz)) { in mpi3mr_sas_host_add()
1243 if (sas_io_unit_pg0->phy_data[i].phy_flags & in mpi3mr_sas_host_add()
1262 sas_io_unit_pg0->phy_data[i].controller_dev_handle); in mpi3mr_sas_host_add()
1263 port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_sas_host_add()
1310 kfree(sas_io_unit_pg0); in mpi3mr_sas_host_add()
1711 struct mpi3_sas_io_unit_page0 *sas_io_unit_pg0 = NULL; in mpi3mr_refresh_sas_ports() local
1719 sas_io_unit_pg0 = kzalloc(sz, GFP_KERNEL); in mpi3mr_refresh_sas_ports()
1720 if (!sas_io_unit_pg0) in mpi3mr_refresh_sas_ports()
1726 if (mpi3mr_cfg_get_sas_io_unit_pg0(mrioc, sas_io_unit_pg0, sz)) { in mpi3mr_refresh_sas_ports()
1735 sas_io_unit_pg0->phy_data[i].attached_dev_handle); in mpi3mr_refresh_sas_ports()
1769 h_port[port_idx].iounit_port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_refresh_sas_ports()
1856 kfree(sas_io_unit_pg0); in mpi3mr_refresh_sas_ports()
2990 struct mpi3_sas_io_unit_page0 *sas_io_unit_pg0 = NULL; in mpi3mr_transport_phy_enable() local
3010 sas_io_unit_pg0 = kzalloc(sz, GFP_KERNEL); in mpi3mr_transport_phy_enable()
3011 if (!sas_io_unit_pg0) { in mpi3mr_transport_phy_enable()
3015 if (mpi3mr_cfg_get_sas_io_unit_pg0(mrioc, sas_io_unit_pg0, sz)) { in mpi3mr_transport_phy_enable()
3024 if (sas_io_unit_pg0->phy_data[i].port_flags & in mpi3mr_transport_phy_enable()
3029 sas_io_unit_pg0->phy_data[i].io_unit_port, i); in mpi3mr_transport_phy_enable()
3039 if ((sas_io_unit_pg0->phy_data[phy->number].phy_flags & in mpi3mr_transport_phy_enable()
3080 kfree(sas_io_unit_pg0); in mpi3mr_transport_phy_enable()