drivers/usb/gadget/function/u_ncm.h

Source file repositories/reference/linux-study-clean/drivers/usb/gadget/function/u_ncm.h

File Facts

System
Linux kernel
Corpus path
drivers/usb/gadget/function/u_ncm.h
Extension
.h
Size
1300 bytes
Lines
48
Domain
Driver Families
Bucket
drivers/usb
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

struct f_ncm_opts {
	struct usb_function_instance	func_inst;
	struct net_device		*net;
	int				bind_count;

	struct config_group		*ncm_interf_group;
	struct usb_os_desc		ncm_os_desc;
	char				ncm_ext_compat_id[16];

	struct mutex			lock;
	int				refcnt;

	u16				max_segment_size;
};

#endif /* U_NCM_H */

Annotation

Implementation Notes