Lines Matching refs:handlers
166 const struct si_sm_handlers *handlers; member
408 err = smi_info->handlers->start_transaction( in start_next_msg()
441 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg()
629 = smi_info->handlers->get_result( in handle_transaction_done()
650 len = smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
672 smi_info->handlers->get_result(smi_info->si_sm, msg, 3); in handle_transaction_done()
685 = smi_info->handlers->get_result( in handle_transaction_done()
723 = smi_info->handlers->get_result( in handle_transaction_done()
765 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
783 smi_info->handlers->start_transaction( in handle_transaction_done()
803 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
843 si_sm_result = smi_info->handlers->event(smi_info->si_sm, time); in smi_event_handler()
846 si_sm_result = smi_info->handlers->event(smi_info->si_sm, 0); in smi_event_handler()
852 si_sm_result = smi_info->handlers->event(smi_info->si_sm, 0); in smi_event_handler()
869 si_sm_result = smi_info->handlers->event(smi_info->si_sm, 0); in smi_event_handler()
1302 static const struct ipmi_smi_handlers handlers = { variable
2468 info->handlers = &kcs_smi_handlers; in ipmi_pci_probe_regspacing()
2904 smi_result = smi_info->handlers->event(smi_info->si_sm, 0); in wait_for_msg_done()
2909 smi_result = smi_info->handlers->event( in wait_for_msg_done()
2912 smi_result = smi_info->handlers->event( in wait_for_msg_done()
2944 smi_info->handlers->start_transaction(smi_info->si_sm, msg, 2); in try_get_dev_id()
2950 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in try_get_dev_id()
2974 smi_info->handlers->start_transaction(smi_info->si_sm, msg, 2); in get_global_enables()
2984 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in get_global_enables()
3022 smi_info->handlers->start_transaction(smi_info->si_sm, msg, 3); in set_global_enables()
3032 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in set_global_enables()
3140 smi_info->handlers->start_transaction(smi_info->si_sm, msg, 2); in try_enable_event_buffer()
3150 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in try_enable_event_buffer()
3172 smi_info->handlers->start_transaction(smi_info->si_sm, msg, 3); in try_enable_event_buffer()
3182 resp_len = smi_info->handlers->get_result(smi_info->si_sm, in try_enable_event_buffer()
3550 new_smi->handlers = NULL; in add_smi()
3575 new_smi->handlers = &kcs_smi_handlers; in try_smi_init()
3579 new_smi->handlers = &smic_smi_handlers; in try_smi_init()
3583 new_smi->handlers = &bt_smi_handlers; in try_smi_init()
3593 new_smi->si_sm = kmalloc(new_smi->handlers->size(), GFP_KERNEL); in try_smi_init()
3600 new_smi->io_size = new_smi->handlers->init_data(new_smi->si_sm, in try_smi_init()
3611 if (new_smi->handlers->detect(new_smi->si_sm)) { in try_smi_init()
3691 rv = ipmi_register_smi(&handlers, in try_smi_init()
3756 if (new_smi->handlers) in try_smi_init()
3757 new_smi->handlers->cleanup(new_smi->si_sm); in try_smi_init()
3955 if (to_clean->handlers) in cleanup_one_si()
3956 to_clean->handlers->cleanup(to_clean->si_sm); in cleanup_one_si()