Lines Matching defs:kcs
116 void init_kcs_data(struct kcs_data *kcs, unsigned int port, unsigned char *addr) in init_kcs_data()
133 static inline unsigned char read_status(struct kcs_data *kcs) in read_status()
141 static inline unsigned char read_data(struct kcs_data *kcs) in read_data()
149 static inline void write_cmd(struct kcs_data *kcs, unsigned char data) in write_cmd()
157 static inline void write_data(struct kcs_data *kcs, unsigned char data) in write_data()
182 static inline void write_next_byte(struct kcs_data *kcs) in write_next_byte()
189 static inline void start_error_recovery(struct kcs_data *kcs, char *reason) in start_error_recovery()
202 static inline void read_next_byte(struct kcs_data *kcs) in read_next_byte()
215 static inline int check_ibf(struct kcs_data *kcs, in check_ibf()
232 static inline int check_obf(struct kcs_data *kcs, in check_obf()
248 static void clear_obf(struct kcs_data *kcs, unsigned char status) in clear_obf()
254 static void restart_kcs_transaction(struct kcs_data *kcs) in restart_kcs_transaction()
265 int start_kcs_transaction(struct kcs_data *kcs, char *data, unsigned int size) in start_kcs_transaction()
287 int kcs_get_result(struct kcs_data *kcs, unsigned char *data, int length) in kcs_get_result()
316 enum kcs_result kcs_event(struct kcs_data *kcs, long time) in kcs_event()