| /linux/drivers/scsi/libsas/ |
| H A D | sas_port.c | 59 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port() 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() 138 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port() 148 if (i == sas_ha->num_phys) { in sas_form_port() 149 for (i = 0; i < sas_ha->num_phys; i++) { 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() [all …]
|
| H 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()
|
| H A D | sas_expander.c | 422 if (0 <= single && single < ex->num_phys) { in sas_ex_phy_discover() 427 for (i = 0; i < ex->num_phys; i++) { in sas_ex_phy_discover() 445 ex->ex_phy = kzalloc_objs(*ex->ex_phy, ex->num_phys); in sas_expander_discover() 503 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS); in sas_ex_general() 639 for (i = 0; i < ex->num_phys; i++) { in sas_ex_disable_port() 764 for (i = 0; i < parent_ex->num_phys; i++) { in sas_ex_get_linkrate() 882 for (i = 0; i < parent->ex_dev.num_phys; i++) { in sas_ex_join_wide_port() 1077 for (i = 0; i < ex->num_phys; i++) { in sas_find_sub_addr() 1136 int i = 0, end = ex->num_phys; in sas_ex_discover_devices() 1180 for (i = 0; i < ex->num_phys; i++) { in sas_check_ex_subtractive_boundary() [all …]
|
| H A D | sas_init.c | 366 for (i = 0; i < ha->num_phys; i++) { in sas_prep_resume_ha() 379 for (i = 0; i < ha->num_phys; i++) { in phys_suspended() 393 for (i = 0; i < ha->num_phys; i++) { in sas_resume_insert_broadcast_ha() 446 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()
|
| H A D | sas_phy.c | 122 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_phys() 174 for (i = 0 ; i < sas_ha->num_phys ; i++) { in sas_unregister_phys()
|
| /linux/drivers/phy/samsung/ |
| H 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; in exynos_mipi_video_phy_probe() [all...] |
| H 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_flex(dev, *drv, instances, cfg->num_phys); in samsung_usb2_phy_probe() 219 for (i = 0; i < drv->cfg->num_phys; i++) { in samsung_usb2_phy_probe()
|
| H A D | phy-samsung-usb2.h | 60 unsigned int num_phys; member
|
| H A D | phy-exynos4x12-usb2.c | 365 .num_phys = 1, 372 .num_phys = EXYNOS4x12_NUM_PHYS,
|
| H A D | phy-exynos5250-usb2.c | 408 .num_phys = ARRAY_SIZE(exynos5250_phys), 415 .num_phys = ARRAY_SIZE(exynos5420_phys),
|
| /linux/drivers/usb/core/ |
| H 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, usb2_phy_index; 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()
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 610 mr_sas_port->num_phys--; in mpi3mr_delete_sas_phy() 642 mr_sas_port->num_phys++; in mpi3mr_add_sas_phy() 745 if ((mr_sas_port->num_phys == 1) && in mpi3mr_del_phy_from_an_existing_port() 775 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_sanity_check() 1093 if (phy_number >= mr_sas_node->num_phys) { in mpi3mr_update_links() 1095 ioc_err(mrioc, "%s: phy_number(%d) >= num_phys(%d)\n", in mpi3mr_update_links() 1096 __func__, phy_number, mr_sas_node->num_phys); in mpi3mr_update_links() 1150 (mrioc->sas_hba.num_phys * in mpi3mr_sas_host_refresh() 1162 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh() 1206 u16 sz, num_phys in mpi3mr_sas_host_add() 1199 u16 sz, num_phys = 1, port_id, ioc_status; mpi3mr_sas_host_add() local [all...] |
| /linux/drivers/message/fusion/ |
| H A 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() 913 port_details->num_phys = 1; in mptsas_setup_wide_ports() 925 if (i == port_info->num_phys - 1) in mptsas_setup_wide_ports() [all …]
|
| H A D | mptsas.h | 151 u16 num_phys; /* number of phys belong to this port */ member 176 u16 num_phys; /* number of phys */ member
|
| /linux/drivers/usb/gadget/udc/bdc/ |
| H A D | bdc_core.c | 451 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init() 477 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_exit() 511 bdc->num_phys = of_count_phandle_with_args(dev->of_node, in bdc_probe() 513 if (bdc->num_phys > 0) { in bdc_probe() 514 bdc->phys = devm_kzalloc_objs(dev, struct phy *, bdc->num_phys); in bdc_probe() 518 bdc->num_phys = 0; in bdc_probe() 520 dev_info(dev, "Using %d phy(s)\n", bdc->num_phys); in bdc_probe() 522 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_probe()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-pcie-multiphy.c | 135 u32 num_phys; 265 .num_phys = ARRAY_SIZE(glymur_qmp_gen5x8_mode_x8_cfgs), in qmp_pcie_pd_power_off() 269 .num_phys = ARRAY_SIZE(glymur_qmp_gen5x8_mode_x4x4_cfgs), in qmp_pcie_init() 907 .num_phys = ARRAY_SIZE(nord_qmp_gen5x16_mode_x16_cfgs), 911 .num_phys = ARRAY_SIZE(nord_qmp_gen5x16_mode_x8x8_cfgs), 915 .num_phys = ARRAY_SIZE(nord_qmp_gen5x16_mode_x8x4x4_cfgs), 919 .num_phys = ARRAY_SIZE(nord_qmp_gen5x16_mode_x8x4x2x2_cfgs), 1423 if (idx < (unsigned int)qmp_data->mode_cfg->num_phys) 1495 qmp = devm_kzalloc_objs(dev, *qmp, qmp_data->mode_cfg->num_phys); 1499 phys = devm_kzalloc_objs(dev, *phys, qmp_data->mode_cfg->num_phys); 84 u32 num_phys; global() member [all...] |
| /linux/drivers/usb/dwc3/ |
| H 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()
|
| /linux/drivers/scsi/mpt3sas/ |
| H A D | mpt3sas_transport.c | 539 mpt3sas_port->num_phys--; in _transport_delete_phy() 561 mpt3sas_port->num_phys++; in _transport_add_phy() 633 if (mpt3sas_port->num_phys == 1 && !ioc->shost_recovery) in mpt3sas_transport_del_phy_from_an_existing_port() 658 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 738 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_add() 746 mpt3sas_port->num_phys++; in mpt3sas_transport_port_add() 747 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add() 762 if (!mpt3sas_port->num_phys) { in mpt3sas_transport_port_add() 809 if (sas_node->handle <= ioc->sas_hba.num_phys) { in mpt3sas_transport_port_add() 820 if (sas_node->handle <= ioc->sas_hba.num_phys) in mpt3sas_transport_port_add() [all …]
|
| /linux/Documentation/translations/zh_CN/scsi/ |
| H A D | libsas.rst | 170 num_phys 173 等于 num_phys。因此,结构中不再单独使用 num_ports 字段, 174 而仅使用 num_phys。 238 my_ha->sas_ha.num_phys = MAX_PHYS;
|
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H 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
|
| /linux/Documentation/driver-api/phy/ |
| H A D | samsung-usb2.rst | 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/drivers/phy/rockchip/ |
| H A D | phy-rockchip-naneng-combphy.c | 197 unsigned int num_phys; 430 for (id = 0; id < phy_cfg->num_phys; id++) { in rockchip_combphy_probe() 672 .num_phys = 1, in rk3562_combphy_cfg() 814 .num_phys = 1, in rk3568_combphy_cfg() 1010 .num_phys = 3, in rk3576_combphy_cfg() 1233 .num_phys = 2, in rk3588_combphy_cfg() 1405 .num_phys = 3, 194 unsigned int num_phys; global() member
|
| /linux/include/scsi/ |
| H A D | libsas.h | 111 u8 num_phys; member 264 int num_phys; member 375 int num_phys; /* must be set, gt 0, static */ member
|
| /linux/drivers/scsi/aic94xx/ |
| H A D | aic94xx_hwi.h | 103 int num_phys; /* ENABLEABLE */ member 174 int num_phys; member
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | tegra-xudc.c | 550 unsigned int num_phys; member 794 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_get_phy_index() 2118 for (i = 0; i < xudc->soc->num_phys; i++) in tegra_xudc_gadget_start() 2143 for (i = 0; i < xudc->soc->num_phys; i++) in tegra_xudc_gadget_stop() 3501 xudc->soc->num_phys); in tegra_xudc_phy_get() 3506 xudc->soc->num_phys); in tegra_xudc_phy_get() 3511 xudc->soc->num_phys); in tegra_xudc_phy_get() 3517 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_get() 3549 for (j = 0; j < xudc->soc->num_phys; j++) { in tegra_xudc_phy_get() 3574 for (i = 0; i < xudc->soc->num_phys; in tegra_xudc_phy_get() [all...] |