Lines Matching defs:tegra

281 static inline u32 fpci_readl(struct tegra_xusb *tegra, unsigned int offset)  in fpci_readl()
286 static inline void fpci_writel(struct tegra_xusb *tegra, u32 value, in fpci_writel()
292 static inline u32 ipfs_readl(struct tegra_xusb *tegra, unsigned int offset) in ipfs_readl()
297 static inline void ipfs_writel(struct tegra_xusb *tegra, u32 value, in ipfs_writel()
303 static u32 csb_readl(struct tegra_xusb *tegra, unsigned int offset) in csb_readl()
313 static void csb_writel(struct tegra_xusb *tegra, u32 value, in csb_writel()
323 static int tegra_xusb_set_ss_clk(struct tegra_xusb *tegra, in tegra_xusb_set_ss_clk()
451 static int tegra_xusb_mbox_send(struct tegra_xusb *tegra, in tegra_xusb_mbox_send()
509 struct tegra_xusb *tegra = data; in tegra_xusb_mbox_irq() local
522 static void tegra_xusb_mbox_handle(struct tegra_xusb *tegra, in tegra_xusb_mbox_handle()
666 struct tegra_xusb *tegra = data; in tegra_xusb_mbox_thread() local
693 static void tegra_xusb_config(struct tegra_xusb *tegra) in tegra_xusb_config()
730 static int tegra_xusb_clk_enable(struct tegra_xusb *tegra) in tegra_xusb_clk_enable()
781 static void tegra_xusb_clk_disable(struct tegra_xusb *tegra) in tegra_xusb_clk_disable()
791 static int tegra_xusb_phy_enable(struct tegra_xusb *tegra) in tegra_xusb_phy_enable()
819 static void tegra_xusb_phy_disable(struct tegra_xusb *tegra) in tegra_xusb_phy_disable()
830 static int tegra_xusb_init_context(struct tegra_xusb *tegra) in tegra_xusb_init_context()
847 static inline int tegra_xusb_init_context(struct tegra_xusb *tegra) in tegra_xusb_init_context()
853 static int tegra_xusb_request_firmware(struct tegra_xusb *tegra) in tegra_xusb_request_firmware()
884 static int tegra_xusb_load_firmware(struct tegra_xusb *tegra) in tegra_xusb_load_firmware()
996 struct tegra_xusb *tegra) in tegra_xusb_powerdomain_remove()
1008 struct tegra_xusb *tegra) in tegra_xusb_powerdomain_init()
1031 static int tegra_xusb_unpowergate_partitions(struct tegra_xusb *tegra) in tegra_xusb_unpowergate_partitions()
1071 static int tegra_xusb_powergate_partitions(struct tegra_xusb *tegra) in tegra_xusb_powergate_partitions()
1109 static int __tegra_xusb_enable_firmware_messages(struct tegra_xusb *tegra) in __tegra_xusb_enable_firmware_messages()
1127 struct tegra_xusb *tegra = data; in tegra_xusb_padctl_irq() local
1143 static int tegra_xusb_enable_firmware_messages(struct tegra_xusb *tegra) in tegra_xusb_enable_firmware_messages()
1154 static void tegra_xhci_set_port_power(struct tegra_xusb *tegra, bool main, in tegra_xhci_set_port_power()
1190 static struct phy *tegra_xusb_get_phy(struct tegra_xusb *tegra, char *name, in tegra_xusb_get_phy()
1208 struct tegra_xusb *tegra = container_of(work, struct tegra_xusb, in tegra_xhci_id_work() local
1267 static bool is_usb2_otg_phy(struct tegra_xusb *tegra, unsigned int index) in is_usb2_otg_phy()
1272 static bool is_usb3_otg_phy(struct tegra_xusb *tegra, unsigned int index) in is_usb3_otg_phy()
1289 static bool is_host_mode_phy(struct tegra_xusb *tegra, unsigned int phy_type, unsigned int index) in is_host_mode_phy()
1312 static int tegra_xusb_get_usb2_port(struct tegra_xusb *tegra, in tegra_xusb_get_usb2_port()
1328 struct tegra_xusb *tegra = container_of(nb, struct tegra_xusb, in tegra_xhci_id_notify() local
1353 static int tegra_xusb_init_usb_phy(struct tegra_xusb *tegra) in tegra_xusb_init_usb_phy()
1390 static void tegra_xusb_deinit_usb_phy(struct tegra_xusb *tegra) in tegra_xusb_deinit_usb_phy()
1404 struct tegra_xusb *tegra; in tegra_xusb_probe() local
1775 struct tegra_xusb *tegra = platform_get_drvdata(pdev); in tegra_xusb_remove() local
1829 static int tegra_xusb_check_ports(struct tegra_xusb *tegra) in tegra_xusb_check_ports()
1854 static void tegra_xusb_save_context(struct tegra_xusb *tegra) in tegra_xusb_save_context()
1871 static void tegra_xusb_restore_context(struct tegra_xusb *tegra) in tegra_xusb_restore_context()
1888 static enum usb_device_speed tegra_xhci_portsc_to_speed(struct tegra_xusb *tegra, u32 portsc) in tegra_xhci_portsc_to_speed()
1905 static void tegra_xhci_enable_phy_sleepwalk_wake(struct tegra_xusb *tegra) in tegra_xhci_enable_phy_sleepwalk_wake()
1949 static void tegra_xhci_disable_phy_wake(struct tegra_xusb *tegra) in tegra_xhci_disable_phy_wake()
1962 static void tegra_xhci_disable_phy_sleepwalk(struct tegra_xusb *tegra) in tegra_xhci_disable_phy_sleepwalk()
1975 static int tegra_xusb_enter_elpg(struct tegra_xusb *tegra, bool runtime) in tegra_xusb_enter_elpg()
2035 static int tegra_xusb_exit_elpg(struct tegra_xusb *tegra, bool runtime) in tegra_xusb_exit_elpg()
2123 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_suspend() local
2165 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_resume() local
2196 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_runtime_suspend() local
2209 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xusb_runtime_resume() local
2428 struct tegra_xusb *tegra = dev_get_drvdata(dev); in tegra_xhci_quirks() local