drivers/net/ethernet/huawei/hinic/hinic_common.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/huawei/hinic/hinic_common.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/huawei/hinic/hinic_common.h
Extension
.h
Size
639 bytes
Lines
30
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 hinic_sge {
	u32             hi_addr;
	u32             lo_addr;
	u32             len;
};

void hinic_cpu_to_be32(void *data, int len);

void hinic_be32_to_cpu(void *data, int len);

void hinic_set_sge(struct hinic_sge *sge, dma_addr_t addr, int len);

dma_addr_t hinic_sge_to_dma(struct hinic_sge *sge);

#endif

Annotation

Implementation Notes