drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h
Extension
.h
Size
909 bytes
Lines
36
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 mlxfw_mfa2_component {
	u16 index;
	u32 data_size;
	u8 *data;
};

struct mlxfw_mfa2_file;

bool mlxfw_mfa2_check(const struct firmware *fw);

struct mlxfw_mfa2_file *mlxfw_mfa2_file_init(const struct firmware *fw);

int mlxfw_mfa2_file_component_count(const struct mlxfw_mfa2_file *mfa2_file,
				    const char *psid, u32 psid_size,
				    u32 *p_count);

struct mlxfw_mfa2_component *
mlxfw_mfa2_file_component_get(const struct mlxfw_mfa2_file *mfa2_file,
			      const char *psid, int psid_size,
			      int component_index);

void mlxfw_mfa2_file_component_put(struct mlxfw_mfa2_component *component);

void mlxfw_mfa2_file_fini(struct mlxfw_mfa2_file *mfa2_file);

#endif

Annotation

Implementation Notes