/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-naneng-combphy.c | 128 unsigned int num_phys; member in struct:rockchip_combphy_cfg 346 for (id = 0; id < phy_cfg->num_phys; id++) { 577 .num_phys = 3, 763 .num_phys = 3,
|
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 4856 sha->num_phys = hisi_hba->n_phy;
|
H A D | hisi_sas_main.c | 2535 sha->num_phys = hisi_hba->n_phy;
|
/linux-master/drivers/scsi/libsas/ |
H A D | sas_expander.c | 392 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...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | tegra-xudc.c | 549 unsigned int num_phys; member in struct:tegra_xudc_soc 789 for (i = 0; i < xudc->soc->num_phys; i++) { 2116 for (i = 0; i < xudc->soc->num_phys; i++) 2141 for (i = 0; i < xudc->soc->num_phys; i++) 3497 xudc->utmi_phy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, 3502 xudc->usb3_phy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, 3507 xudc->usbphy = devm_kcalloc(xudc->dev, xudc->soc->num_phys, 3514 for (i = 0; i < xudc->soc->num_phys; i++) { 3546 for (j = 0; j < xudc->soc->num_phys; j++) { 3571 for (i = 0; i < xudc->soc->num_phys; [all...] |
/linux-master/drivers/usb/core/ |
H A D | phy.c | 76 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/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_main.c | 11192 switch (bp->link_params.num_phys) { 11291 switch (bp->link_params.num_phys) {
|
H A D | bnx2x_link.c | 289 if (params->num_phys == 3) { 1448 for (phy_index = INT_PHY; phy_index < params->num_phys; 3195 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { 3212 for (phy_index = 0; phy_index < params->num_phys; phy_index++) { 3426 for (phy_index = INT_PHY; phy_index < params->num_phys; 6225 if ((params->num_phys == MAX_PHYS) && 6350 CHIP_IS_E2(bp) && params->num_phys == 2) { 6491 switch (params->num_phys) { 6501 for (phy_index = EXT_PHY1; phy_index < params->num_phys; 6573 for (phy_index = EXT_PHY1; phy_index < params->num_phys; [all...] |
H A D | bnx2x_cmn.c | 4817 if (bp->link_params.num_phys <= 1)
|
/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 530 if ((handle <= ioc->sas_hba.num_phys) && 4676 if (expander_handle < ioc->sas_hba.num_phys) { 5968 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); 5984 for (i = 0; i < ioc->sas_hba.num_phys; i++) { 6146 sz = struct_size(sas_iounit_pg0, PhyData, ioc->sas_hba.num_phys); 6160 for (i = 0; i < ioc->sas_hba.num_phys; i++) { 6327 for (offset = 0; offset < ioc->sas_hba.num_phys; offset++) { 6418 u8 num_phys; local 6424 mpt3sas_config_get_number_hba_phys(ioc, &num_phys); 6425 if (!num_phys) { 6708 u8 num_phys, port_id; local [all...] |
H A D | mpt3sas_base.h | 750 * @num_phys: number of phys belonging to this port 759 u8 num_phys; member in struct:_sas_port 796 * @num_phys: number phys belonging to this sas_host/expander 812 u8 num_phys; member in struct:_sas_node 1857 u8 *num_phys);
|
H A D | mpt3sas_base.c | 4889 u8 num_phys = 0; local 4892 mpt3sas_config_get_number_hba_phys(ioc, &num_phys); 4893 if (!num_phys) 4896 sz = struct_size(sas_iounit_pg1, PhyData, num_phys);
|
H A D | mpt3sas_transport.c | 540 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...] |
H A D | mpt3sas_config.c | 1379 * @num_phys: pointer returned with the number of phys 1385 mpt3sas_config_get_number_hba_phys(struct MPT3SAS_ADAPTER *ioc, u8 *num_phys) argument 1393 *num_phys = 0; 1415 *num_phys = config_page.NumPhys;
|
/linux-master/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_os.c | 1943 if (!mrioc->sas_hba.num_phys) 5313 if (mrioc->sas_hba.num_phys) { 5316 mrioc->sas_hba.num_phys = 0;
|
H A D | mpi3mr_transport.c | 604 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...] |
H A D | mpi3mr.h | 502 * @num_phys: Number of phys associated with port 514 u8 num_phys; member in struct:mpi3mr_sas_port 553 * @num_phys: Number phys belonging to sas_node 569 u8 num_phys; member in struct:mpi3mr_sas_node
|
/linux-master/drivers/scsi/isci/ |
H A D | init.c | 262 sas_ha->num_phys = SCI_MAX_PHYS;
|
/linux-master/drivers/phy/samsung/ |
H A D | phy-samsung-usb2.c | 98 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 D | phy-exynos-mipi-video.c | 40 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++) {
|
/linux-master/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-pcie-msm8996.c | 142 int num_phys; member in struct:qmp_phy_cfg 261 .num_phys = 3, 750 expected_phys = cfg->num_phys;
|
/linux-master/drivers/phy/allwinner/ |
H A D | phy-sun4i-usb.c | 101 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/scsi/mpi3mr/mpi/ |
H A D | mpi30_ioc.h | 489 u8 num_phys; member in struct:mpi3_event_data_sas_topology_change_list
|
/linux-master/drivers/usb/mtu3/ |
H A D | mtu3_plat.c | 80 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/include/scsi/ |
H A D | libsas.h | 115 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
|