equal
deleted
inserted
replaced
30 |
30 |
31 #ifndef _EC_COMMAND_H_ |
31 #ifndef _EC_COMMAND_H_ |
32 #define _EC_COMMAND_H_ |
32 #define _EC_COMMAND_H_ |
33 |
33 |
34 #include <linux/list.h> |
34 #include <linux/list.h> |
|
35 #include <linux/timex.h> |
35 |
36 |
36 #include "globals.h" |
37 #include "globals.h" |
37 |
38 |
38 /*****************************************************************************/ |
39 /*****************************************************************************/ |
39 |
40 |
104 size_t mem_size; /**< command \a data memory size */ |
105 size_t mem_size; /**< command \a data memory size */ |
105 size_t data_size; /**< size of the data in \a data */ |
106 size_t data_size; /**< size of the data in \a data */ |
106 uint8_t index; /**< command index (set by master) */ |
107 uint8_t index; /**< command index (set by master) */ |
107 uint16_t working_counter; /**< working counter */ |
108 uint16_t working_counter; /**< working counter */ |
108 ec_command_state_t state; /**< command state */ |
109 ec_command_state_t state; /**< command state */ |
|
110 cycles_t t_sent; /**< time, the commands was sent */ |
109 } |
111 } |
110 ec_command_t; |
112 ec_command_t; |
111 |
113 |
112 /*****************************************************************************/ |
114 /*****************************************************************************/ |
113 |
115 |