mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:16:10 +07:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
37 lines
599 B
C
37 lines
599 B
C
/*
|
|
* dst-bt878.h: part of the DST driver for the TwinHan DST Frontend
|
|
*
|
|
* Copyright (C) 2003 Jamie Honan
|
|
*/
|
|
|
|
struct dst_gpio_enable {
|
|
u32 mask;
|
|
u32 enable;
|
|
};
|
|
|
|
struct dst_gpio_output {
|
|
u32 mask;
|
|
u32 highvals;
|
|
};
|
|
|
|
struct dst_gpio_read {
|
|
unsigned long value;
|
|
};
|
|
|
|
union dst_gpio_packet {
|
|
struct dst_gpio_enable enb;
|
|
struct dst_gpio_output outp;
|
|
struct dst_gpio_read rd;
|
|
int psize;
|
|
};
|
|
|
|
#define DST_IG_ENABLE 0
|
|
#define DST_IG_WRITE 1
|
|
#define DST_IG_READ 2
|
|
#define DST_IG_TS 3
|
|
|
|
struct bt878;
|
|
|
|
int bt878_device_control(struct bt878 *bt, unsigned int cmd, union dst_gpio_packet *mp);
|
|
|