Lines Matching defs:ssif_info
201 struct ssif_info { struct
202 struct ipmi_smi *intf;
203 spinlock_t lock;
204 struct ipmi_smi_msg *waiting_msg;
205 struct ipmi_smi_msg *curr_msg;
206 enum ssif_intf_state ssif_state;
207 unsigned long ssif_debug;
209 struct ipmi_smi_handlers handlers;
211 enum ipmi_addr_src addr_source; /* ACPI, PCI, SMBIOS, hardcode, etc. */
212 union ipmi_smi_info_union addr_info;
222 unsigned char msg_flags;
224 u8 global_enables;
225 bool has_event_buffer;
226 bool supports_alert;
232 bool got_alert;
233 bool waiting_alert;
236 bool do_resend;
242 bool req_events;
248 bool req_flags;
251 unsigned char data[IPMI_MAX_MSG_LENGTH + 1];
252 unsigned int data_len;
255 unsigned char recv[I2C_SMBUS_BLOCK_MAX];
257 struct i2c_client *client;
258 ssif_i2c_done done_handler;
261 struct task_struct *thread;
262 struct completion wake_thread;
263 bool stopping;
264 int i2c_read_write;
265 int i2c_command;
266 unsigned char *i2c_data;
267 unsigned int i2c_size;
269 struct timer_list retry_timer;
270 int retries_left;
272 long watch_timeout; /* Timeout for flags check, 0 if off. */
273 struct timer_list watch_timer; /* Flag fetch timer. */
276 unsigned char max_xmit_msg_size;
300 static void return_hosed_msg(struct ssif_info *ssif_info, argument
307 static unsigned long *ipmi_ssif_lock_cond(struct ssif_info *ssif_info, in ipmi_ssif_lock_cond()
315 static void ipmi_ssif_unlock_cond(struct ssif_info *ssif_info, in ipmi_ssif_unlock_cond()
322 static void deliver_recv_msg(struct ssif_info *ssif_info, in deliver_recv_msg()
335 static void return_hosed_msg(struct ssif_info *ssif_info, in return_hosed_msg()
355 static void start_clear_flags(struct ssif_info *ssif_info, unsigned long *flags) in start_clear_flags()
374 static void start_flag_fetch(struct ssif_info *ssif_info, unsigned long *flags) in start_flag_fetch()
388 static void check_start_send(struct ssif_info *ssif_info, unsigned long *flags, in check_start_send()
402 static void start_event_fetch(struct ssif_info *ssif_info, unsigned long *flags) in start_event_fetch()
426 static void start_recv_msg_fetch(struct ssif_info *ssif_info, in start_recv_msg_fetch()
455 static void handle_flags(struct ssif_info *ssif_info, unsigned long *flags) in handle_flags()
476 struct ssif_info *ssif_info = data; in ipmi_ssif_thread() local
513 static void ssif_i2c_send(struct ssif_info *ssif_info, in ssif_i2c_send()
531 static void start_get(struct ssif_info *ssif_info) in start_get()
544 struct ssif_info *ssif_info = from_timer(ssif_info, t, retry_timer); in retry_timeout() local
568 struct ssif_info *ssif_info = from_timer(ssif_info, t, watch_timer); in watch_timeout() local
590 struct ssif_info *ssif_info = i2c_get_clientdata(client); in ssif_alert() local
612 static void msg_done_handler(struct ssif_info *ssif_info, int result, in msg_done_handler()
909 static void msg_written_handler(struct ssif_info *ssif_info, int result, in msg_written_handler()
994 static void start_resend(struct ssif_info *ssif_info) in start_resend()
1021 static int start_send(struct ssif_info *ssif_info, in start_send()
1038 static void start_next_msg(struct ssif_info *ssif_info, unsigned long *flags) in start_next_msg()
1074 struct ssif_info *ssif_info = send_info; in sender() local
1096 struct ssif_info *ssif_info = send_info; in get_smi_info() local
1111 struct ssif_info *ssif_info = send_info; in request_events() local
1128 struct ssif_info *ssif_info = send_info; in ssif_set_need_watch() local
1150 struct ssif_info *ssif_info = send_info; in ssif_start_processing() local
1261 struct ssif_info *ssif_info = send_info; in shutdown_ssif() local
1281 struct ssif_info *ssif_info = i2c_get_clientdata(client); in ssif_remove() local
1433 static bool check_acpi(struct ssif_info *ssif_info, struct device *dev) in check_acpi()
1496 struct ssif_info *ssif_info, in test_multipart_messages()
1587 struct ssif_info *ssif_info = i2c_get_clientdata(client); in ssif_remove_dup() local
1619 struct ssif_info *ssif_info) in ssif_check_and_remove()
1648 struct ssif_info *ssif_info; in ssif_probe() local