/linux-4.4.14/drivers/scsi/libsas/ |
D | sas_port.c | 74 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port() 114 phy->port->num_phys); in sas_form_port() 121 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port() 125 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port() 134 if (i == sas_ha->num_phys) { in sas_form_port() 135 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port() 139 && port->num_phys == 0) { in sas_form_port() 148 if (i >= sas_ha->num_phys) { in sas_form_port() 159 port->num_phys++; in sas_form_port() 188 port->port_dev->pathways = port->num_phys; in sas_form_port() [all …]
|
D | sas_host_smp.c | 28 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()
|
D | sas_expander.c | 411 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 …]
|
D | sas_dump.c | 72 SAS_DPRINTK("port%d: num_phys:%d\n", port->id, port->num_phys); in sas_dump_port()
|
D | sas_init.c | 374 for (i = 0; i < ha->num_phys; i++) { in sas_prep_resume_ha() 389 for (i = 0; i < ha->num_phys; i++) { in phys_suspended() 415 for (i = 0; i < ha->num_phys; i++) { in sas_resume_ha() 438 for (i = 0; i < ha->num_phys; i++) { in sas_suspend_ha()
|
D | sas_event.c | 106 for (i = 0; i < ha->num_phys; i++) { in sas_enable_revalidation()
|
D | sas_phy.c | 140 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_phys()
|
D | sas_discover.c | 149 dev->pathways = port->num_phys; in sas_get_port_device()
|
D | sas_ata.c | 767 for (i = 0; i < sas_ha->num_phys; i++) { in sas_ata_strategy_handler()
|
D | sas_scsi_host.c | 832 for (i = 0; i < ha->num_phys; i++) { in sas_find_dev_by_rphy()
|
/linux-4.4.14/drivers/usb/host/ |
D | ohci-platform.c | 42 int num_phys; member 59 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ohci_platform_power_on() 90 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ohci_platform_power_off() 168 priv->num_phys = of_count_phandle_with_args(dev->dev.of_node, in ohci_platform_probe() 171 if (priv->num_phys > 0) { in ohci_platform_probe() 172 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ohci_platform_probe() 177 priv->num_phys = 0; in ohci_platform_probe() 179 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ohci_platform_probe()
|
D | ehci-platform.c | 48 int num_phys; member 91 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ehci_platform_power_on() 122 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ehci_platform_power_off() 205 priv->num_phys = of_count_phandle_with_args(dev->dev.of_node, in ehci_platform_probe() 208 if (priv->num_phys > 0) { in ehci_platform_probe() 209 priv->phys = devm_kcalloc(&dev->dev, priv->num_phys, in ehci_platform_probe() 214 priv->num_phys = 0; in ehci_platform_probe() 216 for (phy_num = 0; phy_num < priv->num_phys; phy_num++) { in ehci_platform_probe()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptsas.c | 388 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 …]
|
D | mptsas.h | 150 u16 num_phys; /* number of phys belong to this port */ member 175 u16 num_phys; /* number of phys */ member
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 82 #define SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1) 84 #define SINGLE_MEDIA(params) (params->num_phys == 2) 86 #define DUAL_MEDIA(params) (params->num_phys == 3) 290 u8 num_phys; member
|
D | bnx2x_link.c | 295 if (params->num_phys == 3) { in bnx2x_check_lfa() 1458 for (phy_index = INT_PHY; phy_index < params->num_phys; in bnx2x_set_mdio_emac_per_phy() 3201 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_read() 3218 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { in bnx2x_phy_write() 3432 for (phy_index = INT_PHY; phy_index < params->num_phys; in set_phy_vars() 6238 if ((params->num_phys == MAX_PHYS) && in bnx2x_get_ext_phy_fw_version() 6362 CHIP_IS_E2(bp) && params->num_phys == 2) { in bnx2x_set_led() 6503 switch (params->num_phys) { in bnx2x_test_link() 6513 for (phy_index = EXT_PHY1; phy_index < params->num_phys; in bnx2x_test_link() 6585 for (phy_index = EXT_PHY1; phy_index < params->num_phys; in bnx2x_link_initialize() [all …]
|
D | bnx2x_cmn.c | 4823 if (bp->link_params.num_phys <= 1) in bnx2x_get_cur_phy_idx()
|
D | bnx2x_main.c | 11134 switch (bp->link_params.num_phys) { in bnx2x_link_settings_supported() 11233 switch (bp->link_params.num_phys) { in bnx2x_link_settings_requested()
|
/linux-4.4.14/drivers/phy/ |
D | phy-samsung-usb2.c | 102 if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) in samsung_usb2_phy_xlate() 166 cfg->num_phys * sizeof(struct samsung_usb2_phy_instance), in samsung_usb2_phy_probe() 227 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
|
D | phy-sun4i-usb.c | 94 int num_phys; member 479 if (args->args[0] >= data->num_phys) in sun4i_usb_phy_xlate() 529 data->num_phys = 2; in sun4i_usb_phy_probe() 531 data->num_phys = 3; in sun4i_usb_phy_probe() 593 for (i = 0; i < data->num_phys; i++) { in sun4i_usb_phy_probe()
|
D | phy-samsung-usb2.h | 63 unsigned int num_phys; member
|
D | phy-exynos4x12-usb2.c | 368 .num_phys = 1, 375 .num_phys = EXYNOS4x12_NUM_PHYS,
|
D | phy-s5pv210-usb2.c | 184 .num_phys = ARRAY_SIZE(s5pv210_phys),
|
D | phy-exynos4210-usb2.c | 257 .num_phys = EXYNOS4210_NUM_PHYS,
|
D | phy-exynos5250-usb2.c | 398 .num_phys = EXYNOS5250_NUM_PHYS,
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 509 mpt3sas_port->num_phys--; in _transport_delete_phy() 533 mpt3sas_port->num_phys++; in _transport_add_phy() 599 if (mpt3sas_port->num_phys == 1) in _transport_del_phy_from_an_existing_port() 623 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 693 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_add() 699 mpt3sas_port->num_phys++; in mpt3sas_transport_port_add() 702 if (!mpt3sas_port->num_phys) { in mpt3sas_transport_port_add() 830 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_remove() 1677 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _transport_phy_enable() 1703 for (i = 0, discovery_active = 0; i < ioc->sas_hba.num_phys ; i++) { in _transport_phy_enable() [all …]
|
D | mpt3sas_scsih.c | 410 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address() 3467 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events() 4655 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh() 4670 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh() 4709 mpt3sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add() 4710 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add() 4717 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add() 4740 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add() 4774 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add() 4781 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add() [all …]
|
D | mpt3sas_base.h | 560 u8 num_phys; member 606 u8 num_phys; member 1280 u8 *num_phys);
|
D | mpt3sas_config.c | 1067 mpt3sas_config_get_number_hba_phys(struct MPT3SAS_ADAPTER *ioc, u8 *num_phys) in mpt3sas_config_get_number_hba_phys() argument 1075 *num_phys = 0; in mpt3sas_config_get_number_hba_phys() 1097 *num_phys = config_page.NumPhys; in mpt3sas_config_get_number_hba_phys()
|
D | mpt3sas_base.c | 2904 u8 num_phys = 0; in mpt3sas_base_update_missing_delay() local 2907 mpt3sas_config_get_number_hba_phys(ioc, &num_phys); in mpt3sas_base_update_missing_delay() 2908 if (!num_phys) in mpt3sas_base_update_missing_delay() 2911 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (num_phys * in mpt3sas_base_update_missing_delay()
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | usb.h | 65 extern int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys);
|
D | usb-host.c | 431 int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys) in usbhs_init_phys() argument 440 for (i = 0; i < num_phys; i++) { in usbhs_init_phys()
|
/linux-4.4.14/Documentation/phy/ |
D | samsung-usb2.txt | 45 unsigned int num_phys; 49 The num_phys is the number of phys handled by the driver. *phys is an 60 .num_phys = EXYNOS4210_NUM_PHYS,
|
/linux-4.4.14/include/scsi/ |
D | libsas.h | 149 u8 num_phys; member 290 int num_phys; member 412 int num_phys; /* must be set, gt 0, static */ member
|
D | sas.h | 353 u8 num_phys; member 547 u8 num_phys; member
|
D | scsi_transport_sas.h | 139 int num_phys; member
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 121 int num_phys; /* ENABLEABLE */ member 192 int num_phys; member
|
D | aic94xx_scb.c | 185 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()
|
D | aic94xx_sds.c | 554 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()
|
D | aic94xx_init.c | 228 asd_ha->hw_prof.num_phys = ASD_MAX_PHYS; in asd_common_setup() 697 asd_ha->sas_ha.num_phys= ASD_MAX_PHYS; in asd_register_sas_ha() 804 asd_ha->hw_prof.num_phys, in asd_pci_probe()
|
D | aic94xx_hwi.c | 126 asd_port->num_phys = 0; in asd_init_ports() 389 int edbs = 2*(1+asd_ha->hw_prof.num_phys); in asd_init_escbs()
|
D | aic94xx_seq.c | 1146 asd_ha->hw_prof.num_phys * 2); in asd_init_ddb_0()
|
/linux-4.4.14/Documentation/scsi/ |
D | libsas.txt | 147 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-4.4.14/drivers/scsi/ |
D | scsi_transport_sas.c | 834 sas_port_simple_attr(num_phys, num_phys, "%d\n", int); 1119 port->num_phys++; in sas_port_add_phy() 1138 port->num_phys--; in sas_port_delete_phy() 1850 SETUP_PORT_ATTRIBUTE(num_phys); in sas_attach_transport()
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 608 for (phy_id = 0; phy_id < parent_dev->ex_dev.num_phys; in pm8001_dev_found_notify() 617 if (phy_id == parent_dev->ex_dev.num_phys) { in pm8001_dev_found_notify()
|
D | pm8001_init.c | 604 sha->num_phys = chip_info->n_phy; in pm8001_post_sas_ha_init()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | init.c | 258 sas_ha->num_phys = SCI_MAX_PHYS; in isci_register_sas_ha()
|
D | port.c | 252 isci_phy->sas_phy.port->num_phys == 1) { in isci_port_link_down()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | atioctl.h | 736 u8 num_phys; member
|
D | esas2r_ioctl.c | 838 gai->num_phys = ESAS2R_NUM_PHYS; in hba_ioctl_callback()
|
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_init.c | 498 sha->num_phys = nr_core * chip_info->n_phy; in mvs_post_sas_ha_init()
|
D | mv_sas.c | 1210 u8 phy_num = parent_dev->ex_dev.num_phys; in mvs_dev_found_notify()
|