Lines Matching refs:handlers
168 const struct si_sm_handlers *handlers; member
407 err = smi_info->handlers->start_transaction( in start_next_msg()
440 smi_info->handlers->start_transaction(smi_info->si_sm, msg, size); in start_new_msg()
628 = smi_info->handlers->get_result( in handle_transaction_done()
649 len = smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
671 smi_info->handlers->get_result(smi_info->si_sm, msg, 3); in handle_transaction_done()
684 = smi_info->handlers->get_result( in handle_transaction_done()
722 = smi_info->handlers->get_result( in handle_transaction_done()
764 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
782 smi_info->handlers->start_transaction( in handle_transaction_done()
802 smi_info->handlers->get_result(smi_info->si_sm, msg, 4); in handle_transaction_done()
842 si_sm_result = smi_info->handlers->event(smi_info->si_sm, time); in smi_event_handler()
845 si_sm_result = smi_info->handlers->event(smi_info->si_sm, 0); in smi_event_handler()
1290 static const struct ipmi_smi_handlers handlers = { variable
2466 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()
3494 new_smi->handlers = NULL; in add_smi()
3519 new_smi->handlers = &kcs_smi_handlers; in try_smi_init()
3523 new_smi->handlers = &smic_smi_handlers; in try_smi_init()
3527 new_smi->handlers = &bt_smi_handlers; in try_smi_init()
3537 new_smi->si_sm = kmalloc(new_smi->handlers->size(), GFP_KERNEL); in try_smi_init()
3544 new_smi->io_size = new_smi->handlers->init_data(new_smi->si_sm, in try_smi_init()
3555 if (new_smi->handlers->detect(new_smi->si_sm)) { in try_smi_init()
3635 rv = ipmi_register_smi(&handlers, in try_smi_init()
3700 if (new_smi->handlers) in try_smi_init()
3701 new_smi->handlers->cleanup(new_smi->si_sm); in try_smi_init()
3887 if (to_clean->handlers) in cleanup_one_si()
3888 to_clean->handlers->cleanup(to_clean->si_sm); in cleanup_one_si()