Lines Matching refs:probe
523 static int aem_init_aem1_inst(struct aem_ipmi_data *probe, u8 module_handle) in aem_init_aem1_inst() argument
558 res = aem_init_ipmi_data(&data->ipmi, probe->interface, in aem_init_aem1_inst()
559 probe->bmc_device); in aem_init_aem1_inst()
568 probe->interface); in aem_init_aem1_inst()
613 static void aem_init_aem1(struct aem_ipmi_data *probe) in aem_init_aem1() argument
617 num = aem_find_aem1_count(probe); in aem_init_aem1()
619 err = aem_init_aem1_inst(probe, i); in aem_init_aem1()
621 dev_err(probe->bmc_device, in aem_init_aem1()
664 static int aem_init_aem2_inst(struct aem_ipmi_data *probe, in aem_init_aem2_inst() argument
700 res = aem_init_ipmi_data(&data->ipmi, probe->interface, in aem_init_aem2_inst()
701 probe->bmc_device); in aem_init_aem2_inst()
710 probe->interface); in aem_init_aem2_inst()
755 static void aem_init_aem2(struct aem_ipmi_data *probe) in aem_init_aem2() argument
761 while (!aem_find_aem2(probe, &fi_resp, i)) { in aem_init_aem2()
763 dev_err(probe->bmc_device, in aem_init_aem2()
769 err = aem_init_aem2_inst(probe, &fi_resp); in aem_init_aem2()
771 dev_err(probe->bmc_device, in aem_init_aem2()
782 struct aem_ipmi_data probe; in aem_register_bmc() local
784 if (aem_init_ipmi_data(&probe, iface, dev)) in aem_register_bmc()
788 aem_init_aem1(&probe); in aem_register_bmc()
789 aem_init_aem2(&probe); in aem_register_bmc()
791 ipmi_destroy_user(probe.user); in aem_register_bmc()