| 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 |
|
| 9 |
struct hinic3_event_info; |
| 10 |
|
| 11 |
#define HINIC3_NIC_DRV_NAME "hinic3" |
| 12 |
|
| 13 |
int hinic3_lld_init(void); |
| 14 |
void hinic3_lld_exit(void); |
| 15 |
void hinic3_adev_event_register(struct auxiliary_device *adev, |
| 16 |
void (*event_handler)(struct auxiliary_device *adev, |
| 17 |
struct hinic3_event_info *event)); |
| 18 |
void hinic3_adev_event_unregister(struct auxiliary_device *adev); |
| 19 |
struct hinic3_hwdev *hinic3_adev_get_hwdev(struct auxiliary_device *adev); |
| 20 |
|
| 21 |
#endif |