/Linux-v5.4/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 | 369 for (i = 0; i < ha->num_phys; i++) { in sas_prep_resume_ha() 382 for (i = 0; i < ha->num_phys; i++) { in phys_suspended() 408 for (i = 0; i < ha->num_phys; i++) { in sas_resume_ha() 431 for (i = 0; i < ha->num_phys; i++) { in sas_suspend_ha()
|
/Linux-v5.4/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() 159 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()
|
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-s5pv210-usb2.c | 181 .num_phys = ARRAY_SIZE(s5pv210_phys),
|
/Linux-v5.4/drivers/usb/mtu3/ |
D | mtu3_plat.c | 53 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() 247 ssusb->num_phys = of_count_phandle_with_args(node, in get_ssusb_rscs() 249 if (ssusb->num_phys > 0) { in get_ssusb_rscs() 250 ssusb->phys = devm_kcalloc(dev, ssusb->num_phys, in get_ssusb_rscs() 255 ssusb->num_phys = 0; in get_ssusb_rscs() 258 for (i = 0; i < ssusb->num_phys; i++) { in get_ssusb_rscs()
|
/Linux-v5.4/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 113 int num_phys; member 649 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() 863 .num_phys = 3, 872 .num_phys = 2, 881 .num_phys = 3, 890 .num_phys = 3, 899 .num_phys = 2, 908 .num_phys = 2, 917 .num_phys = 3, [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/message/fusion/ |
D | mptsas.c | 388 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() 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 = 1; in mptsas_setup_wide_ports() 900 if (i == port_info->num_phys - 1) in mptsas_setup_wide_ports() [all …]
|
D | mptsas.h | 150 u16 num_phys; /* number of phys belong to this port */ member 175 u16 num_phys; /* number of phys */ member
|
/Linux-v5.4/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 448 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_init() 474 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_phy_exit() 526 bdc->num_phys = of_count_phandle_with_args(dev->of_node, in bdc_probe() 528 if (bdc->num_phys > 0) { in bdc_probe() 529 bdc->phys = devm_kcalloc(dev, bdc->num_phys, in bdc_probe() 534 bdc->num_phys = 0; in bdc_probe() 536 dev_info(dev, "Using %d phy(s)\n", bdc->num_phys); in bdc_probe() 538 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) { in bdc_probe()
|
/Linux-v5.4/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-mtk.h | 148 int num_phys; member
|
/Linux-v5.4/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
|
/Linux-v5.4/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 475 mpt3sas_port->num_phys--; in _transport_delete_phy() 497 mpt3sas_port->num_phys++; in _transport_add_phy() 559 if (mpt3sas_port->num_phys == 1) in _transport_del_phy_from_an_existing_port() 583 for (i = 0; i < sas_node->num_phys; i++) { in _transport_sanity_check() 652 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_add() 658 mpt3sas_port->num_phys++; in mpt3sas_transport_port_add() 661 if (!mpt3sas_port->num_phys) { in mpt3sas_transport_port_add() 792 for (i = 0; i < sas_node->num_phys; i++) { in mpt3sas_transport_port_remove() 1576 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _transport_phy_enable() 1602 for (i = 0, discovery_active = 0; i < ioc->sas_hba.num_phys ; i++) { in _transport_phy_enable() [all …]
|
/Linux-v5.4/Documentation/driver-api/phy/ |
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-v5.4/arch/arm/mach-omap2/ |
D | usb.h | 66 extern int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys);
|
/Linux-v5.4/include/scsi/ |
D | libsas.h | 125 u8 num_phys; member 271 int num_phys; member 389 int num_phys; /* must be set, gt 0, static */ member
|
/Linux-v5.4/drivers/scsi/aic94xx/ |
D | aic94xx_hwi.h | 103 int num_phys; /* ENABLEABLE */ member 174 int num_phys; member
|
D | aic94xx_scb.c | 167 if (port->num_phys > 0 && in asd_form_port() 177 if (port->num_phys == 0 && free_port == NULL) { in asd_form_port() 192 port->num_phys++; in asd_form_port() 210 port->num_phys--; in asd_deform_port()
|