Lines Matching refs:phys_num
1554 for (offset = 0; offset < adapter->dev_topo.card.phys_num; offset++) { in leapraid_add_or_del_phys_from_existing_port()
2621 if (hdl <= adapter->dev_topo.card.phys_num && in leapraid_get_sas_address()
3637 u8 phys_num; in leapraid_sas_host_add() local
3642 if (leapraid_get_adapter_phys(adapter, &phys_num) || !phys_num) in leapraid_sas_host_add()
3646 kzalloc_objs(struct leapraid_card_phy, phys_num); in leapraid_sas_host_add()
3650 adapter->dev_topo.card.phys_num = phys_num; in leapraid_sas_host_add()
3655 (adapter->dev_topo.card.phys_num * in leapraid_sas_host_add()
3669 for (i = 0; i < adapter->dev_topo.card.phys_num; i++) { in leapraid_sas_host_add()
3695 adapter->dev_topo.card.phys_num); in leapraid_sas_host_add()
3741 topo_node_exp->phys_num = exp_pg0->phy_num; in leapraid_internal_exp_add()
3755 topo_node_exp->phys_num); in leapraid_internal_exp_add()
3756 if (!topo_node_exp->phys_num) { in leapraid_internal_exp_add()
3764 kzalloc_objs(struct leapraid_card_phy, topo_node_exp->phys_num); in leapraid_internal_exp_add()
3768 __func__, topo_node_exp->phys_num); in leapraid_internal_exp_add()
3783 for (i = 0; i < topo_node_exp->phys_num; i++) { in leapraid_internal_exp_add()
4054 leapraid_sas_host_add(adapter, adapter->dev_topo.card.phys_num > 0); in leapraid_sas_topo_chg_evt()
4071 max_phys = topo_node_exp->phys_num; in leapraid_sas_topo_chg_evt()
4073 } else if (phdl < adapter->dev_topo.card.phys_num) { in leapraid_sas_topo_chg_evt()
4075 max_phys = adapter->dev_topo.card.phys_num; in leapraid_sas_topo_chg_evt()
4714 for (i = 0; i < topo_node_exp->phys_num; i++) { in leapraid_update_exp_links()
4960 leapraid_sas_host_add(adapter, adapter->dev_topo.card.phys_num > 0); in leapraid_scan_all_dev_after_reset()
5965 for (i = 0; i < adapter->dev_topo.card.phys_num; i++) { in leapraid_fill_card_port_table()
6009 (adapter->dev_topo.card.phys_num * in leapraid_set_new_card_port_table_after_reset()
6095 adapter->dev_topo.card.phys_num = nr_phys; in leapraid_update_card_port_after_reset()
6098 adapter->dev_topo.card.phys_num); in leapraid_update_card_port_after_reset()
6226 (adapter->dev_topo.card.phys_num * in leapraid_update_vphys_after_reset()
6237 for (i = 0; i < adapter->dev_topo.card.phys_num; i++) { in leapraid_update_vphys_after_reset()
6616 for (i = 0; i < topo_node_exp->phys_num; i++) in leapraid_mark_resp_exp()