初版
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#ifndef _LINEIN_DEV_H_
|
||||
#define _LINEIN_DEV_H_
|
||||
|
||||
#include "typedef.h"
|
||||
#include "device/device.h"
|
||||
|
||||
struct linein_dev_data {
|
||||
u8 enable;
|
||||
u8 port;
|
||||
u8 up : 1;
|
||||
u8 down : 1;
|
||||
u32 ad_channel;
|
||||
u16 ad_vol;
|
||||
};
|
||||
|
||||
u8 linein_is_online(void);
|
||||
void linein_set_online(u8 online);
|
||||
void linein_detect_timer_add();
|
||||
void linein_detect_timer_del();
|
||||
|
||||
extern const struct device_operations linein_dev_ops;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user