Lines Matching refs:usb2

299 	struct tegra_xusb_usb2_lane *usb2;  in tegra186_usb2_lane_probe()  local
302 usb2 = kzalloc(sizeof(*usb2), GFP_KERNEL); in tegra186_usb2_lane_probe()
303 if (!usb2) in tegra186_usb2_lane_probe()
306 INIT_LIST_HEAD(&usb2->base.list); in tegra186_usb2_lane_probe()
307 usb2->base.soc = &pad->soc->lanes[index]; in tegra186_usb2_lane_probe()
308 usb2->base.index = index; in tegra186_usb2_lane_probe()
309 usb2->base.pad = pad; in tegra186_usb2_lane_probe()
310 usb2->base.np = np; in tegra186_usb2_lane_probe()
312 err = tegra_xusb_lane_parse_dt(&usb2->base, np); in tegra186_usb2_lane_probe()
314 kfree(usb2); in tegra186_usb2_lane_probe()
318 return &usb2->base; in tegra186_usb2_lane_probe()
323 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_usb2_lane_remove() local
325 kfree(usb2); in tegra186_usb2_lane_remove()
848 struct tegra_xusb_usb2_lane *usb2 = to_usb2_lane(lane); in tegra186_utmi_phy_power_on() local
886 if (usb2->hs_curr_level_offset) { in tegra186_utmi_phy_power_on()
890 usb2->hs_curr_level_offset; in tegra186_utmi_phy_power_on()
992 struct tegra_xusb_usb2_pad *usb2; in tegra186_usb2_pad_probe() local
996 usb2 = kzalloc(sizeof(*usb2), GFP_KERNEL); in tegra186_usb2_pad_probe()
997 if (!usb2) in tegra186_usb2_pad_probe()
1000 pad = &usb2->base; in tegra186_usb2_pad_probe()
1006 kfree(usb2); in tegra186_usb2_pad_probe()
1033 struct tegra_xusb_usb2_pad *usb2 = to_usb2_pad(pad); in tegra186_usb2_pad_remove() local
1035 kfree(usb2); in tegra186_usb2_pad_remove()
1253 struct tegra_xusb_usb2_port *usb2; in tegra186_usb3_phy_power_on() local
1264 usb2 = tegra_xusb_find_usb2_port(padctl, port->port); in tegra186_usb3_phy_power_on()
1265 if (!usb2) { in tegra186_usb3_phy_power_on()
1276 if (usb2->mode == USB_DR_MODE_UNKNOWN) in tegra186_usb3_phy_power_on()
1278 else if (usb2->mode == USB_DR_MODE_PERIPHERAL) in tegra186_usb3_phy_power_on()
1280 else if (usb2->mode == USB_DR_MODE_HOST) in tegra186_usb3_phy_power_on()
1282 else if (usb2->mode == USB_DR_MODE_OTG) in tegra186_usb3_phy_power_on()
1412 struct tegra_xusb_usb2_pad *usb2 = to_usb2_pad(pad); in tegra186_usb3_pad_remove() local
1414 kfree(usb2); in tegra186_usb3_pad_remove()
1434 count = padctl->base.soc->ports.usb2.count; in tegra186_xusb_read_fuse_calibration()
1556 TEGRA186_LANE("usb2-0", 0, 0, 0, usb2),
1557 TEGRA186_LANE("usb2-1", 0, 0, 0, usb2),
1558 TEGRA186_LANE("usb2-2", 0, 0, 0, usb2),
1593 .usb2 = {
1623 TEGRA186_LANE("usb2-0", 0, 0, 0, usb2),
1624 TEGRA186_LANE("usb2-1", 0, 0, 0, usb2),
1625 TEGRA186_LANE("usb2-2", 0, 0, 0, usb2),
1626 TEGRA186_LANE("usb2-3", 0, 0, 0, usb2),
1659 .usb2 = {
1680 .usb2 = {