Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/ipmi/
Dipmi_si_sm.h26 struct si_sm_data;
56 unsigned int (*init_data)(struct si_sm_data *smi,
65 int (*start_transaction)(struct si_sm_data *smi,
73 int (*get_result)(struct si_sm_data *smi,
84 enum si_sm_result (*event)(struct si_sm_data *smi, long time);
90 int (*detect)(struct si_sm_data *smi);
93 void (*cleanup)(struct si_sm_data *smi);
Dipmi_kcs_sm.c108 struct si_sm_data { struct
125 static unsigned int init_kcs_data(struct si_sm_data *kcs, in init_kcs_data() argument
143 static inline unsigned char read_status(struct si_sm_data *kcs) in read_status()
148 static inline unsigned char read_data(struct si_sm_data *kcs) in read_data()
153 static inline void write_cmd(struct si_sm_data *kcs, unsigned char data) in write_cmd()
158 static inline void write_data(struct si_sm_data *kcs, unsigned char data) in write_data()
180 static inline void write_next_byte(struct si_sm_data *kcs) in write_next_byte()
187 static inline void start_error_recovery(struct si_sm_data *kcs, char *reason) in start_error_recovery()
201 static inline void read_next_byte(struct si_sm_data *kcs) in read_next_byte()
214 static inline int check_ibf(struct si_sm_data *kcs, unsigned char status, in check_ibf()
[all …]
Dipmi_smic_sm.c90 struct si_sm_data { struct
104 static unsigned int init_smic_data(struct si_sm_data *smic, in init_smic_data() argument
121 static int start_smic_transaction(struct si_sm_data *smic, in start_smic_transaction()
154 static int smic_get_result(struct si_sm_data *smic, in smic_get_result()
182 static inline unsigned char read_smic_flags(struct si_sm_data *smic) in read_smic_flags()
187 static inline unsigned char read_smic_status(struct si_sm_data *smic) in read_smic_status()
192 static inline unsigned char read_smic_data(struct si_sm_data *smic) in read_smic_data()
197 static inline void write_smic_flags(struct si_sm_data *smic, in write_smic_flags()
203 static inline void write_smic_control(struct si_sm_data *smic, in write_smic_control()
209 static inline void write_si_sm_data(struct si_sm_data *smic, in write_si_sm_data()
[all …]
Dipmi_bt_sm.c76 struct si_sm_data { struct
173 static unsigned int bt_init_data(struct si_sm_data *bt, struct si_sm_io *io) in bt_init_data()
175 memset(bt, 0, sizeof(struct si_sm_data)); in bt_init_data()
190 static void force_result(struct si_sm_data *bt, unsigned char completion_code) in force_result()
202 static int bt_start_transaction(struct si_sm_data *bt, in bt_start_transaction()
247 static int bt_get_result(struct si_sm_data *bt, in bt_get_result()
278 static void reset_flags(struct si_sm_data *bt) in reset_flags()
294 static void drain_BMC2HOST(struct si_sm_data *bt) in drain_BMC2HOST()
317 static inline void write_all_bytes(struct si_sm_data *bt) in write_all_bytes()
332 static inline int read_all_bytes(struct si_sm_data *bt) in read_all_bytes()
[all …]
Dipmi_si_intf.c129 struct si_sm_data *si_sm;