Searched refs:num_phys (Results 1 - 25 of 63) sorted by last modified time

123

/linux-master/drivers/phy/rockchip/
H A Dphy-rockchip-naneng-combphy.c128 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 Dhisi_sas_v3_hw.c4856 sha->num_phys = hisi_hba->n_phy;
H A Dhisi_sas_main.c2535 sha->num_phys = hisi_hba->n_phy;
/linux-master/drivers/scsi/libsas/
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...]
/linux-master/drivers/usb/gadget/udc/
H A Dtegra-xudc.c549 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 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/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c11192 switch (bp->link_params.num_phys) {
11291 switch (bp->link_params.num_phys) {
H A Dbnx2x_link.c289 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 Dbnx2x_cmn.c4817 if (bp->link_params.num_phys <= 1)
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c530 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 Dmpt3sas_base.h750 * @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 Dmpt3sas_base.c4889 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 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...]
H A Dmpt3sas_config.c1379 * @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 Dmpi3mr_os.c1943 if (!mrioc->sas_hba.num_phys)
5313 if (mrioc->sas_hba.num_phys) {
5316 mrioc->sas_hba.num_phys = 0;
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...]
H A Dmpi3mr.h502 * @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 Dinit.c262 sas_ha->num_phys = SCI_MAX_PHYS;
/linux-master/drivers/phy/samsung/
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-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++) {
/linux-master/drivers/phy/qualcomm/
H A Dphy-qcom-qmp-pcie-msm8996.c142 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 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/scsi/mpi3mr/mpi/
H A Dmpi30_ioc.h489 u8 num_phys; member in struct:mpi3_event_data_sas_topology_change_list
/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/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

Completed in 719 milliseconds

123