Lines Matching refs:ipmi_smi

45 static void handle_new_recv_msgs(struct ipmi_smi *intf);
46 static void need_waiter(struct ipmi_smi *intf);
47 static int handle_one_recv_msg(struct ipmi_smi *intf,
197 struct ipmi_smi *intf;
330 static int bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc,
439 struct ipmi_smi { struct
582 void (*null_user_handler)(struct ipmi_smi *intf, argument
607 #define to_si_intf_from_dev(device) container_of(device, struct ipmi_smi, dev) argument
609 static void __get_guid(struct ipmi_smi *intf);
610 static void __ipmi_bmc_unregister(struct ipmi_smi *intf);
611 static int __ipmi_bmc_register(struct ipmi_smi *intf,
614 static int __scan_channels(struct ipmi_smi *intf, struct ipmi_device_id *id);
701 static void clean_up_interface_data(struct ipmi_smi *intf) in clean_up_interface_data()
733 struct ipmi_smi *intf = container_of(ref, struct ipmi_smi, refcount); in intf_free()
741 struct ipmi_smi *intf; in ipmi_smi_watcher_register()
922 static int deliver_response(struct ipmi_smi *intf, struct ipmi_recv_msg *msg) in deliver_response()
961 static void deliver_local_response(struct ipmi_smi *intf, in deliver_local_response()
970 static void deliver_err_response(struct ipmi_smi *intf, in deliver_err_response()
981 static void smi_add_watch(struct ipmi_smi *intf, unsigned int flags) in smi_add_watch()
1006 static void smi_remove_watch(struct ipmi_smi *intf, unsigned int flags) in smi_remove_watch()
1044 static int intf_next_seq(struct ipmi_smi *intf, in intf_next_seq()
1098 static int intf_find_seq(struct ipmi_smi *intf, in intf_find_seq()
1132 static int intf_start_seq_timer(struct ipmi_smi *intf, in intf_start_seq_timer()
1160 static int intf_err_seq(struct ipmi_smi *intf, in intf_err_seq()
1212 struct ipmi_smi *intf; in ipmi_create_user()
1295 struct ipmi_smi *intf; in ipmi_get_smi_info()
1328 struct ipmi_smi *intf = user->intf; in _ipmi_destroy_user()
1539 static void maintenance_mode_update(struct ipmi_smi *intf) in maintenance_mode_update()
1550 struct ipmi_smi *intf = user->intf; in ipmi_set_maintenance_mode()
1591 struct ipmi_smi *intf = user->intf; in ipmi_set_gets_events()
1653 static struct cmd_rcvr *find_cmd_rcvr(struct ipmi_smi *intf, in find_cmd_rcvr()
1669 static int is_cmd_rcvr_exclusive(struct ipmi_smi *intf, in is_cmd_rcvr_exclusive()
1690 struct ipmi_smi *intf = user->intf; in ipmi_register_for_cmd()
1735 struct ipmi_smi *intf = user->intf; in ipmi_unregister_for_cmd()
1866 static struct ipmi_smi_msg *smi_add_send_msg(struct ipmi_smi *intf, in smi_add_send_msg()
1883 static void smi_send(struct ipmi_smi *intf, in smi_send()
1909 static int i_ipmi_req_sysintf(struct ipmi_smi *intf, in i_ipmi_req_sysintf()
1976 static int i_ipmi_req_ipmb(struct ipmi_smi *intf, in i_ipmi_req_ipmb()
2117 static int i_ipmi_req_ipmb_direct(struct ipmi_smi *intf, in i_ipmi_req_ipmb_direct()
2169 static int i_ipmi_req_lan(struct ipmi_smi *intf, in i_ipmi_req_lan()
2294 struct ipmi_smi *intf, in i_ipmi_request()
2396 static int check_addr(struct ipmi_smi *intf, in check_addr()
2487 static void bmc_device_id_handler(struct ipmi_smi *intf, in bmc_device_id_handler()
2528 send_get_device_id_cmd(struct ipmi_smi *intf) in send_get_device_id_cmd()
2556 static int __get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc) in __get_device_id()
2604 static int __bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc, in __bmc_get_device_id()
2619 intf = list_first_entry(&bmc->intfs, struct ipmi_smi, in __bmc_get_device_id()
2625 if (intf != list_first_entry(&bmc->intfs, struct ipmi_smi, in __bmc_get_device_id()
2737 static int bmc_get_device_id(struct ipmi_smi *intf, struct bmc_device *bmc, in bmc_get_device_id()
3075 static void __ipmi_bmc_unregister(struct ipmi_smi *intf) in __ipmi_bmc_unregister()
3095 static void ipmi_bmc_unregister(struct ipmi_smi *intf) in ipmi_bmc_unregister()
3105 static int __ipmi_bmc_register(struct ipmi_smi *intf, in __ipmi_bmc_register()
3266 send_guid_cmd(struct ipmi_smi *intf, int chan) in send_guid_cmd()
3293 static void guid_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg) in guid_handler()
3328 static void __get_guid(struct ipmi_smi *intf) in __get_guid()
3349 send_channel_info_cmd(struct ipmi_smi *intf, int chan) in send_channel_info_cmd()
3379 channel_handler(struct ipmi_smi *intf, struct ipmi_recv_msg *msg) in channel_handler()
3450 static int __scan_channels(struct ipmi_smi *intf, struct ipmi_device_id *id) in __scan_channels()
3495 static void ipmi_poll(struct ipmi_smi *intf) in ipmi_poll()
3513 struct ipmi_smi *intf = container_of(attr, in nr_users_show()
3514 struct ipmi_smi, nr_users_devattr); in nr_users_show()
3524 struct ipmi_smi *intf = container_of(attr, in nr_msgs_show()
3525 struct ipmi_smi, nr_msgs_devattr); in nr_msgs_show()
3541 struct ipmi_smi *intf = container_of(work, struct ipmi_smi, in redo_bmc_reg()
3558 struct ipmi_smi *intf, *tintf; in ipmi_add_smi()
3705 static void deliver_smi_err_response(struct ipmi_smi *intf, in deliver_smi_err_response()
3721 static void cleanup_smi_msgs(struct ipmi_smi *intf) in cleanup_smi_msgs()
3761 void ipmi_unregister_smi(struct ipmi_smi *intf) in ipmi_unregister_smi()
3812 static int handle_ipmb_get_msg_rsp(struct ipmi_smi *intf, in handle_ipmb_get_msg_rsp()
3875 static int handle_ipmb_get_msg_cmd(struct ipmi_smi *intf, in handle_ipmb_get_msg_cmd()
3989 static int handle_ipmb_direct_rcv_cmd(struct ipmi_smi *intf, in handle_ipmb_direct_rcv_cmd()
4077 static int handle_ipmb_direct_rcv_rsp(struct ipmi_smi *intf, in handle_ipmb_direct_rcv_rsp()
4108 static int handle_lan_get_msg_rsp(struct ipmi_smi *intf, in handle_lan_get_msg_rsp()
4175 static int handle_lan_get_msg_cmd(struct ipmi_smi *intf, in handle_lan_get_msg_cmd()
4274 static int handle_oem_get_msg_cmd(struct ipmi_smi *intf, in handle_oem_get_msg_cmd()
4393 static int handle_read_event_rsp(struct ipmi_smi *intf, in handle_read_event_rsp()
4495 static int handle_bmc_rsp(struct ipmi_smi *intf, in handle_bmc_rsp()
4530 static int handle_one_recv_msg(struct ipmi_smi *intf, in handle_one_recv_msg()
4757 static void handle_new_recv_msgs(struct ipmi_smi *intf) in handle_new_recv_msgs()
4818 struct ipmi_smi *intf = from_tasklet(intf, t, recv_tasklet); in smi_recv_tasklet()
4861 void ipmi_smi_msg_received(struct ipmi_smi *intf, in ipmi_smi_msg_received()
4896 void ipmi_smi_watchdog_pretimeout(struct ipmi_smi *intf) in ipmi_smi_watchdog_pretimeout()
4907 smi_from_recv_msg(struct ipmi_smi *intf, struct ipmi_recv_msg *recv_msg, in smi_from_recv_msg()
4928 static void check_msg_timeout(struct ipmi_smi *intf, struct seq_table *ent, in check_msg_timeout()
5009 static bool ipmi_timeout_handler(struct ipmi_smi *intf, in ipmi_timeout_handler()
5076 static void ipmi_request_event(struct ipmi_smi *intf) in ipmi_request_event()
5092 struct ipmi_smi *intf; in ipmi_timeout()
5118 static void need_waiter(struct ipmi_smi *intf) in need_waiter()
5194 static void ipmi_panic_request_and_wait(struct ipmi_smi *intf, in ipmi_panic_request_and_wait()
5226 static void event_receiver_fetcher(struct ipmi_smi *intf, in event_receiver_fetcher()
5239 static void device_id_fetcher(struct ipmi_smi *intf, struct ipmi_recv_msg *msg) in device_id_fetcher()
5254 static void send_panic_events(struct ipmi_smi *intf, char *str) in send_panic_events()
5406 struct ipmi_smi *intf; in panic_event()