• Home
  • Raw
  • Download

Lines Matching refs:tegra

55 	struct tegra_ehci_hcd *tegra =  in tegra_reset_usb_controller()  local
86 err = reset_control_deassert(tegra->rst); in tegra_reset_usb_controller()
90 err = reset_control_assert(tegra->rst); in tegra_reset_usb_controller()
96 err = reset_control_deassert(tegra->rst); in tegra_reset_usb_controller()
178 struct tegra_ehci_hcd *tegra = (struct tegra_ehci_hcd *)ehci->priv; in tegra_ehci_hub_control() local
190 if (tegra->port_resuming && !(temp & PORT_SUSPEND)) { in tegra_ehci_hub_control()
192 tegra->port_resuming = 0; in tegra_ehci_hub_control()
221 if (tegra->needs_double_reset && in tegra_ehci_hub_control()
268 tegra->port_resuming = 1; in tegra_ehci_hub_control()
388 struct tegra_ehci_hcd *tegra; in tegra_ehci_probe() local
416 tegra = (struct tegra_ehci_hcd *)ehci->priv; in tegra_ehci_probe()
420 tegra->clk = devm_clk_get(&pdev->dev, NULL); in tegra_ehci_probe()
421 if (IS_ERR(tegra->clk)) { in tegra_ehci_probe()
423 err = PTR_ERR(tegra->clk); in tegra_ehci_probe()
427 tegra->rst = devm_reset_control_get_shared(&pdev->dev, "usb"); in tegra_ehci_probe()
428 if (IS_ERR(tegra->rst)) { in tegra_ehci_probe()
430 err = PTR_ERR(tegra->rst); in tegra_ehci_probe()
434 err = clk_prepare_enable(tegra->clk); in tegra_ehci_probe()
452 tegra->needs_double_reset = of_property_read_bool(pdev->dev.of_node, in tegra_ehci_probe()
503 clk_disable_unprepare(tegra->clk); in tegra_ehci_probe()
512 struct tegra_ehci_hcd *tegra = in tegra_ehci_remove() local
518 clk_disable_unprepare(tegra->clk); in tegra_ehci_remove()