Home
last modified time | relevance | path

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

123

/linux/drivers/scsi/libsas/
H A Dsas_port.c59 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 Dsas_host_smp.c25 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 Dsas_phy.c122 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()
H A Dsas_init.c366 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()
429 for (i = 0; i < ha->num_phys; i++) { in _sas_resume_ha()
473 for (i = 0; i < ha->num_phys; i++) { in sas_suspend_ha()
/linux/drivers/phy/samsung/
H A Dphy-exynos-mipi-video.c40 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()
H A Dphy-samsung-usb2.c98 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()
H A Dphy-samsung-usb2.h60 unsigned int num_phys; member
H A Dphy-exynos4x12-usb2.c365 .num_phys = 1,
372 .num_phys = EXYNOS4x12_NUM_PHYS,
H A Dphy-exynos5250-usb2.c408 .num_phys = ARRAY_SIZE(exynos5250_phys),
415 .num_phys = ARRAY_SIZE(exynos5420_phys),
H A Dphy-s5pv210-usb2.c185 .num_phys = ARRAY_SIZE(s5pv210_phys),
/linux/drivers/usb/core/
H A Dphy.c76 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()
/linux/drivers/usb/mtu3/
H A Dmtu3_plat.c80 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()
/linux/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c147 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/Documentation/translations/zh_CN/scsi/
H A Dlibsas.rst170 num_phys
173 等于 num_phys。因此,结构中不再单独使用 num_ports 字段,
174 而仅使用 num_phys
238 my_ha->sas_ha.num_phys = MAX_PHYS;
/linux/drivers/message/fusion/
H A Dmptsas.h151 u16 num_phys; /* number of phys belong to this port */ member
176 u16 num_phys; /* number of phys */ member
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.h83 #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 Dsamsung-usb2.rst45 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 Dphy-rockchip-naneng-combphy.c193 unsigned int num_phys; member
414 for (id = 0; id < phy_cfg->num_phys; id++) { in rockchip_combphy_probe()
589 .num_phys = 1,
744 .num_phys = 1,
959 .num_phys = 3,
1229 .num_phys = 2,
1415 .num_phys = 3,
/linux/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h103 int num_phys; /* ENABLEABLE */ member
174 int num_phys; member
H A Daic94xx_scb.c168 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()
H A Daic94xx_sds.c538 u8 num_phys; /* number of PHYs in the PCI function */ member
819 asd_ha->hw_prof.num_phys = en_phys; in asd_ms_get_phy_params()
821 asd_ha->hw_prof.max_phys, asd_ha->hw_prof.num_phys); in asd_ms_get_phy_params()
927 for (i = 0; i < ps->num_phys; i++) { in asd_process_ctrla_phy_settings()
982 dflt_ps.num_phys = 8; in asd_process_ctrl_a_user()
/linux/drivers/usb/gadget/udc/
H A Dtegra-xudc.c550 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()
3499 xudc->utmi_phy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, in tegra_xudc_phy_get()
3504 xudc->usb3_phy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, in tegra_xudc_phy_get()
3509 xudc->usbphy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, in tegra_xudc_phy_get()
3516 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_get()
3548 for (j = 0; j < xudc->soc->num_phys; j++) { in tegra_xudc_phy_get()
3573 for (i = 0; i < xudc->soc->num_phys; i++) { in tegra_xudc_phy_get()
[all …]
/linux/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie-msm8996.c142 int num_phys; member
261 .num_phys = 3,
749 expected_phys = cfg->num_phys; in qmp_pcie_msm8996_probe()
/linux/drivers/usb/host/
H A Dxhci-tegra.c300 unsigned int num_phys; member
898 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_phy_enable()
925 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_phy_disable()
1780 tegra->num_phys += tegra->soc->phy_types[i].num; in tegra_xusb_probe()
1783 tegra->phys = devm_kcalloc(&pdev->dev, tegra->num_phys, in tegra_xusb_probe()
2187 for (i = 0; i < tegra->num_phys; i++) { in tegra_xhci_disable_phy_wake()
2204 for (i = 0; i < tegra->num_phys; i++) { in tegra_xhci_disable_phy_sleepwalk()
2278 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_enter_elpg()
2329 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_exit_elpg()
2372 for (i = 0; i < tegra->num_phys; i++) { in tegra_xusb_exit_elpg()
/linux/include/scsi/
H A Dsas.h384 u8 num_phys; member
605 u8 num_phys; member

123