drivers/net/wwan/t7xx/t7xx_netdev.h

Source file repositories/reference/linux-study-clean/drivers/net/wwan/t7xx/t7xx_netdev.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wwan/t7xx/t7xx_netdev.h
Extension
.h
Size
1485 bytes
Lines
61
Domain
Driver Families
Bucket
drivers/net
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 t7xx_ccmni {
	u8				index;
	atomic_t			usage;
	struct net_device		*dev;
	struct t7xx_ccmni_ctrl		*ctlb;
};

struct t7xx_ccmni_ctrl {
	struct t7xx_pci_dev		*t7xx_dev;
	struct dpmaif_ctrl		*hif_ctrl;
	struct t7xx_ccmni		*ccmni_inst[NIC_DEV_MAX];
	struct dpmaif_callbacks		callbacks;
	unsigned int			nic_dev_num;
	unsigned int			md_sta;
	struct t7xx_fsm_notifier	md_status_notify;
	bool				wwan_is_registered;
	struct net_device		*dummy_dev;
	struct napi_struct		*napi[RXQ_NUM];
	atomic_t			napi_usr_refcnt;
	bool				is_napi_en;
};

int t7xx_ccmni_init(struct t7xx_pci_dev *t7xx_dev);
void t7xx_ccmni_exit(struct t7xx_pci_dev *t7xx_dev);

#endif /* __T7XX_NETDEV_H__ */

Annotation

Implementation Notes