Home
last modified time | relevance | path

Searched refs:num_phys (Results 1 – 25 of 37) sorted by relevance

12

/linux-3.4.99/drivers/scsi/libsas/
Dsas_port.c64 phy->port->num_phys); in sas_form_port()
71 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
75 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port()
84 if (i == sas_ha->num_phys) { in sas_form_port()
85 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
89 && port->num_phys == 0) { in sas_form_port()
98 if (i >= sas_ha->num_phys) { in sas_form_port()
109 port->num_phys++; in sas_form_port()
138 port->port_dev->pathways = port->num_phys; in sas_form_port()
170 if (port->num_phys == 1) { in sas_deform_port()
[all …]
Dsas_host_smp.c28 if (phy_id >= sas_ha->num_phys) { in sas_host_smp_discover()
147 if (phy_id >= sas_ha->num_phys) { in sas_report_phy_sata()
192 if (phy_id >= sas_ha->num_phys) { in sas_phy_control()
280 resp_data[9] = sas_ha->num_phys; in sas_smp_host_handler()
Dsas_expander.c411 if (0 <= single && single < ex->num_phys) { in sas_ex_phy_discover()
416 for (i = 0; i < ex->num_phys; i++) { in sas_ex_phy_discover()
434 ex->ex_phy = kzalloc(sizeof(*ex->ex_phy)*ex->num_phys, GFP_KERNEL); in sas_expander_discover()
458 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in ex_assign_report_general()
626 for (i = 0; i < ex->num_phys; i++) { in sas_ex_disable_port()
750 for (i = 0; i < parent_ex->num_phys; i++) { in sas_ex_get_linkrate()
888 for (i = 0; i < parent->ex_dev.num_phys; i++) { in sas_ex_join_wide_port()
1080 for (i = 0; i < ex->num_phys; i++) { in sas_ex_discover_dev()
1107 for (i = 0; i < ex->num_phys; i++) { in sas_find_sub_addr()
1170 int i = 0, end = ex->num_phys; in sas_ex_discover_devices()
[all …]
Dsas_dump.c71 SAS_DPRINTK("port%d: num_phys:%d\n", port->id, port->num_phys); in sas_dump_port()
Dsas_event.c106 for (i = 0; i < ha->num_phys; i++) { in sas_enable_revalidation()
Dsas_phy.c119 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_phys()
Dsas_discover.c153 dev->pathways = port->num_phys; in sas_get_port_device()
/linux-3.4.99/drivers/message/fusion/
Dmptsas.c388 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_handle()
418 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_sas_address()
465 port_details->num_phys, (unsigned long long) in mptsas_port_delete()
468 for (i = 0; i < port_info->num_phys; i++, phy_info++) { in mptsas_port_delete()
841 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { in mptsas_setup_wide_ports()
847 if (port_details->num_phys < 2) in mptsas_setup_wide_ports()
856 port_details->num_phys--; in mptsas_setup_wide_ports()
873 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { in mptsas_setup_wide_ports()
888 port_details->num_phys = 1; in mptsas_setup_wide_ports()
900 if (i == port_info->num_phys - 1) in mptsas_setup_wide_ports()
[all …]
Dmptsas.h150 u16 num_phys; /* number of phys belong to this port */ member
175 u16 num_phys; /* number of phys */ member
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h67 #define SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1)
69 #define SINGLE_MEDIA(params) (params->num_phys == 2)
71 #define DUAL_MEDIA(params) (params->num_phys == 3)
263 u8 num_phys; member
Dbnx2x_link.c3344 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_read()
3362 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_write()
3559 for (phy_index = INT_PHY; phy_index < params->num_phys; in set_phy_vars()
6116 if ((params->num_phys == MAX_PHYS) && in bnx2x_get_ext_phy_fw_version()
6241 CHIP_IS_E2(bp) && params->num_phys == 2) { in bnx2x_set_led()
6384 switch (params->num_phys) { in bnx2x_test_link()
6394 for (phy_index = EXT_PHY1; phy_index < params->num_phys; in bnx2x_test_link()
6464 for (phy_index = EXT_PHY1; phy_index < params->num_phys; in bnx2x_link_initialize()
6672 for (phy_index = INT_PHY; phy_index < params->num_phys; in bnx2x_link_update()
6713 for (phy_index = EXT_PHY1; phy_index < params->num_phys; in bnx2x_link_update()
[all …]
/linux-3.4.99/drivers/scsi/mpt2sas/
Dmpt2sas_transport.c513 mpt2sas_port->num_phys--; in _transport_delete_phy()
537 mpt2sas_port->num_phys++; in _transport_add_phy()
601 if (mpt2sas_port->num_phys == 1) in _transport_del_phy_from_an_existing_port()
625 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check()
694 for (i = 0; i < sas_node->num_phys; i++) { in mpt2sas_transport_port_add()
700 mpt2sas_port->num_phys++; in mpt2sas_transport_port_add()
703 if (!mpt2sas_port->num_phys) { in mpt2sas_transport_port_add()
810 for (i = 0; i < sas_node->num_phys; i++) { in mpt2sas_transport_port_remove()
1655 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _transport_phy_enable()
1748 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _transport_phy_speed()
[all …]
Dmpt2sas_scsih.c397 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address()
3444 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
4635 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh()
4650 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh()
4689 mpt2sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add()
4690 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add()
4697 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4720 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4754 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add()
4761 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add()
[all …]
Dmpt2sas_base.h440 u8 num_phys; member
486 u8 num_phys; member
1079 int mpt2sas_config_get_number_hba_phys(struct MPT2SAS_ADAPTER *ioc, u8 *num_phys);
Dmpt2sas_config.c810 mpt2sas_config_get_number_hba_phys(struct MPT2SAS_ADAPTER *ioc, u8 *num_phys) in mpt2sas_config_get_number_hba_phys() argument
818 *num_phys = 0; in mpt2sas_config_get_number_hba_phys()
840 *num_phys = config_page.NumPhys; in mpt2sas_config_get_number_hba_phys()
/linux-3.4.99/include/scsi/
Dlibsas.h146 u8 num_phys; member
282 int num_phys; member
406 int num_phys; /* must be set, gt 0, static */ member
Dsas.h350 u8 num_phys; member
544 u8 num_phys; member
Dscsi_transport_sas.h145 int num_phys; member
/linux-3.4.99/drivers/scsi/aic94xx/
Daic94xx_hwi.h121 int num_phys; /* ENABLEABLE */ member
192 int num_phys; member
Daic94xx_scb.c185 if (port->num_phys > 0 && in asd_form_port()
195 if (port->num_phys == 0 && free_port == NULL) { in asd_form_port()
210 port->num_phys++; in asd_form_port()
228 port->num_phys--; in asd_deform_port()
Daic94xx_sds.c554 u8 num_phys; /* number of PHYs in the PCI function */ member
833 asd_ha->hw_prof.num_phys = en_phys; in asd_ms_get_phy_params()
835 asd_ha->hw_prof.max_phys, asd_ha->hw_prof.num_phys); in asd_ms_get_phy_params()
941 for (i = 0; i < ps->num_phys; i++) { in asd_process_ctrla_phy_settings()
996 dflt_ps.num_phys = 8; in asd_process_ctrl_a_user()
Daic94xx_init.c241 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup()
710 asd_ha->sas_ha.num_phys= ASD_MAX_PHYS; in asd_register_sas_ha()
821 asd_ha->hw_prof.num_phys, in asd_pci_probe()
/linux-3.4.99/Documentation/scsi/
Dlibsas.txt147 num_phys -- the number of phys present in the sas_phy array,
149 array. There can be a maximum num_phys ports (one per
151 num_phys.
222 my_ha->sas_ha.num_phys = MAX_PHYS;
/linux-3.4.99/drivers/scsi/
Dscsi_transport_sas.c833 sas_port_simple_attr(num_phys, num_phys, "%d\n", int);
1118 port->num_phys++; in sas_port_add_phy()
1137 port->num_phys--; in sas_port_delete_phy()
1860 SETUP_PORT_ATTRIBUTE(num_phys); in sas_attach_transport()
/linux-3.4.99/drivers/scsi/isci/
Dinit.c256 sas_ha->num_phys = SCI_MAX_PHYS; in isci_register_sas_ha()

12