Searched refs:si_sm_data (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_si_sm.h41 struct si_sm_data;
94 unsigned int (*init_data)(struct si_sm_data *smi,
103 int (*start_transaction)(struct si_sm_data *smi,
111 int (*get_result)(struct si_sm_data *smi,
122 enum si_sm_result (*event)(struct si_sm_data *smi, long time);
128 int (*detect)(struct si_sm_data *smi);
131 void (*cleanup)(struct si_sm_data *smi);
H A Dipmi_kcs_sm.c126 struct si_sm_data { struct
143 static unsigned int init_kcs_data(struct si_sm_data *kcs, init_kcs_data()
161 static inline unsigned char read_status(struct si_sm_data *kcs) read_status()
166 static inline unsigned char read_data(struct si_sm_data *kcs) read_data()
171 static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) write_cmd()
176 static inline void write_data(struct si_sm_data *kcs, unsigned char data) write_data()
198 static inline void write_next_byte(struct si_sm_data *kcs) write_next_byte()
205 static inline void start_error_recovery(struct si_sm_data *kcs, char *reason) start_error_recovery()
219 static inline void read_next_byte(struct si_sm_data *kcs) read_next_byte()
232 static inline int check_ibf(struct si_sm_data *kcs, unsigned char status, check_ibf()
248 static inline int check_obf(struct si_sm_data *kcs, unsigned char status, check_obf()
264 static void clear_obf(struct si_sm_data *kcs, unsigned char status) clear_obf()
270 static void restart_kcs_transaction(struct si_sm_data *kcs) restart_kcs_transaction()
281 static int start_kcs_transaction(struct si_sm_data *kcs, unsigned char *data, start_kcs_transaction()
312 static int get_kcs_result(struct si_sm_data *kcs, unsigned char *data, get_kcs_result()
346 static enum si_sm_result kcs_event(struct si_sm_data *kcs, long time) kcs_event()
522 return sizeof(struct si_sm_data); kcs_size()
525 static int kcs_detect(struct si_sm_data *kcs) kcs_detect()
539 static void kcs_cleanup(struct si_sm_data *kcs) kcs_cleanup()
H A Dipmi_smic_sm.c108 struct si_sm_data { struct
122 static unsigned int init_smic_data(struct si_sm_data *smic, init_smic_data()
139 static int start_smic_transaction(struct si_sm_data *smic, start_smic_transaction()
169 static int smic_get_result(struct si_sm_data *smic, smic_get_result()
197 static inline unsigned char read_smic_flags(struct si_sm_data *smic) read_smic_flags()
202 static inline unsigned char read_smic_status(struct si_sm_data *smic) read_smic_status()
207 static inline unsigned char read_smic_data(struct si_sm_data *smic) read_smic_data()
212 static inline void write_smic_flags(struct si_sm_data *smic, write_smic_flags()
218 static inline void write_smic_control(struct si_sm_data *smic, write_smic_control()
224 static inline void write_si_sm_data(struct si_sm_data *smic, write_si_sm_data()
230 static inline void start_error_recovery(struct si_sm_data *smic, char *reason) start_error_recovery()
247 static inline void write_next_byte(struct si_sm_data *smic) write_next_byte()
254 static inline void read_next_byte(struct si_sm_data *smic) read_next_byte()
336 static enum si_sm_result smic_event(struct si_sm_data *smic, long time) smic_event()
569 static int smic_detect(struct si_sm_data *smic) smic_detect()
583 static void smic_cleanup(struct si_sm_data *kcs) smic_cleanup()
589 return sizeof(struct si_sm_data); smic_size()
H A Dipmi_bt_sm.c94 struct si_sm_data { struct
194 static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io) bt_init_data()
196 memset(bt, 0, sizeof(struct si_sm_data)); bt_init_data()
212 static void force_result(struct si_sm_data *bt, unsigned char completion_code) force_result()
224 static int bt_start_transaction(struct si_sm_data *bt, bt_start_transaction()
267 static int bt_get_result(struct si_sm_data *bt, bt_get_result()
298 static void reset_flags(struct si_sm_data *bt) reset_flags()
315 static void drain_BMC2HOST(struct si_sm_data *bt) drain_BMC2HOST()
338 static inline void write_all_bytes(struct si_sm_data *bt) write_all_bytes()
353 static inline int read_all_bytes(struct si_sm_data *bt) read_all_bytes()
404 static enum si_sm_result error_recovery(struct si_sm_data *bt, error_recovery()
470 static enum si_sm_result bt_event(struct si_sm_data *bt, long time) bt_event()
673 static int bt_detect(struct si_sm_data *bt) bt_detect()
688 static void bt_cleanup(struct si_sm_data *bt) bt_cleanup()
694 return sizeof(struct si_sm_data); bt_size()
H A Dipmi_si_intf.c166 struct si_sm_data *si_sm;

Completed in 116 milliseconds