Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.15-rc4 34 lines 915 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * xhci-plat.h - xHCI host controller driver platform Bus Glue. 4 * 5 * Copyright (C) 2015 Renesas Electronics Corporation 6 */ 7 8#ifndef _XHCI_PLAT_H 9#define _XHCI_PLAT_H 10 11struct device; 12struct platform_device; 13struct usb_hcd; 14 15struct xhci_plat_priv { 16 const char *firmware_name; 17 unsigned long long quirks; 18 bool power_lost; 19 void (*plat_start)(struct usb_hcd *); 20 int (*init_quirk)(struct usb_hcd *); 21 int (*suspend_quirk)(struct usb_hcd *); 22 int (*resume_quirk)(struct usb_hcd *); 23}; 24 25#define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv) 26#define xhci_to_priv(x) ((struct xhci_plat_priv *)(x)->priv) 27 28int xhci_plat_probe(struct platform_device *pdev, struct device *sysdev, 29 const struct xhci_plat_priv *priv_match); 30 31void xhci_plat_remove(struct platform_device *dev); 32extern const struct dev_pm_ops xhci_plat_pm_ops; 33 34#endif /* _XHCI_PLAT_H */