Lines Matching defs:tegra

319 static inline u32 fpci_readl(struct tegra_xusb *tegra, unsigned int offset)  in fpci_readl()
324 static inline void fpci_writel(struct tegra_xusb *tegra, u32 value, in fpci_writel()
330 static inline u32 ipfs_readl(struct tegra_xusb *tegra, unsigned int offset) in ipfs_readl()
335 static inline void ipfs_writel(struct tegra_xusb *tegra, u32 value, in ipfs_writel()
341 static inline u32 bar2_readl(struct tegra_xusb *tegra, unsigned int offset) in bar2_readl()
346 static inline void bar2_writel(struct tegra_xusb *tegra, u32 value, in bar2_writel()
352 static u32 csb_readl(struct tegra_xusb *tegra, unsigned int offset) in csb_readl()
359 static void csb_writel(struct tegra_xusb *tegra, u32 value, in csb_writel()
367 static u32 fpci_csb_readl(struct tegra_xusb *tegra, unsigned int offset) in fpci_csb_readl()
377 static void fpci_csb_writel(struct tegra_xusb *tegra, u32 value, in fpci_csb_writel()
387 static u32 bar2_csb_readl(struct tegra_xusb *tegra, unsigned int offset) in bar2_csb_readl()
397 static void bar2_csb_writel(struct tegra_xusb *tegra, u32 value, in bar2_csb_writel()
407 static int tegra_xusb_set_ss_clk(struct tegra_xusb *tegra, in tegra_xusb_set_ss_clk()
535 static int tegra_xusb_mbox_send(struct tegra_xusb *tegra, in tegra_xusb_mbox_send()
594 struct tegra_xusb *tegra = data; in tegra_xusb_mbox_irq() local
608 static void tegra_xusb_mbox_handle(struct tegra_xusb *tegra, in tegra_xusb_mbox_handle()
752 struct tegra_xusb *tegra = data; in tegra_xusb_mbox_thread() local
780 static void tegra_xusb_config(struct tegra_xusb *tegra) in tegra_xusb_config()
826 static int tegra_xusb_clk_enable(struct tegra_xusb *tegra) in tegra_xusb_clk_enable()
877 static void tegra_xusb_clk_disable(struct tegra_xusb *tegra) in tegra_xusb_clk_disable()
887 static int tegra_xusb_phy_enable(struct tegra_xusb *tegra) in tegra_xusb_phy_enable()
915 static void tegra_xusb_phy_disable(struct tegra_xusb *tegra) in tegra_xusb_phy_disable()
926 static int tegra_xusb_init_context(struct tegra_xusb *tegra) in tegra_xusb_init_context()
943 static inline int tegra_xusb_init_context(struct tegra_xusb *tegra) in tegra_xusb_init_context()
949 static int tegra_xusb_request_firmware(struct tegra_xusb *tegra) in tegra_xusb_request_firmware()
980 static int tegra_xusb_wait_for_falcon(struct tegra_xusb *tegra) in tegra_xusb_wait_for_falcon()
999 static int tegra_xusb_load_firmware_rom(struct tegra_xusb *tegra) in tegra_xusb_load_firmware_rom()
1092 static u32 tegra_xusb_read_firmware_header(struct tegra_xusb *tegra, u32 offset) in tegra_xusb_read_firmware_header()
1106 static int tegra_xusb_init_ifr_firmware(struct tegra_xusb *tegra) in tegra_xusb_init_ifr_firmware()
1122 static int tegra_xusb_load_firmware(struct tegra_xusb *tegra) in tegra_xusb_load_firmware()
1131 struct tegra_xusb *tegra) in tegra_xusb_powerdomain_remove()
1143 struct tegra_xusb *tegra) in tegra_xusb_powerdomain_init()
1166 static int tegra_xusb_unpowergate_partitions(struct tegra_xusb *tegra) in tegra_xusb_unpowergate_partitions()
1206 static int tegra_xusb_powergate_partitions(struct tegra_xusb *tegra) in tegra_xusb_powergate_partitions()
1244 static int __tegra_xusb_enable_firmware_messages(struct tegra_xusb *tegra) in __tegra_xusb_enable_firmware_messages()
1262 struct tegra_xusb *tegra = data; in tegra_xusb_padctl_irq() local
1278 static int tegra_xusb_enable_firmware_messages(struct tegra_xusb *tegra) in tegra_xusb_enable_firmware_messages()
1289 static void tegra_xhci_set_port_power(struct tegra_xusb *tegra, bool main, in tegra_xhci_set_port_power()
1325 static struct phy *tegra_xusb_get_phy(struct tegra_xusb *tegra, char *name, in tegra_xusb_get_phy()
1343 struct tegra_xusb *tegra = container_of(work, struct tegra_xusb, in tegra_xhci_id_work() local
1405 static bool is_usb2_otg_phy(struct tegra_xusb *tegra, unsigned int index) in is_usb2_otg_phy()
1410 static bool is_usb3_otg_phy(struct tegra_xusb *tegra, unsigned int index) in is_usb3_otg_phy()
1427 static bool is_host_mode_phy(struct tegra_xusb *tegra, unsigned int phy_type, unsigned int index) in is_host_mode_phy()
1450 static int tegra_xusb_get_usb2_port(struct tegra_xusb *tegra, in tegra_xusb_get_usb2_port()
1466 struct tegra_xusb *tegra = container_of(nb, struct tegra_xusb, in tegra_xhci_id_notify() local
1488 static int tegra_xusb_init_usb_phy(struct tegra_xusb *tegra) in tegra_xusb_init_usb_phy()
1525 static void tegra_xusb_deinit_usb_phy(struct tegra_xusb *tegra) in tegra_xusb_deinit_usb_phy()
1538 struct tegra_xusb *tegra; in tegra_xusb_probe() local
1915 static void tegra_xusb_disable(struct tegra_xusb *tegra) in tegra_xusb_disable()
1926 struct tegra_xusb *tegra = platform_get_drvdata(pdev); in tegra_xusb_remove() local
1952 struct tegra_xusb *tegra = platform_get_drvdata(pdev); in tegra_xusb_shutdown() local
1982 static int tegra_xusb_check_ports(struct tegra_xusb *tegra) in tegra_xusb_check_ports()
2007 static void tegra_xusb_save_context(struct tegra_xusb *tegra) in tegra_xusb_save_context()
2024 static void tegra_xusb_restore_context(struct tegra_xusb *tegra) in tegra_xusb_restore_context()
2041 static enum usb_device_speed tegra_xhci_portsc_to_speed(struct tegra_xusb *tegra, u32 portsc) in tegra_xhci_portsc_to_speed()
2058 static void tegra_xhci_enable_phy_sleepwalk_wake(struct tegra_xusb *tegra) in tegra_xhci_enable_phy_sleepwalk_wake()
2102 static void tegra_xhci_disable_phy_wake(struct tegra_xusb *tegra) in tegra_xhci_disable_phy_wake()
2129 static void tegra_xhci_disable_phy_sleepwalk(struct tegra_xusb *tegra) in tegra_xhci_disable_phy_sleepwalk()
2142 static void tegra_xhci_program_utmi_power_lp0_exit(struct tegra_xusb *tegra) in tegra_xhci_program_utmi_power_lp0_exit()
2164 static int tegra_xusb_enter_elpg(struct tegra_xusb *tegra, bool runtime) in tegra_xusb_enter_elpg()
2234 static int tegra_xusb_exit_elpg(struct tegra_xusb *tegra, bool runtime) in tegra_xusb_exit_elpg()
2324 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_suspend() local
2366 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_resume() local
2397 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_runtime_suspend() local
2410 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_runtime_resume() local
2678 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xhci_quirks() local
2692 struct tegra_xusb *tegra = dev_get_drvdata(hcd->self.controller); in tegra_xhci_hub_control() local