drivers/platform/chrome/cros_typec_vdm.h

Source file repositories/reference/linux-study-clean/drivers/platform/chrome/cros_typec_vdm.h

File Facts

System
Linux kernel
Corpus path
drivers/platform/chrome/cros_typec_vdm.h
Extension
.h
Size
392 bytes
Lines
14
Domain
Driver Families
Bucket
drivers/platform
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

#ifndef __CROS_TYPEC_VDM__
#define __CROS_TYPEC_VDM__

#include <linux/usb/typec_altmode.h>

extern const struct typec_altmode_ops port_amode_ops;

void cros_typec_handle_vdm_attention(struct cros_typec_data *typec, int port_num);
void cros_typec_handle_vdm_response(struct cros_typec_data *typec, int port_num);

#endif /*  __CROS_TYPEC_VDM__ */

Annotation

Implementation Notes