Lines Matching defs:smi_info

125 struct smi_info {  struct
146 int (*oem_data_avail_handler)(struct smi_info *smi_info); argument
162 unsigned char msg_flags;
165 bool has_event_buffer;
171 atomic_t req_events;
178 bool run_to_completion;
181 struct timer_list si_timer;
184 bool timer_can_start;
187 bool timer_running;
190 unsigned long last_timeout_jiffies;
193 atomic_t need_watch;
201 bool interrupt_disabled;
206 bool supports_event_msg_buff;
217 bool cannot_disable_irq;
223 bool irq_enable_broken;
226 bool in_maintenance_mode;
231 bool got_attn;
234 struct ipmi_device_id device_id;
237 bool dev_group_added;
261 static int try_smi_init(struct smi_info *smi); argument
283 static void deliver_recv_msg(struct smi_info *smi_info, in deliver_recv_msg()
290 static void return_hosed_msg(struct smi_info *smi_info, int cCode) in return_hosed_msg()
308 static enum si_sm_result start_next_msg(struct smi_info *smi_info) in start_next_msg()
340 static void smi_mod_timer(struct smi_info *smi_info, unsigned long new_val) in smi_mod_timer()
352 static void start_new_msg(struct smi_info *smi_info, unsigned char *msg, in start_new_msg()
363 static void start_check_enables(struct smi_info *smi_info) in start_check_enables()
374 static void start_clear_flags(struct smi_info *smi_info) in start_clear_flags()
387 static void start_getting_msg_queue(struct smi_info *smi_info) in start_getting_msg_queue()
398 static void start_getting_events(struct smi_info *smi_info) in start_getting_events()
418 static inline bool disable_si_irq(struct smi_info *smi_info) in disable_si_irq()
428 static inline bool enable_si_irq(struct smi_info *smi_info) in enable_si_irq()
444 static struct ipmi_smi_msg *alloc_msg_handle_irq(struct smi_info *smi_info) in alloc_msg_handle_irq()
459 static void handle_flags(struct smi_info *smi_info) in handle_flags()
497 static u8 current_global_enables(struct smi_info *smi_info, u8 base, in current_global_enables()
520 static void check_bt_irq(struct smi_info *smi_info, bool irq_on) in check_bt_irq()
536 static void handle_transaction_done(struct smi_info *smi_info) in handle_transaction_done()
747 static enum si_sm_result smi_event_handler(struct smi_info *smi_info, in smi_event_handler()
868 static void check_start_timer_thread(struct smi_info *smi_info) in check_start_timer_thread()
883 struct smi_info *smi_info = send_info; in flush_messages() local
900 struct smi_info *smi_info = send_info; in sender() local
930 struct smi_info *smi_info = send_info; in set_run_to_completion() local
943 const struct smi_info *smi_info, in ipmi_thread_busy_wait()
975 struct smi_info *smi_info = data; in ipmi_thread() local
1031 struct smi_info *smi_info = send_info; in poll() local
1049 struct smi_info *smi_info = send_info; in request_events() local
1059 struct smi_info *smi_info = send_info; in set_need_watch() local
1073 struct smi_info *smi_info = from_timer(smi_info, t, si_timer); in smi_timeout() local
1117 struct smi_info *smi_info = data; in ipmi_si_irq_handler() local
1197 struct smi_info *smi_info = send_info; in set_maintenance_mode() local
1286 static int wait_for_msg_done(struct smi_info *smi_info) in wait_for_msg_done()
1313 static int try_get_dev_id(struct smi_info *smi_info) in try_get_dev_id()
1365 static int get_global_enables(struct smi_info *smi_info, u8 *enables) in get_global_enables()
1412 static int set_global_enables(struct smi_info *smi_info, u8 enables) in set_global_enables()
1462 static void check_clr_rcv_irq(struct smi_info *smi_info) in check_clr_rcv_irq()
1499 static void check_set_rcv_irq(struct smi_info *smi_info) in check_set_rcv_irq()
1531 static int try_enable_event_buffer(struct smi_info *smi_info) in try_enable_event_buffer()
1621 struct smi_info *smi_info = dev_get_drvdata(dev); in type_show() local
1631 struct smi_info *smi_info = dev_get_drvdata(dev); in interrupts_enabled_show() local
1655 struct smi_info *smi_info = dev_get_drvdata(dev); in params_show() local
1699 static int oem_data_avail_to_receive_msg_avail(struct smi_info *smi_info) in oem_data_avail_to_receive_msg_avail()
1735 static void setup_dell_poweredge_oem_data_handler(struct smi_info *smi_info) in setup_dell_poweredge_oem_data_handler()
1754 static void return_hosed_msg_badsize(struct smi_info *smi_info) in return_hosed_msg_badsize()
1784 struct smi_info *smi_info = in; in dell_poweredge_bt_xaction_handler() local
1809 setup_dell_poweredge_bt_xaction_handler(struct smi_info *smi_info) in setup_dell_poweredge_bt_xaction_handler()
1825 static void setup_oem_data_handler(struct smi_info *smi_info) in setup_oem_data_handler()
1830 static void setup_xaction_handlers(struct smi_info *smi_info) in setup_xaction_handlers()
1835 static void check_for_broken_irqs(struct smi_info *smi_info) in check_for_broken_irqs()
1841 static inline void stop_timer_and_thread(struct smi_info *smi_info) in stop_timer_and_thread()
2165 struct smi_info *smi_info = send_info; in shutdown_smi() local
2229 static void cleanup_one_si(struct smi_info *smi_info) in cleanup_one_si()