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

123

/linux-master/drivers/scsi/libsas/
H A Dsas_port.c59 for (i = 0; i < dev->ex_dev.num_phys; i++) {
76 port->num_phys++;
127 phy->port->num_phys);
134 for (i = 0; i < sas_ha->num_phys; i++) {
138 phy_is_wideport_member(port, phy) && port->num_phys > 0) {
148 if (i == sas_ha->num_phys) {
149 for (i = 0; i < sas_ha->num_phys; i++) {
153 && port->num_phys == 0) {
162 if (i >= sas_ha->num_phys) {
184 port_dev->pathways = port->num_phys;
[all...]
H A Dsas_host_smp.c25 if (phy_id >= sas_ha->num_phys) {
144 if (phy_id >= sas_ha->num_phys) {
189 if (phy_id >= sas_ha->num_phys) {
264 resp_data[9] = sas_ha->num_phys;
H A Dsas_init.c365 for (i = 0; i < ha->num_phys; i++) {
378 for (i = 0; i < ha->num_phys; i++) {
392 for (i = 0; i < ha->num_phys; i++) {
428 for (i = 0; i < ha->num_phys; i++) {
472 for (i = 0; i < ha->num_phys; i++) {
H A Dsas_expander.c392 if (0 <= single && single < ex->num_phys) {
397 for (i = 0; i < ex->num_phys; i++) {
415 ex->ex_phy = kcalloc(ex->num_phys, sizeof(*ex->ex_phy), GFP_KERNEL);
473 dev->ex_dev.num_phys = min(rg->num_phys, (u8)MAX_EXPANDER_PHYS);
609 for (i = 0; i < ex->num_phys; i++) {
734 for (i = 0; i < parent_ex->num_phys; i++) {
852 for (i = 0; i < parent->ex_dev.num_phys; i++) {
1049 for (i = 0; i < ex->num_phys; i++) {
1108 int i = 0, end = ex->num_phys;
[all...]
H A Dsas_phy.c121 for (i = 0; i < sas_ha->num_phys; i++) {
/linux-master/drivers/usb/core/
H A Dphy.c76 int i, num_phys, err; local
81 num_phys = of_count_phandle_with_args(dev->of_node, "phys",
83 if (num_phys <= 0)
95 for (i = 0; i < num_phys; i++) {
117 int num_phys; local
122 num_phys = of_count_phandle_with_args(dev->of_node, "phys",
124 if (num_phys <= 0)
/linux-master/drivers/phy/samsung/
H A Dphy-exynos-mipi-video.c40 int num_phys; member in struct:mipi_phy_device_desc
57 .num_phys = 4,
102 .num_phys = 5,
165 .num_phys = 5,
218 int num_phys; member in struct:exynos_mipi_video_phy
281 if (WARN_ON(args->args[0] >= state->num_phys))
319 state->num_phys = phy_dev->num_phys;
324 for (i = 0; i < state->num_phys; i++) {
H A Dphy-samsung-usb2.h60 unsigned int num_phys; member in struct:samsung_usb2_phy_config
H A Dphy-samsung-usb2.c98 if (WARN_ON(args->args[0] >= drv->cfg->num_phys))
160 drv = devm_kzalloc(dev, struct_size(drv, instances, cfg->num_phys),
220 for (i = 0; i < drv->cfg->num_phys; i++) {
H A Dphy-exynos4x12-usb2.c365 .num_phys = 1,
372 .num_phys = EXYNOS4x12_NUM_PHYS,
H A Dphy-s5pv210-usb2.c185 .num_phys = ARRAY_SIZE(s5pv210_phys),
H A Dphy-exynos5250-usb2.c408 .num_phys = ARRAY_SIZE(exynos5250_phys),
415 .num_phys = ARRAY_SIZE(exynos5420_phys),
/linux-master/drivers/message/fusion/
H A Dmptsas.h151 u16 num_phys; /* number of phys belong to this port */ member in struct:mptsas_portinfo_details
176 u16 num_phys; /* number of phys */ member in struct:mptsas_portinfo
H A Dmptsas.c413 for (i = 0; i < port_info->num_phys; i++)
445 for (i = 0; i < port_info->num_phys; i++)
490 dsaswideprintk(ioc, printk(MYIOC_s_DEBUG_FMT "%s: [%p]: num_phys=%02d "
492 port_details->num_phys, (unsigned long long)
495 for (i = 0; i < port_info->num_phys; i++, phy_info++) {
867 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) {
873 if (port_details->num_phys < 2)
882 port_details->num_phys--;
899 for (i = 0 ; i < port_info->num_phys ; i++, phy_info++) {
914 port_details->num_phys
[all...]
/linux-master/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c101 int num_phys; member in struct:sun4i_usb_phy_cfg
690 if (args->args[0] >= data->cfg->num_phys)
783 for (i = 0; i < data->cfg->num_phys; i++) {
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...]
/linux-master/drivers/usb/host/
H A Dohci-exynos.c42 int phy_number, num_phys; local
46 num_phys = of_count_phandle_with_args(dev->of_node, "phys",
48 for (phy_number = 0; phy_number < num_phys; phy_number++) {
54 if (num_phys > 0)
H A Dehci-exynos.c53 int phy_number, num_phys; local
57 num_phys = of_count_phandle_with_args(dev->of_node, "phys",
59 for (phy_number = 0; phy_number < num_phys; phy_number++) {
65 if (num_phys > 0)
/linux-master/drivers/usb/mtu3/
H A Dmtu3_plat.c80 for (i = 0; i < ssusb->num_phys; i++) {
98 for (i = 0; i < ssusb->num_phys; i++)
109 for (i = 0; i < ssusb->num_phys; i++) {
127 for (i = 0; i < ssusb->num_phys; i++)
243 ssusb->num_phys = of_count_phandle_with_args(node,
245 if (ssusb->num_phys > 0) {
246 ssusb->phys = devm_kcalloc(dev, ssusb->num_phys,
251 ssusb->num_phys = 0;
254 for (i = 0; i < ssusb->num_phys; i++) {
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_transport.c604 mr_sas_port->num_phys--;
631 mr_sas_port->num_phys++;
731 if ((mr_sas_port->num_phys == 1) &&
761 for (i = 0; i < mr_sas_node->num_phys; i++) {
1121 (mrioc->sas_hba.num_phys *
1133 for (i = 0; i < mrioc->sas_hba.num_phys; i++) {
1177 u16 sz, num_phys = 1, port_id, ioc_status; local
1185 (num_phys * sizeof(struct mpi3_sas_io_unit0_phy_data));
1195 num_phys = sas_io_unit_pg0->num_phys;
[all...]
/linux-master/drivers/usb/gadget/udc/bdc/
H A Dbdc_core.c452 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) {
478 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) {
512 bdc->num_phys = of_count_phandle_with_args(dev->of_node,
514 if (bdc->num_phys > 0) {
515 bdc->phys = devm_kcalloc(dev, bdc->num_phys,
520 bdc->num_phys = 0;
522 dev_info(dev, "Using %d phy(s)\n", bdc->num_phys);
524 for (phy_num = 0; phy_num < bdc->num_phys; phy_num++) {
/linux-master/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 in struct:link_params
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_transport.c540 mpt3sas_port->num_phys--;
562 mpt3sas_port->num_phys++;
634 if (mpt3sas_port->num_phys == 1 && !ioc->shost_recovery)
659 for (i = 0; i < sas_node->num_phys; i++) {
740 for (i = 0; i < sas_node->num_phys; i++) {
748 mpt3sas_port->num_phys++;
749 if (sas_node->handle <= ioc->sas_hba.num_phys) {
764 if (!mpt3sas_port->num_phys) {
811 if (sas_node->handle <= ioc->sas_hba.num_phys) {
822 if (sas_node->handle <= ioc->sas_hba.num_phys)
[all...]
/linux-master/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c147 int num_phys; member in struct:dwc3_meson_g12a_drvdata
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) {
449 for (i = 0 ; i < priv->drvdata->num_phys ; ++i) {
647 for (i = 0; i < priv->drvdata->num_phys; i++) {
/linux-master/include/scsi/
H A Dlibsas.h115 u8 num_phys; member in struct:expander_device
260 int num_phys; member in struct:asd_sas_port
371 int num_phys; /* must be set, gt 0, static */ member in struct:sas_ha_struct
/linux-master/drivers/scsi/aic94xx/
H A Daic94xx_hwi.h103 int num_phys; /* ENABLEABLE */ member in struct:hw_profile
174 int num_phys; member in struct:asd_port

Completed in 439 milliseconds

123