Lines Matching full:hsic
297 if (strcmp(soc->name, "hsic") == 0) in tegra_xusb_pad_create()
298 padctl->hsic = pad; in tegra_xusb_pad_create()
903 static int tegra_xusb_hsic_port_parse_dt(struct tegra_xusb_hsic_port *hsic) in tegra_xusb_hsic_port_parse_dt() argument
912 struct tegra_xusb_hsic_port *hsic; in tegra_xusb_add_hsic_port() local
916 np = tegra_xusb_find_port_node(padctl, "hsic", index); in tegra_xusb_add_hsic_port()
920 hsic = kzalloc(sizeof(*hsic), GFP_KERNEL); in tegra_xusb_add_hsic_port()
921 if (!hsic) { in tegra_xusb_add_hsic_port()
926 err = tegra_xusb_port_init(&hsic->base, padctl, np, "hsic", index); in tegra_xusb_add_hsic_port()
930 hsic->base.ops = padctl->soc->ports.hsic.ops; in tegra_xusb_add_hsic_port()
932 hsic->base.lane = hsic->base.ops->map(&hsic->base); in tegra_xusb_add_hsic_port()
933 if (IS_ERR(hsic->base.lane)) { in tegra_xusb_add_hsic_port()
934 err = PTR_ERR(hsic->base.lane); in tegra_xusb_add_hsic_port()
938 err = tegra_xusb_hsic_port_parse_dt(hsic); in tegra_xusb_add_hsic_port()
940 tegra_xusb_port_unregister(&hsic->base); in tegra_xusb_add_hsic_port()
944 list_add_tail(&hsic->base.list, &padctl->ports); in tegra_xusb_add_hsic_port()
953 struct tegra_xusb_hsic_port *hsic = to_hsic_port(port); in tegra_xusb_hsic_port_release() local
955 kfree(hsic); in tegra_xusb_hsic_port_release()
1126 for (i = 0; i < padctl->soc->ports.hsic.count; i++) { in tegra_xusb_setup_ports()