Searched refs:phy_index (Results 1 – 3 of 3) sorted by relevance
33 int phy_index; /* Index of the usb-phy attached to this hcd */ member58 priv->phy_index = ((uintptr_t)regs - (SUNXI_USB1_BASE + 0x400)) / BASE_DIST; in ohci_usb_probe()59 priv->ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ohci_usb_probe()60 extra_ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ohci_usb_probe()61 priv->usb_gate_mask <<= priv->phy_index; in ohci_usb_probe()62 priv->phy_index++; /* Non otg phys start at 1 */ in ohci_usb_probe()72 sunxi_usb_phy_init(priv->phy_index); in ohci_usb_probe()73 sunxi_usb_phy_power_on(priv->phy_index); in ohci_usb_probe()87 sunxi_usb_phy_exit(priv->phy_index); in ohci_usb_remove()
32 int phy_index; /* Index of the usb-phy attached to this hcd */ member55 priv->phy_index = ((uintptr_t)hccr - SUNXI_USB1_BASE) / BASE_DIST; in ehci_usb_probe()56 priv->ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ehci_usb_probe()57 extra_ahb_gate_mask <<= priv->phy_index * AHB_CLK_DIST; in ehci_usb_probe()58 priv->phy_index++; /* Non otg phys start at 1 */ in ehci_usb_probe()67 sunxi_usb_phy_init(priv->phy_index); in ehci_usb_probe()68 sunxi_usb_phy_power_on(priv->phy_index); in ehci_usb_probe()85 sunxi_usb_phy_exit(priv->phy_index); in ehci_usb_remove()
108 u32 phy_index; in fuse_bank_physical() local111 phy_index = index; in fuse_bank_physical()117 phy_index = fuse_bank_physical(5) + (index - 6) + 3; in fuse_bank_physical()119 phy_index = index; in fuse_bank_physical()122 phy_index = fuse_bank_physical(14) + (index - 15) + 2; in fuse_bank_physical()124 phy_index = fuse_bank_physical(5) + (index - 6) + 3; in fuse_bank_physical()126 phy_index = index; in fuse_bank_physical()128 return phy_index; in fuse_bank_physical()