Home
last modified time | relevance | path

Searched refs:num_phys (Results 1 - 25 of 122) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/scsi/libsas/
H A Dsas_port.c59 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...]
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/phy/samsung/
H A Dphy-exynos-mipi-video.c41 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()
/kernel/linux/linux-6.6/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,
218 int num_phys; member
281 if (WARN_ON(args->args[0] >= state->num_phys)) in exynos_mipi_video_phy_xlate()
319 state->num_phys = phy_dev->num_phys; in exynos_mipi_video_phy_probe()
324 for (i = 0; i < state->num_phys; i++) { in exynos_mipi_video_phy_probe()
/kernel/linux/linux-6.6/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c101 int num_phys; member
690 if (args->args[0] >= data->cfg->num_phys) in sun4i_usb_phy_xlate()
783 for (i = 0; i < data->cfg->num_phys; i++) { in sun4i_usb_phy_probe()
905 .num_phys = 1,
912 .num_phys = 3,
919 .num_phys = 2,
926 .num_phys = 3,
934 .num_phys = 3,
941 .num_phys = 2,
949 .num_phys
[all...]
/kernel/linux/linux-5.10/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c114 int num_phys; member
651 if (args->args[0] >= data->cfg->num_phys) in sun4i_usb_phy_xlate()
748 for (i = 0; i < data->cfg->num_phys; i++) { in sun4i_usb_phy_probe()
865 .num_phys = 3,
874 .num_phys = 2,
883 .num_phys = 3,
892 .num_phys = 3,
901 .num_phys = 2,
910 .num_phys = 2,
919 .num_phys
[all...]
/kernel/linux/linux-5.10/drivers/usb/mtu3/
H A Dmtu3_plat.c53 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_init()
71 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_exit()
82 for (i = 0; i < ssusb->num_phys; i++) { in ssusb_phy_power_on()
100 for (i = 0; i < ssusb->num_phys; i++) in ssusb_phy_power_off()
246 ssusb->num_phys = of_count_phandle_with_args(node, in get_ssusb_rscs()
248 if (ssusb->num_phys > 0) { in get_ssusb_rscs()
249 ssusb->phys = devm_kcalloc(dev, ssusb->num_phys, in get_ssusb_rscs()
254 ssusb->num_phys = 0; in get_ssusb_rscs()
257 for (i = 0; i < ssusb->num_phys; i++) { in get_ssusb_rscs()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dphy.c52 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()
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dphy.c52 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()
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c604 mr_sas_port->num_phys--; in mpi3mr_delete_sas_phy()
631 mr_sas_port->num_phys++; in mpi3mr_add_sas_phy()
731 if ((mr_sas_port->num_phys == 1) && in mpi3mr_del_phy_from_an_existing_port()
761 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_sanity_check()
1121 (mrioc->sas_hba.num_phys * in mpi3mr_sas_host_refresh()
1133 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh()
1177 u16 sz, num_phys = 1, port_id, ioc_status; in mpi3mr_sas_host_add() local
1185 (num_phys * sizeof(struct mpi3_sas_io_unit0_phy_data)); in mpi3mr_sas_host_add()
1195 num_phys = sas_io_unit_pg0->num_phys; in mpi3mr_sas_host_add()
[all...]
/kernel/linux/linux-5.10/drivers/message/fusion/
H A Dmptsas.c388 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()
463 dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "%s: [%p]: num_phys=%02d " in mptsas_port_delete()
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 in mptsas_setup_wide_ports()
[all...]
/kernel/linux/linux-6.6/drivers/message/fusion/
H A Dmptsas.c413 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()
490 dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "%s: [%p]: num_phys=%02d " in mptsas_port_delete()
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 in mptsas_setup_wide_ports()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c452 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()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c452 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-exynos.c54 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()
H A Dohci-exynos.c43 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()
/kernel/linux/linux-6.6/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
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dehci-exynos.c53 int phy_number, num_phys; in exynos_ehci_get_phy() local
57 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ehci_get_phy()
59 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ehci_get_phy()
65 if (num_phys > 0) in exynos_ehci_get_phy()
H A Dohci-exynos.c42 int phy_number, num_phys; in exynos_ohci_get_phy() local
46 num_phys = of_count_phandle_with_args(dev->of_node, "phys", in exynos_ohci_get_phy()
48 for (phy_number = 0; phy_number < num_phys; phy_number++) { in exynos_ohci_get_phy()
54 if (num_phys > 0) in exynos_ohci_get_phy()
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c540 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...]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c148 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()

Completed in 25 milliseconds

12345