si_sm_data 173 drivers/char/ipmi/ipmi_bt_sm.c static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io) si_sm_data 175 drivers/char/ipmi/ipmi_bt_sm.c memset(bt, 0, sizeof(struct si_sm_data)); si_sm_data 190 drivers/char/ipmi/ipmi_bt_sm.c static void force_result(struct si_sm_data *bt, unsigned char completion_code) si_sm_data 202 drivers/char/ipmi/ipmi_bt_sm.c static int bt_start_transaction(struct si_sm_data *bt, si_sm_data 245 drivers/char/ipmi/ipmi_bt_sm.c static int bt_get_result(struct si_sm_data *bt, si_sm_data 276 drivers/char/ipmi/ipmi_bt_sm.c static void reset_flags(struct si_sm_data *bt) si_sm_data 292 drivers/char/ipmi/ipmi_bt_sm.c static void drain_BMC2HOST(struct si_sm_data *bt) si_sm_data 315 drivers/char/ipmi/ipmi_bt_sm.c static inline void write_all_bytes(struct si_sm_data *bt) si_sm_data 330 drivers/char/ipmi/ipmi_bt_sm.c static inline int read_all_bytes(struct si_sm_data *bt) si_sm_data 382 drivers/char/ipmi/ipmi_bt_sm.c static enum si_sm_result error_recovery(struct si_sm_data *bt, si_sm_data 448 drivers/char/ipmi/ipmi_bt_sm.c static enum si_sm_result bt_event(struct si_sm_data *bt, long time) si_sm_data 615 drivers/char/ipmi/ipmi_bt_sm.c static int bt_detect(struct si_sm_data *bt) si_sm_data 677 drivers/char/ipmi/ipmi_bt_sm.c static void bt_cleanup(struct si_sm_data *bt) si_sm_data 683 drivers/char/ipmi/ipmi_bt_sm.c return sizeof(struct si_sm_data); si_sm_data 123 drivers/char/ipmi/ipmi_kcs_sm.c static unsigned int init_kcs_data(struct si_sm_data *kcs, si_sm_data 141 drivers/char/ipmi/ipmi_kcs_sm.c static inline unsigned char read_status(struct si_sm_data *kcs) si_sm_data 146 drivers/char/ipmi/ipmi_kcs_sm.c static inline unsigned char read_data(struct si_sm_data *kcs) si_sm_data 151 drivers/char/ipmi/ipmi_kcs_sm.c static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) si_sm_data 156 drivers/char/ipmi/ipmi_kcs_sm.c static inline void write_data(struct si_sm_data *kcs, unsigned char data) si_sm_data 178 drivers/char/ipmi/ipmi_kcs_sm.c static inline void write_next_byte(struct si_sm_data *kcs) si_sm_data 185 drivers/char/ipmi/ipmi_kcs_sm.c static inline void start_error_recovery(struct si_sm_data *kcs, char *reason) si_sm_data 199 drivers/char/ipmi/ipmi_kcs_sm.c static inline void read_next_byte(struct si_sm_data *kcs) si_sm_data 212 drivers/char/ipmi/ipmi_kcs_sm.c static inline int check_ibf(struct si_sm_data *kcs, unsigned char status, si_sm_data 228 drivers/char/ipmi/ipmi_kcs_sm.c static inline int check_obf(struct si_sm_data *kcs, unsigned char status, si_sm_data 244 drivers/char/ipmi/ipmi_kcs_sm.c static void clear_obf(struct si_sm_data *kcs, unsigned char status) si_sm_data 250 drivers/char/ipmi/ipmi_kcs_sm.c static void restart_kcs_transaction(struct si_sm_data *kcs) si_sm_data 261 drivers/char/ipmi/ipmi_kcs_sm.c static int start_kcs_transaction(struct si_sm_data *kcs, unsigned char *data, si_sm_data 292 drivers/char/ipmi/ipmi_kcs_sm.c static int get_kcs_result(struct si_sm_data *kcs, unsigned char *data, si_sm_data 326 drivers/char/ipmi/ipmi_kcs_sm.c static enum si_sm_result kcs_event(struct si_sm_data *kcs, long time) si_sm_data 502 drivers/char/ipmi/ipmi_kcs_sm.c return sizeof(struct si_sm_data); si_sm_data 505 drivers/char/ipmi/ipmi_kcs_sm.c static int kcs_detect(struct si_sm_data *kcs) si_sm_data 519 drivers/char/ipmi/ipmi_kcs_sm.c static void kcs_cleanup(struct si_sm_data *kcs) si_sm_data 128 drivers/char/ipmi/ipmi_si_intf.c struct si_sm_data *si_sm; si_sm_data 26 drivers/char/ipmi/ipmi_si_sm.h struct si_sm_data; si_sm_data 56 drivers/char/ipmi/ipmi_si_sm.h unsigned int (*init_data)(struct si_sm_data *smi, si_sm_data 65 drivers/char/ipmi/ipmi_si_sm.h int (*start_transaction)(struct si_sm_data *smi, si_sm_data 73 drivers/char/ipmi/ipmi_si_sm.h int (*get_result)(struct si_sm_data *smi, si_sm_data 84 drivers/char/ipmi/ipmi_si_sm.h enum si_sm_result (*event)(struct si_sm_data *smi, long time); si_sm_data 90 drivers/char/ipmi/ipmi_si_sm.h int (*detect)(struct si_sm_data *smi); si_sm_data 93 drivers/char/ipmi/ipmi_si_sm.h void (*cleanup)(struct si_sm_data *smi); si_sm_data 102 drivers/char/ipmi/ipmi_smic_sm.c static unsigned int init_smic_data(struct si_sm_data *smic, si_sm_data 119 drivers/char/ipmi/ipmi_smic_sm.c static int start_smic_transaction(struct si_sm_data *smic, si_sm_data 149 drivers/char/ipmi/ipmi_smic_sm.c static int smic_get_result(struct si_sm_data *smic, si_sm_data 177 drivers/char/ipmi/ipmi_smic_sm.c static inline unsigned char read_smic_flags(struct si_sm_data *smic) si_sm_data 182 drivers/char/ipmi/ipmi_smic_sm.c static inline unsigned char read_smic_status(struct si_sm_data *smic) si_sm_data 187 drivers/char/ipmi/ipmi_smic_sm.c static inline unsigned char read_smic_data(struct si_sm_data *smic) si_sm_data 192 drivers/char/ipmi/ipmi_smic_sm.c static inline void write_smic_flags(struct si_sm_data *smic, si_sm_data 198 drivers/char/ipmi/ipmi_smic_sm.c static inline void write_smic_control(struct si_sm_data *smic, si_sm_data 204 drivers/char/ipmi/ipmi_smic_sm.c static inline void write_si_sm_data(struct si_sm_data *smic, si_sm_data 210 drivers/char/ipmi/ipmi_smic_sm.c static inline void start_error_recovery(struct si_sm_data *smic, char *reason) si_sm_data 226 drivers/char/ipmi/ipmi_smic_sm.c static inline void write_next_byte(struct si_sm_data *smic) si_sm_data 233 drivers/char/ipmi/ipmi_smic_sm.c static inline void read_next_byte(struct si_sm_data *smic) si_sm_data 315 drivers/char/ipmi/ipmi_smic_sm.c static enum si_sm_result smic_event(struct si_sm_data *smic, long time) si_sm_data 545 drivers/char/ipmi/ipmi_smic_sm.c static int smic_detect(struct si_sm_data *smic) si_sm_data 559 drivers/char/ipmi/ipmi_smic_sm.c static void smic_cleanup(struct si_sm_data *kcs) si_sm_data 565 drivers/char/ipmi/ipmi_smic_sm.c return sizeof(struct si_sm_data);