Lines Matching defs:kcs
125 static unsigned int init_kcs_data_with_state(struct si_sm_data *kcs, in init_kcs_data_with_state()
143 static unsigned int init_kcs_data(struct si_sm_data *kcs, in init_kcs_data()
149 static inline unsigned char read_status(struct si_sm_data *kcs) in read_status()
154 static inline unsigned char read_data(struct si_sm_data *kcs) in read_data()
159 static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) in write_cmd()
164 static inline void write_data(struct si_sm_data *kcs, unsigned char data) in write_data()
186 static inline void write_next_byte(struct si_sm_data *kcs) in write_next_byte()
193 static inline void start_error_recovery(struct si_sm_data *kcs, char *reason) in start_error_recovery()
207 static inline void read_next_byte(struct si_sm_data *kcs) in read_next_byte()
220 static inline int check_ibf(struct si_sm_data *kcs, unsigned char status, in check_ibf()
236 static inline int check_obf(struct si_sm_data *kcs, unsigned char status, in check_obf()
252 static void clear_obf(struct si_sm_data *kcs, unsigned char status) in clear_obf()
258 static void restart_kcs_transaction(struct si_sm_data *kcs) in restart_kcs_transaction()
269 static int start_kcs_transaction(struct si_sm_data *kcs, unsigned char *data, in start_kcs_transaction()
302 static int get_kcs_result(struct si_sm_data *kcs, unsigned char *data, in get_kcs_result()
336 static enum si_sm_result kcs_event(struct si_sm_data *kcs, long time) in kcs_event()
516 static int kcs_detect(struct si_sm_data *kcs) in kcs_detect()
530 static void kcs_cleanup(struct si_sm_data *kcs) in kcs_cleanup()