Lines Matching full:hsic
291 if (strcmp(soc->name, "hsic") == 0) in tegra_xusb_pad_create()
292 padctl->hsic = pad; in tegra_xusb_pad_create()
874 static int tegra_xusb_hsic_port_parse_dt(struct tegra_xusb_hsic_port *hsic) in tegra_xusb_hsic_port_parse_dt() argument
883 struct tegra_xusb_hsic_port *hsic; in tegra_xusb_add_hsic_port() local
887 np = tegra_xusb_find_port_node(padctl, "hsic", index); in tegra_xusb_add_hsic_port()
891 hsic = kzalloc(sizeof(*hsic), GFP_KERNEL); in tegra_xusb_add_hsic_port()
892 if (!hsic) { in tegra_xusb_add_hsic_port()
897 err = tegra_xusb_port_init(&hsic->base, padctl, np, "hsic", index); in tegra_xusb_add_hsic_port()
901 hsic->base.ops = padctl->soc->ports.hsic.ops; in tegra_xusb_add_hsic_port()
903 hsic->base.lane = hsic->base.ops->map(&hsic->base); in tegra_xusb_add_hsic_port()
904 if (IS_ERR(hsic->base.lane)) { in tegra_xusb_add_hsic_port()
905 err = PTR_ERR(hsic->base.lane); in tegra_xusb_add_hsic_port()
909 err = tegra_xusb_hsic_port_parse_dt(hsic); in tegra_xusb_add_hsic_port()
911 tegra_xusb_port_unregister(&hsic->base); in tegra_xusb_add_hsic_port()
915 list_add_tail(&hsic->base.list, &padctl->ports); in tegra_xusb_add_hsic_port()
924 struct tegra_xusb_hsic_port *hsic = to_hsic_port(port); in tegra_xusb_hsic_port_release() local
926 kfree(hsic); in tegra_xusb_hsic_port_release()
1105 for (i = 0; i < padctl->soc->ports.hsic.count; i++) { in tegra_xusb_setup_ports()