drivers/nfc/s3fwrn5/phy_common.h

Source file repositories/reference/linux-study-clean/drivers/nfc/s3fwrn5/phy_common.h

File Facts

System
Linux kernel
Corpus path
drivers/nfc/s3fwrn5/phy_common.h
Extension
.h
Size
935 bytes
Lines
39
Domain
Driver Families
Bucket
drivers/nfc
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 phy_common {
	struct nci_dev *ndev;

	struct gpio_desc *gpio_en;
	struct gpio_desc *gpio_fw_wake;

	struct mutex mutex;

	enum s3fwrn5_mode mode;
};

void s3fwrn5_phy_set_wake(void *phy_id, bool wake);
bool s3fwrn5_phy_power_ctrl(struct phy_common *phy, enum s3fwrn5_mode mode);
void s3fwrn5_phy_set_mode(void *phy_id, enum s3fwrn5_mode mode);
enum s3fwrn5_mode s3fwrn5_phy_get_mode(void *phy_id);

#endif /* __NFC_S3FWRN5_PHY_COMMON_H */

Annotation

Implementation Notes