include/linux/usb/phy_companion.h

Source file repositories/reference/linux-study-clean/include/linux/usb/phy_companion.h

File Facts

System
Linux kernel
Corpus path
include/linux/usb/phy_companion.h
Extension
.h
Size
693 bytes
Lines
26
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct phy_companion {

	/* effective for A-peripheral, ignored for B devices */
	int	(*set_vbus)(struct phy_companion *x, bool enabled);

	/* for B devices only:  start session with A-Host */
	int	(*start_srp)(struct phy_companion *x);
};

#endif /* __DRIVERS_PHY_COMPANION_H */

Annotation

Implementation Notes