Lines Matching +full:port +full:- +full:base
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
17 /* legacy entry points for backwards-compatibility */
53 struct tegra_xusb_lane base; member
59 return container_of(lane, struct tegra_xusb_usb3_lane, base); in to_usb3_lane()
63 struct tegra_xusb_lane base; member
72 return container_of(lane, struct tegra_xusb_usb2_lane, base); in to_usb2_lane()
76 struct tegra_xusb_lane base; member
82 return container_of(lane, struct tegra_xusb_ulpi_lane, base); in to_ulpi_lane()
86 struct tegra_xusb_lane base; member
101 return container_of(lane, struct tegra_xusb_hsic_lane, base); in to_hsic_lane()
105 struct tegra_xusb_lane base; member
111 return container_of(lane, struct tegra_xusb_pcie_lane, base); in to_pcie_lane()
115 struct tegra_xusb_lane base; member
121 return container_of(lane, struct tegra_xusb_sata_lane, base); in to_sata_lane()
178 struct tegra_xusb_pad base; member
187 return container_of(pad, struct tegra_xusb_usb3_pad, base); in to_usb3_pad()
191 struct tegra_xusb_pad base; member
201 return container_of(pad, struct tegra_xusb_usb2_pad, base); in to_usb2_pad()
205 struct tegra_xusb_pad base; member
211 return container_of(pad, struct tegra_xusb_ulpi_pad, base); in to_ulpi_pad()
215 struct tegra_xusb_pad base; member
224 return container_of(pad, struct tegra_xusb_hsic_pad, base); in to_hsic_pad()
228 struct tegra_xusb_pad base; member
239 return container_of(pad, struct tegra_xusb_pcie_pad, base); in to_pcie_pad()
243 struct tegra_xusb_pad base; member
254 return container_of(pad, struct tegra_xusb_sata_pad, base); in to_sata_pad()
283 unsigned int port; member
290 tegra_xusb_port_find_lane(struct tegra_xusb_port *port,
299 struct tegra_xusb_port base; member
308 to_usb2_port(struct tegra_xusb_port *port) in to_usb2_port() argument
310 return container_of(port, struct tegra_xusb_usb2_port, base); in to_usb2_port()
316 void tegra_xusb_usb2_port_release(struct tegra_xusb_port *port);
317 void tegra_xusb_usb2_port_remove(struct tegra_xusb_port *port);
320 struct tegra_xusb_port base; member
327 to_ulpi_port(struct tegra_xusb_port *port) in to_ulpi_port() argument
329 return container_of(port, struct tegra_xusb_ulpi_port, base); in to_ulpi_port()
332 void tegra_xusb_ulpi_port_release(struct tegra_xusb_port *port);
335 struct tegra_xusb_port base; member
339 to_hsic_port(struct tegra_xusb_port *port) in to_hsic_port() argument
341 return container_of(port, struct tegra_xusb_hsic_port, base); in to_hsic_port()
344 void tegra_xusb_hsic_port_release(struct tegra_xusb_port *port);
347 struct tegra_xusb_port base; member
350 unsigned int port; member
361 to_usb3_port(struct tegra_xusb_port *port) in to_usb3_port() argument
363 return container_of(port, struct tegra_xusb_usb3_port, base); in to_usb3_port()
369 void tegra_xusb_usb3_port_release(struct tegra_xusb_port *port);
370 void tegra_xusb_usb3_port_remove(struct tegra_xusb_port *port);
373 void (*release)(struct tegra_xusb_port *port);
374 void (*remove)(struct tegra_xusb_port *port);
375 int (*enable)(struct tegra_xusb_port *port);
376 void (*disable)(struct tegra_xusb_port *port);
377 struct tegra_xusb_lane *(*map)(struct tegra_xusb_port *port);
448 dev_dbg(padctl->dev, "%08lx < %08x\n", offset, value); in padctl_writel()
449 writel(value, padctl->regs + offset); in padctl_writel()
455 u32 value = readl(padctl->regs + offset); in padctl_readl()
456 dev_dbg(padctl->dev, "%08lx > %08x\n", offset, value); in padctl_readl()