Home
last modified time | relevance | path

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

/drivers/char/ipmi/
Dipmi_kcs_sm.c126 struct si_sm_data { struct
143 static unsigned int init_kcs_data(struct si_sm_data *kcs, in init_kcs_data() argument
161 static inline unsigned char read_status(struct si_sm_data *kcs) in read_status()
166 static inline unsigned char read_data(struct si_sm_data *kcs) in read_data()
171 static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) in write_cmd()
176 static inline void write_data(struct si_sm_data *kcs, unsigned char data) in write_data()
198 static inline void write_next_byte(struct si_sm_data *kcs) in write_next_byte()
205 static inline void start_error_recovery(struct si_sm_data *kcs, char *reason) in start_error_recovery()
219 static inline void read_next_byte(struct si_sm_data *kcs) in read_next_byte()
232 static inline int check_ibf(struct si_sm_data *kcs, unsigned char status, in check_ibf()
[all …]
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);
Dipmi_smic_sm.c108 struct si_sm_data { struct
122 static unsigned int init_smic_data(struct si_sm_data *smic, in init_smic_data() argument
139 static int start_smic_transaction(struct si_sm_data *smic, in start_smic_transaction()
169 static int smic_get_result(struct si_sm_data *smic, in smic_get_result()
197 static inline unsigned char read_smic_flags(struct si_sm_data *smic) in read_smic_flags()
202 static inline unsigned char read_smic_status(struct si_sm_data *smic) in read_smic_status()
207 static inline unsigned char read_smic_data(struct si_sm_data *smic) in read_smic_data()
212 static inline void write_smic_flags(struct si_sm_data *smic, in write_smic_flags()
218 static inline void write_smic_control(struct si_sm_data *smic, in write_smic_control()
224 static inline void write_si_sm_data(struct si_sm_data *smic, in write_si_sm_data()
[all …]
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) in bt_init_data()
196 memset(bt, 0, sizeof(struct si_sm_data)); in bt_init_data()
212 static void force_result(struct si_sm_data *bt, unsigned char completion_code) in force_result()
224 static int bt_start_transaction(struct si_sm_data *bt, in bt_start_transaction()
267 static int bt_get_result(struct si_sm_data *bt, in bt_get_result()
298 static void reset_flags(struct si_sm_data *bt) in reset_flags()
315 static void drain_BMC2HOST(struct si_sm_data *bt) in drain_BMC2HOST()
338 static inline void write_all_bytes(struct si_sm_data *bt) in write_all_bytes()
353 static inline int read_all_bytes(struct si_sm_data *bt) in read_all_bytes()
[all …]
Dipmi_si_intf.c173 struct si_sm_data *si_sm;