File Index
Files and directories
Sign in
FILE

hinic3_lld.h

File preview with syntax highlighting.

linux-6.19.14/drivers/net/ethernet/huawei/hinic3/hinic3_lld.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/* Copyright (c) Huawei Technologies Co., Ltd. 2025. All rights reserved. */
 3
 4#ifndef _HINIC3_LLD_H_
 5#define _HINIC3_LLD_H_
 6
 7#include <linux/auxiliary_bus.h>
 8
 9struct hinic3_event_info;
10
11#define HINIC3_NIC_DRV_NAME "hinic3"
12
13int hinic3_lld_init(void);
14void hinic3_lld_exit(void);
15void hinic3_adev_event_register(struct auxiliary_device *adev,
16				void (*event_handler)(struct auxiliary_device *adev,
17						      struct hinic3_event_info *event));
18void hinic3_adev_event_unregister(struct auxiliary_device *adev);
19struct hinic3_hwdev *hinic3_adev_get_hwdev(struct auxiliary_device *adev);
20
21#endif
~/ Read-only file preview.