Lines Matching +full:port +full:- +full:base
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
19 /* legacy entry points for backwards-compatibility */
59 struct tegra_xusb_lane base; member
65 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane()
69 struct tegra_xusb_lane base; member
78 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane()
82 struct tegra_xusb_lane base; member
88 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane()
92 struct tegra_xusb_lane base; member
107 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane()
111 struct tegra_xusb_lane base; member
117 return container_of(lane, struct tegra_xusb_pcie_lane, base); in to_pcie_lane()
121 struct tegra_xusb_lane base; member
127 return container_of(lane, struct tegra_xusb_sata_lane, base); in to_sata_lane()
193 struct tegra_xusb_pad base; member
202 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad()
206 struct tegra_xusb_pad base; member
216 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad()
220 struct tegra_xusb_pad base; member
226 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad()
230 struct tegra_xusb_pad base; member
239 return container_of(pad, struct tegra_xusb_hsic_pad, base); in to_hsic_pad()
243 struct tegra_xusb_pad base; member
254 return container_of(pad, struct tegra_xusb_pcie_pad, base); in to_pcie_pad()
258 struct tegra_xusb_pad base; member
269 return container_of(pad, struct tegra_xusb_sata_pad, base); in to_sata_pad()
298 unsigned int port; member
305 tegra_xusb_port_find_lane(struct tegra_xusb_port *port,
314 struct tegra_xusb_port base; member
323 to_usb2_port(struct tegra_xusb_port *port) in to_usb2_port() argument
325 return container_of(port, struct tegra_xusb_usb2_port, base); in to_usb2_port()
331 void tegra_xusb_usb2_port_release(struct tegra_xusb_port *port);
332 void tegra_xusb_usb2_port_remove(struct tegra_xusb_port *port);
335 struct tegra_xusb_port base; member
342 to_ulpi_port(struct tegra_xusb_port *port) in to_ulpi_port() argument
344 return container_of(port, struct tegra_xusb_ulpi_port, base); in to_ulpi_port()
347 void tegra_xusb_ulpi_port_release(struct tegra_xusb_port *port);
350 struct tegra_xusb_port base; member
354 to_hsic_port(struct tegra_xusb_port *port) in to_hsic_port() argument
356 return container_of(port, struct tegra_xusb_hsic_port, base); in to_hsic_port()
359 void tegra_xusb_hsic_port_release(struct tegra_xusb_port *port);
362 struct tegra_xusb_port base; member
364 unsigned int port; member
375 to_usb3_port(struct tegra_xusb_port *port) in to_usb3_port() argument
377 return container_of(port, struct tegra_xusb_usb3_port, base); in to_usb3_port()
383 void tegra_xusb_usb3_port_release(struct tegra_xusb_port *port);
386 void (*release)(struct tegra_xusb_port *port);
387 void (*remove)(struct tegra_xusb_port *port);
388 int (*enable)(struct tegra_xusb_port *port);
389 void (*disable)(struct tegra_xusb_port *port);
390 struct tegra_xusb_lane *(*map)(struct tegra_xusb_port *port);
468 dev_dbg(padctl->dev, "%08lx < %08x\n", offset, value); in padctl_writel()
469 writel(value, padctl->regs + offset); in padctl_writel()
475 u32 value = readl(padctl->regs + offset); in padctl_readl()
476 dev_dbg(padctl->dev, "%08lx > %08x\n", offset, value); in padctl_readl()
487 err = readl_poll_timeout(padctl->regs + offset, regval, in padctl_readl_poll()
490 dev_err(padctl->dev, "%08lx poll timeout > %08x\n", offset, in padctl_readl_poll()