drivers/net/ethernet/wangxun/libwx/wx_vf.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/wangxun/libwx/wx_vf.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/wangxun/libwx/wx_vf.h
Extension
.h
Size
5120 bytes
Lines
130
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 wx_link_reg_fields {
	u32 mac_type;
	u32 bit0_f;
	u32 bit1_f;
	u32 bit2_f;
	u32 bit3_f;
	u32 bit4_f;
};

void wx_init_hw_vf(struct wx *wx);
int wx_reset_hw_vf(struct wx *wx);
void wx_get_mac_addr_vf(struct wx *wx, u8 *mac_addr);
void wx_stop_adapter_vf(struct wx *wx);
int wx_get_fw_version_vf(struct wx *wx);
int wx_set_rar_vf(struct wx *wx, u32 index, u8 *addr, u32 enable_addr);
int wx_update_mc_addr_list_vf(struct wx *wx, struct net_device *netdev);
int wx_set_uc_addr_vf(struct wx *wx, u32 index, u8 *addr);
int wx_rlpml_set_vf(struct wx *wx, u16 max_size);
int wx_negotiate_api_version(struct wx *wx, int api);
int wx_get_queues_vf(struct wx *wx, u32 *num_tcs, u32 *default_tc);
int wx_update_xcast_mode_vf(struct wx *wx, int xcast_mode);
int wx_get_link_state_vf(struct wx *wx, u16 *link_state);
int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on,
		   bool vlvf_bypass);
int wx_check_mac_link_vf(struct wx *wx);

#endif /* _WX_VF_H_ */

Annotation

Implementation Notes