include/linux/phy/phy-common-props.h

Source file repositories/reference/linux-study-clean/include/linux/phy/phy-common-props.h

File Facts

System
Linux kernel
Corpus path
include/linux/phy/phy-common-props.h
Extension
.h
Size
954 bytes
Lines
33
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

#ifndef __PHY_COMMON_PROPS_H
#define __PHY_COMMON_PROPS_H

#include <dt-bindings/phy/phy.h>

struct fwnode_handle;

int __must_check phy_get_rx_polarity(struct fwnode_handle *fwnode,
				     const char *mode_name,
				     unsigned int supported,
				     unsigned int default_val,
				     unsigned int *val);
int __must_check phy_get_tx_polarity(struct fwnode_handle *fwnode,
				     const char *mode_name,
				     unsigned int supported,
				     unsigned int default_val,
				     unsigned int *val);
int __must_check phy_get_manual_rx_polarity(struct fwnode_handle *fwnode,
					    const char *mode_name,
					    unsigned int *val);
int __must_check phy_get_manual_tx_polarity(struct fwnode_handle *fwnode,
					    const char *mode_name,
					    unsigned int *val);

#endif /* __PHY_COMMON_PROPS_H */

Annotation

Implementation Notes