Lines Matching refs:nports
86 int nports; member
291 for (i = 0; i < omap->nports; i++) { in usbhs_runtime_resume()
339 for (i = 0; i < omap->nports; i++) { in usbhs_runtime_suspend()
372 for (i = 0; i < omap->nports; i++) { in omap_usbhs_rev1_hostconfig()
404 for (i = 0; i < omap->nports; i++) { in omap_usbhs_rev1_hostconfig()
421 for (i = 0; i < omap->nports; i++) { in omap_usbhs_rev2_hostconfig()
478 ret = of_property_read_u32(node, "num-ports", &pdata->nports); in usbhs_omap_get_dt_pdata()
480 pdata->nports = 0; in usbhs_omap_get_dt_pdata()
482 if (pdata->nports > OMAP3_HS_USB_PORTS) { in usbhs_omap_get_dt_pdata()
484 pdata->nports, OMAP3_HS_USB_PORTS); in usbhs_omap_get_dt_pdata()
560 if (pdata->nports > OMAP3_HS_USB_PORTS) { in usbhs_omap_probe()
562 pdata->nports, OMAP3_HS_USB_PORTS); in usbhs_omap_probe()
598 if (pdata->nports) { in usbhs_omap_probe()
599 omap->nports = pdata->nports; in usbhs_omap_probe()
603 omap->nports = 3; in usbhs_omap_probe()
606 omap->nports = 2; in usbhs_omap_probe()
609 omap->nports = OMAP3_HS_USB_PORTS; in usbhs_omap_probe()
612 omap->usbhs_rev, omap->nports); in usbhs_omap_probe()
615 pdata->nports = omap->nports; in usbhs_omap_probe()
618 i = sizeof(struct clk *) * omap->nports; in usbhs_omap_probe()
637 for (i = 0; i < omap->nports; i++) { in usbhs_omap_probe()
646 for (i = 0; i < omap->nports; i++) { in usbhs_omap_probe()
703 for (i = 0; i < omap->nports; i++) { in usbhs_omap_probe()