/drivers/scsi/libsas/ |
D | sas_port.c | 59 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port() 100 phy->port->num_phys); in sas_form_port() 107 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port() 111 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port() 120 if (i == sas_ha->num_phys) { in sas_form_port() 121 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port() 125 && port->num_phys == 0) { in sas_form_port() 134 if (i >= sas_ha->num_phys) { in sas_form_port() 145 port->num_phys++; in sas_form_port() 174 port_dev->pathways = port->num_phys; in sas_form_port() [all …]
|
D | sas_host_smp.c | 25 if (phy_id >= sas_ha->num_phys) { in sas_host_smp_discover() 144 if (phy_id >= sas_ha->num_phys) { in sas_report_phy_sata() 189 if (phy_id >= sas_ha->num_phys) { in sas_phy_control() 264 resp_data[9] = sas_ha->num_phys; in sas_smp_host_handler()
|
D | sas_expander.c | 409 if (0 <= single && single < ex->num_phys) { in sas_ex_phy_discover() 414 for (i = 0; i < ex->num_phys; i++) { in sas_ex_phy_discover() 432 ex->ex_phy = kcalloc(ex->num_phys, sizeof(*ex->ex_phy), GFP_KERNEL); in sas_expander_discover() 456 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in ex_assign_report_general() 631 for (i = 0; i < ex->num_phys; i++) { in sas_ex_disable_port() 756 for (i = 0; i < parent_ex->num_phys; i++) { in sas_ex_get_linkrate() 919 for (i = 0; i < parent->ex_dev.num_phys; i++) { in sas_ex_join_wide_port() 1118 for (i = 0; i < ex->num_phys; i++) { in sas_find_sub_addr() 1177 int i = 0, end = ex->num_phys; in sas_ex_discover_devices() 1221 for (i = 0; i < ex->num_phys; i++) { in sas_check_ex_subtractive_boundary() [all …]
|
D | sas_init.c | 363 for (i = 0; i < ha->num_phys; i++) { in sas_prep_resume_ha() 376 for (i = 0; i < ha->num_phys; i++) { in phys_suspended() 402 for (i = 0; i < ha->num_phys; i++) { in sas_resume_ha() 426 for (i = 0; i < ha->num_phys; i++) { in sas_suspend_ha()
|
/drivers/phy/samsung/ |
D | phy-exynos-mipi-video.c | 41 int num_phys; member 58 .num_phys = 4, 103 .num_phys = 5, 166 .num_phys = 5, 219 int num_phys; member 282 if (WARN_ON(args->args[0] >= state->num_phys)) in exynos_mipi_video_phy_xlate() 317 state->num_phys = phy_dev->num_phys; in exynos_mipi_video_phy_probe() 322 for (i = 0; i < state->num_phys; i++) { in exynos_mipi_video_phy_probe()
|
D | phy-samsung-usb2.c | 100 if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) in samsung_usb2_phy_xlate() 162 drv = devm_kzalloc(dev, struct_size(drv, instances, cfg->num_phys), in samsung_usb2_phy_probe() 222 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
|
D | phy-samsung-usb2.h | 60 unsigned int num_phys; member
|
D | phy-exynos4x12-usb2.c | 365 .num_phys = 1, 372 .num_phys = EXYNOS4x12_NUM_PHYS,
|
D | phy-exynos5250-usb2.c | 408 .num_phys = ARRAY_SIZE(exynos5250_phys), 415 .num_phys = ARRAY_SIZE(exynos5420_phys),
|
/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 114 int num_phys; member 651 if (args->args[0] >= data->cfg->num_phys) in sun4i_usb_phy_xlate() 746 for (i = 0; i < data->cfg->num_phys; i++) { in sun4i_usb_phy_probe() 861 .num_phys = 3, 870 .num_phys = 2, 879 .num_phys = 3, 888 .num_phys = 3, 897 .num_phys = 2, 906 .num_phys = 2, 915 .num_phys = 3, [all …]
|
/drivers/usb/mtu3/ |
D | mtu3_plat.c | 79 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_init() 97 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_exit() 108 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_power_on() 126 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_power_off() 215 ssusb->num_phys = of_count_phandle_with_args(node, in get_ssusb_rscs() 217 if (ssusb->num_phys > 0) { in get_ssusb_rscs() 218 ssusb->phys = devm_kcalloc(dev, ssusb->num_phys, in get_ssusb_rscs() 223 ssusb->num_phys = 0; in get_ssusb_rscs() 226 for (i = 0; i < ssusb->num_phys; i++) { in get_ssusb_rscs()
|
/drivers/usb/core/ |
D | phy.c | 52 int i, num_phys, err; in usb_phy_roothub_alloc() local 57 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in usb_phy_roothub_alloc() 59 if (num_phys <= 0) in usb_phy_roothub_alloc() 68 for (i = 0; i < num_phys; i++) { in usb_phy_roothub_alloc()
|
/drivers/message/fusion/ |
D | mptsas.c | 413 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_handle() 445 for (i = 0; i < port_info->num_phys; i++) in mptsas_find_portinfo_by_sas_address() 492 port_details->num_phys, (unsigned long long) in mptsas_port_delete() 495 for (i = 0; i < port_info->num_phys; i++, phy_info++) { in mptsas_port_delete() 867 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { in mptsas_setup_wide_ports() 873 if (port_details->num_phys < 2) in mptsas_setup_wide_ports() 882 port_details->num_phys--; in mptsas_setup_wide_ports() 899 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) { in mptsas_setup_wide_ports() 914 port_details->num_phys = 1; in mptsas_setup_wide_ports() 926 if (i == port_info->num_phys - 1) in mptsas_setup_wide_ports() [all …]
|
D | mptsas.h | 151 u16 num_phys; /* number of phys belong to this port */ member 176 u16 num_phys; /* number of phys */ member
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 452 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init() 478 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_exit() 512 bdc->num_phys = of_count_phandle_with_args(dev->of_node, in bdc_probe() 514 if (bdc->num_phys > 0) { in bdc_probe() 515 bdc->phys = devm_kcalloc(dev, bdc->num_phys, in bdc_probe() 520 bdc->num_phys = 0; in bdc_probe() 522 dev_info(dev, "Using %d phy(s)\n", bdc->num_phys); in bdc_probe() 524 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_probe()
|
/drivers/usb/host/ |
D | ohci-exynos.c | 43 int phy_number, num_phys; in exynos_ohci_get_phy() local 47 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ohci_get_phy() 49 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ohci_get_phy() 55 if (num_phys > 0) in exynos_ohci_get_phy()
|
D | ehci-exynos.c | 54 int phy_number, num_phys; in exynos_ehci_get_phy() local 58 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ehci_get_phy() 60 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ehci_get_phy() 66 if (num_phys > 0) in exynos_ehci_get_phy()
|
D | xhci-tegra.c | 258 unsigned int num_phys; member 796 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_phy_enable() 823 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_phy_disable() 1578 tegra->num_phys += tegra->soc->phy_types[i].num; in tegra_xusb_probe() 1581 tegra->phys = devm_kcalloc(&pdev->dev, tegra->num_phys, in tegra_xusb_probe() 1954 for (i = 0; i < tegra->num_phys; i++) { in tegra_xhci_disable_phy_wake() 1967 for (i = 0; i < tegra->num_phys; i++) { in tegra_xhci_disable_phy_sleepwalk() 2009 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_enter_elpg() 2060 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_exit_elpg() 2101 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_exit_elpg()
|
/drivers/usb/dwc3/ |
D | dwc3-meson-g12a.c | 148 int num_phys; member 197 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 211 .num_phys = ARRAY_SIZE(meson_gxm_phy_names), 224 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 237 .num_phys = ARRAY_SIZE(meson_g12a_phy_names), 249 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 334 for (i = 0; i < priv->drvdata->num_phys; ++i) { in dwc3_meson_g12a_usb2_init() 455 for (i = 0 ; i < priv->drvdata->num_phys ; ++i) { in dwc3_meson_g12a_get_phys() 656 for (i = 0; i < priv->drvdata->num_phys; i++) { in dwc3_meson_g12a_setup_regmaps()
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 540 mpt3sas_port->num_phys--; in _transport_delete_phy() 562 mpt3sas_port->num_phys++; in _transport_add_phy() 634 if (mpt3sas_port->num_phys == 1 && !ioc->shost_recovery) in mpt3sas_transport_del_phy_from_an_existing_port() 659 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 740 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_add() 748 mpt3sas_port->num_phys++; in mpt3sas_transport_port_add() 749 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add() 764 if (!mpt3sas_port->num_phys) { in mpt3sas_transport_port_add() 811 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add() 822 if (sas_node->handle <= ioc->sas_hba.num_phys) in mpt3sas_transport_port_add() [all …]
|
D | mpt3sas_scsih.c | 531 if ((handle <= ioc->sas_hba.num_phys) && in _scsih_get_sas_address() 4678 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events() 5958 (ioc->sas_hba.num_phys * sizeof(Mpi2SasIOUnit0PhyData_t)); in _scsih_update_vphys_after_reset() 5974 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_update_vphys_after_reset() 6136 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_get_port_table_after_reset() 6151 for (i = 0; i < ioc->sas_hba.num_phys; i++) { in _scsih_get_port_table_after_reset() 6318 for (offset = 0; offset < ioc->sas_hba.num_phys; offset++) { in _scsih_add_or_del_phys_from_existing_port() 6409 u8 num_phys; in _scsih_sas_port_refresh() local 6415 mpt3sas_config_get_number_hba_phys(ioc, &num_phys); in _scsih_sas_port_refresh() 6416 if (!num_phys) { in _scsih_sas_port_refresh() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 83 #define SINGLE_MEDIA_DIRECT(params) (params->num_phys == 1) 85 #define SINGLE_MEDIA(params) (params->num_phys == 2) 87 #define DUAL_MEDIA(params) (params->num_phys == 3) 291 u8 num_phys; member
|
/drivers/scsi/mpi3mr/mpi/ |
D | mpi30_cnfg.h | 230 u8 num_phys; member 362 u8 num_phys; member 914 u8 num_phys; member 1139 u8 num_phys; member 1169 u8 num_phys; member 1229 u8 num_phys; member 1283 u8 num_phys; member 1318 u8 num_phys; member 1541 u8 num_phys; member 1587 u8 num_phys; member
|
/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 103 int num_phys; /* ENABLEABLE */ member 174 int num_phys; member
|
D | aic94xx_scb.c | 168 if (port->num_phys > 0 && in asd_form_port() 178 if (port->num_phys == 0 && free_port == NULL) { in asd_form_port() 193 port->num_phys++; in asd_form_port() 211 port->num_phys--; in asd_deform_port()
|