| /drivers/scsi/libsas/ |
| A D | sas_port.c | 76 port->num_phys++; in sas_form_port_add_phy() 127 phy->port->num_phys); in sas_form_port() 134 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port() 148 if (i == sas_ha->num_phys) { in sas_form_port() 153 && port->num_phys == 0) { in sas_form_port() 162 if (i >= sas_ha->num_phys) { in sas_form_port() 184 port_dev->pathways = port->num_phys; in sas_form_port() 225 if (port->num_phys == 1) { in sas_deform_port() 244 port->num_phys--; in sas_deform_port() 247 if (port->num_phys == 0) { in sas_deform_port() [all …]
|
| A 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()
|
| A D | sas_expander.c | 413 if (0 <= single && single < ex->num_phys) { in sas_ex_phy_discover() 418 for (i = 0; i < ex->num_phys; i++) { in sas_ex_phy_discover() 494 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in sas_ex_general() 630 for (i = 0; i < ex->num_phys; i++) { in sas_ex_disable_port() 755 for (i = 0; i < parent_ex->num_phys; i++) { in sas_ex_get_linkrate() 1068 for (i = 0; i < ex->num_phys; i++) { in sas_find_sub_addr() 1127 int i = 0, end = ex->num_phys; in sas_ex_discover_devices() 1171 for (i = 0; i < ex->num_phys; i++) { in sas_check_ex_subtractive_boundary() 1871 if (phy->port->num_phys == 0) { in sas_unregister_devs_sas_addr() 2069 for (i = 0; i < ex->num_phys; i++) { in sas_rediscover() [all …]
|
| A D | sas_init.c | 365 for (i = 0; i < ha->num_phys; i++) { in sas_prep_resume_ha() 378 for (i = 0; i < ha->num_phys; i++) { in phys_suspended() 392 for (i = 0; i < ha->num_phys; i++) { in sas_resume_insert_broadcast_ha() 428 for (i = 0; i < ha->num_phys; i++) { in _sas_resume_ha() 472 for (i = 0; i < ha->num_phys; i++) { in sas_suspend_ha()
|
| /drivers/phy/samsung/ |
| A D | phy-exynos-mipi-video.c | 40 int num_phys; member 57 .num_phys = 4, 102 .num_phys = 5, 165 .num_phys = 5, 223 .num_phys = 4, 267 int num_phys; member 330 if (WARN_ON(args->args[0] >= state->num_phys)) in exynos_mipi_video_phy_xlate() 368 state->num_phys = phy_dev->num_phys; in exynos_mipi_video_phy_probe() 373 for (i = 0; i < state->num_phys; i++) { in exynos_mipi_video_phy_probe()
|
| A D | phy-samsung-usb2.c | 98 if (WARN_ON(args->args[0] >= drv->cfg->num_phys)) in samsung_usb2_phy_xlate() 160 drv = devm_kzalloc(dev, struct_size(drv, instances, cfg->num_phys), in samsung_usb2_phy_probe() 220 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
|
| A D | phy-exynos4x12-usb2.c | 365 .num_phys = 1, 372 .num_phys = EXYNOS4x12_NUM_PHYS,
|
| A D | phy-samsung-usb2.h | 60 unsigned int num_phys; member
|
| /drivers/usb/core/ |
| A D | phy.c | 76 int i, num_phys, err; in usb_phy_roothub_alloc() local 81 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in usb_phy_roothub_alloc() 83 if (num_phys <= 0) in usb_phy_roothub_alloc() 95 for (i = 0; i < num_phys; i++) { in usb_phy_roothub_alloc() 117 int num_phys; in usb_phy_roothub_alloc_usb3_phy() local 122 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in usb_phy_roothub_alloc_usb3_phy() 124 if (num_phys <= 0) in usb_phy_roothub_alloc_usb3_phy()
|
| /drivers/phy/allwinner/ |
| A D | phy-sun4i-usb.c | 100 int num_phys; member 904 .num_phys = 1, 911 .num_phys = 3, 918 .num_phys = 2, 925 .num_phys = 3, 933 .num_phys = 3, 940 .num_phys = 2, 948 .num_phys = 2, 956 .num_phys = 3, 964 .num_phys = 4, [all …]
|
| /drivers/usb/mtu3/ |
| A D | mtu3_plat.c | 80 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_init() 98 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_exit() 109 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_power_on() 127 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_power_off() 243 ssusb->num_phys = of_count_phandle_with_args(node, in get_ssusb_rscs() 245 if (ssusb->num_phys > 0) { in get_ssusb_rscs() 246 ssusb->phys = devm_kcalloc(dev, ssusb->num_phys, in get_ssusb_rscs() 251 ssusb->num_phys = 0; in get_ssusb_rscs() 254 for (i = 0; i < ssusb->num_phys; i++) { in get_ssusb_rscs()
|
| /drivers/scsi/mpi3mr/ |
| A D | mpi3mr_transport.c | 608 mr_sas_port->num_phys--; in mpi3mr_delete_sas_phy() 640 mr_sas_port->num_phys++; in mpi3mr_add_sas_phy() 1216 num_phys = sas_io_unit_pg0->num_phys; in mpi3mr_sas_host_add() 1227 mrioc->sas_hba.num_phys = num_phys; in mpi3mr_sas_host_add() 1382 mr_sas_node->num_phys); in mpi3mr_sas_port_add() 1397 mr_sas_port->num_phys++; in mpi3mr_sas_port_add() 1717 (mrioc->sas_hba.num_phys * in mpi3mr_refresh_sas_ports() 2103 sas_expander->num_phys = expander_pg0.num_phys; in mpi3mr_expander_add() 3008 (mrioc->sas_hba.num_phys * in mpi3mr_transport_phy_enable() 3050 (mrioc->sas_hba.num_phys * in mpi3mr_transport_phy_enable() [all …]
|
| /drivers/message/fusion/ |
| A D | mptsas.c | 873 if (port_details->num_phys < 2) in mptsas_setup_wide_ports() 882 port_details->num_phys--; 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() 948 port_details->num_phys = in mptsas_setup_wide_ports() 961 port_details->num_phys++; in mptsas_setup_wide_ports() 1786 for (i = 0; i < p->num_phys; i++) { in mptsas_target_alloc() 1845 for (i = 0; i < p->num_phys; i++) { in mptsas_target_destroy() 3554 if (buffer.num_phys) { in mptsas_expander_delete() 3687 port_info->num_phys = buffer.num_phys; in mptsas_expander_add() [all …]
|
| A 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/ |
| A 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/ |
| A D | ohci-exynos.c | 41 int phy_number, num_phys; in exynos_ohci_get_phy() local 45 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ohci_get_phy() 47 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ohci_get_phy() 53 if (num_phys > 0) in exynos_ohci_get_phy()
|
| A D | ehci-exynos.c | 52 int phy_number, num_phys; in exynos_ehci_get_phy() local 56 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ehci_get_phy() 58 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ehci_get_phy() 64 if (num_phys > 0) in exynos_ehci_get_phy()
|
| /drivers/scsi/mpt3sas/ |
| A D | mpt3sas_transport.c | 536 mpt3sas_port->num_phys--; in _transport_delete_phy() 558 mpt3sas_port->num_phys++; in _transport_add_phy() 655 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 736 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_add() 744 mpt3sas_port->num_phys++; in mpt3sas_transport_port_add() 760 if (!mpt3sas_port->num_phys) { in mpt3sas_transport_port_add() 818 if (sas_node->handle <= ioc->sas_hba.num_phys) in mpt3sas_transport_port_add() 924 if (sas_node->handle <= ioc->sas_hba.num_phys && in mpt3sas_transport_port_remove() 979 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_remove() 1856 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _transport_phy_enable() [all …]
|
| A D | mpt3sas_scsih.c | 6428 u8 num_phys; in _scsih_sas_port_refresh() local 6435 if (!num_phys) { in _scsih_sas_port_refresh() 6446 ioc->sas_hba.num_phys = num_phys; in _scsih_sas_port_refresh() 6718 u8 num_phys, port_id; in _scsih_sas_host_add() local 6722 if (!num_phys) { in _scsih_sas_host_add() 6737 ioc->sas_hba.num_phys = num_phys; in _scsih_sas_host_add() 6862 ioc->sas_hba.num_phys); in _scsih_sas_host_add() 7607 if (!ioc->sas_hba.num_phys) in _scsih_sas_topology_change_event() 8841 !ioc->sas_hba.num_phys) { in _scsih_sas_discovery_event() 11336 if (ioc->sas_hba.num_phys) { in scsih_remove() [all …]
|
| /drivers/usb/dwc3/ |
| A D | dwc3-meson-g12a.c | 147 int num_phys; member 195 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 208 .num_phys = ARRAY_SIZE(meson_gxm_phy_names), 220 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 232 .num_phys = ARRAY_SIZE(meson_g12a_phy_names), 243 .num_phys = ARRAY_SIZE(meson_a1_phy_names), 328 for (i = 0; i < priv->drvdata->num_phys; ++i) { in dwc3_meson_g12a_usb2_init() 449 for (i = 0 ; i < priv->drvdata->num_phys ; ++i) { in dwc3_meson_g12a_get_phys() 647 for (i = 0; i < priv->drvdata->num_phys; i++) { in dwc3_meson_g12a_setup_regmaps()
|
| /drivers/net/ethernet/broadcom/bnx2x/ |
| A 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/ |
| A D | mpi30_cnfg.h | 273 u8 num_phys; member 416 u8 num_phys; member 1013 u8 num_phys; member 1600 u8 num_phys; member 1641 u8 num_phys; member 1701 u8 num_phys; member 1755 u8 num_phys; member 1790 u8 num_phys; member 1830 u8 num_phys; member 2041 u8 num_phys; member [all …]
|
| /drivers/phy/rockchip/ |
| A D | phy-rockchip-naneng-combphy.c | 143 unsigned int num_phys; member 364 for (id = 0; id < phy_cfg->num_phys; id++) { in rockchip_combphy_probe() 539 .num_phys = 1, 743 .num_phys = 3, 1004 .num_phys = 2, 1189 .num_phys = 3,
|
| /drivers/usb/gadget/udc/ |
| A D | tegra-xudc.c | 549 unsigned int num_phys; member 789 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_get_phy_index() 2120 for (i = 0; i < xudc->soc->num_phys; i++) in tegra_xudc_gadget_start() 2145 for (i = 0; i < xudc->soc->num_phys; i++) in tegra_xudc_gadget_stop() 3518 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_get() 3575 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_get() 3588 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_exit() 3644 .num_phys = 4, 3658 .num_phys = 4, 3672 .num_phys = 4, [all …]
|
| /drivers/scsi/aic94xx/ |
| A D | aic94xx_hwi.h | 103 int num_phys; /* ENABLEABLE */ member 174 int num_phys; member
|