| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
#ifndef AMD_SFH_INIT_H |
| 12 |
#define AMD_SFH_INIT_H |
| 13 |
|
| 14 |
#include "../amd_sfh_common.h" |
| 15 |
|
| 16 |
struct amd_sfh1_1_ops { |
| 17 |
int (*init)(struct amd_mp2_dev *mp2); |
| 18 |
void (*toggle_hpd)(struct amd_mp2_dev *mp2, bool enable); |
| 19 |
}; |
| 20 |
|
| 21 |
int amd_sfh1_1_init(struct amd_mp2_dev *mp2); |
| 22 |
void amd_sfh_toggle_hpd(struct amd_mp2_dev *mp2, bool enabled); |
| 23 |
|
| 24 |
static const struct amd_sfh1_1_ops __maybe_unused sfh1_1_ops = { |
| 25 |
.init = amd_sfh1_1_init, |
| 26 |
.toggle_hpd = amd_sfh_toggle_hpd, |
| 27 |
}; |
| 28 |
|
| 29 |
#endif |