new_smi 101 drivers/acpi/acpi_ipmi.c .new_smi = ipmi_register_bmc, new_smi 849 drivers/char/ipmi/ipmi_devintf.c .new_smi = ipmi_new_smi, new_smi 768 drivers/char/ipmi/ipmi_msghandler.c watcher->new_smi(intf_num, intf->si_dev); new_smi 798 drivers/char/ipmi/ipmi_msghandler.c w->new_smi(i, dev); new_smi 649 drivers/char/ipmi/ipmi_poweroff.c .new_smi = ipmi_po_new_smi, new_smi 1154 drivers/char/ipmi/ipmi_si_intf.c struct smi_info *new_smi = send_info; new_smi 1157 drivers/char/ipmi/ipmi_si_intf.c new_smi->intf = intf; new_smi 1160 drivers/char/ipmi/ipmi_si_intf.c timer_setup(&new_smi->si_timer, smi_timeout, 0); new_smi 1161 drivers/char/ipmi/ipmi_si_intf.c new_smi->timer_can_start = true; new_smi 1162 drivers/char/ipmi/ipmi_si_intf.c smi_mod_timer(new_smi, jiffies + SI_TIMEOUT_JIFFIES); new_smi 1165 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->io.irq_setup) { new_smi 1166 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.irq_handler_data = new_smi; new_smi 1167 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.irq_setup(&new_smi->io); new_smi 1173 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->si_num < num_force_kipmid) new_smi 1174 drivers/char/ipmi/ipmi_si_intf.c enable = force_kipmid[new_smi->si_num]; new_smi 1179 drivers/char/ipmi/ipmi_si_intf.c else if ((new_smi->io.si_type != SI_BT) && (!new_smi->io.irq)) new_smi 1183 drivers/char/ipmi/ipmi_si_intf.c new_smi->thread = kthread_run(ipmi_thread, new_smi, new_smi 1184 drivers/char/ipmi/ipmi_si_intf.c "kipmi%d", new_smi->si_num); new_smi 1185 drivers/char/ipmi/ipmi_si_intf.c if (IS_ERR(new_smi->thread)) { new_smi 1186 drivers/char/ipmi/ipmi_si_intf.c dev_notice(new_smi->io.dev, "Could not start" new_smi 1189 drivers/char/ipmi/ipmi_si_intf.c PTR_ERR(new_smi->thread)); new_smi 1190 drivers/char/ipmi/ipmi_si_intf.c new_smi->thread = NULL; new_smi 1874 drivers/char/ipmi/ipmi_si_intf.c struct smi_info *new_smi, *dup; new_smi 1898 drivers/char/ipmi/ipmi_si_intf.c new_smi = kzalloc(sizeof(*new_smi), GFP_KERNEL); new_smi 1899 drivers/char/ipmi/ipmi_si_intf.c if (!new_smi) new_smi 1901 drivers/char/ipmi/ipmi_si_intf.c spin_lock_init(&new_smi->si_lock); new_smi 1903 drivers/char/ipmi/ipmi_si_intf.c new_smi->io = *io; new_smi 1906 drivers/char/ipmi/ipmi_si_intf.c dup = find_dup_si(new_smi); new_smi 1908 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->io.addr_source == SI_ACPI && new_smi 1913 drivers/char/ipmi/ipmi_si_intf.c si_to_str[new_smi->io.si_type]); new_smi 1916 drivers/char/ipmi/ipmi_si_intf.c dev_info(new_smi->io.dev, new_smi 1918 drivers/char/ipmi/ipmi_si_intf.c ipmi_addr_src_to_str(new_smi->io.addr_source), new_smi 1919 drivers/char/ipmi/ipmi_si_intf.c si_to_str[new_smi->io.si_type]); new_smi 1921 drivers/char/ipmi/ipmi_si_intf.c kfree(new_smi); new_smi 1927 drivers/char/ipmi/ipmi_si_intf.c ipmi_addr_src_to_str(new_smi->io.addr_source), new_smi 1928 drivers/char/ipmi/ipmi_si_intf.c si_to_str[new_smi->io.si_type]); new_smi 1930 drivers/char/ipmi/ipmi_si_intf.c list_add_tail(&new_smi->link, &smi_infos); new_smi 1933 drivers/char/ipmi/ipmi_si_intf.c rv = try_smi_init(new_smi); new_smi 1944 drivers/char/ipmi/ipmi_si_intf.c static int try_smi_init(struct smi_info *new_smi) new_smi 1950 drivers/char/ipmi/ipmi_si_intf.c ipmi_addr_src_to_str(new_smi->io.addr_source), new_smi 1951 drivers/char/ipmi/ipmi_si_intf.c si_to_str[new_smi->io.si_type], new_smi 1952 drivers/char/ipmi/ipmi_si_intf.c addr_space_to_str[new_smi->io.addr_space], new_smi 1953 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.addr_data, new_smi 1954 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.slave_addr, new_smi->io.irq); new_smi 1956 drivers/char/ipmi/ipmi_si_intf.c switch (new_smi->io.si_type) { new_smi 1958 drivers/char/ipmi/ipmi_si_intf.c new_smi->handlers = &kcs_smi_handlers; new_smi 1962 drivers/char/ipmi/ipmi_si_intf.c new_smi->handlers = &smic_smi_handlers; new_smi 1966 drivers/char/ipmi/ipmi_si_intf.c new_smi->handlers = &bt_smi_handlers; new_smi 1975 drivers/char/ipmi/ipmi_si_intf.c new_smi->si_num = smi_num; new_smi 1978 drivers/char/ipmi/ipmi_si_intf.c if (!new_smi->io.dev) { new_smi 1985 drivers/char/ipmi/ipmi_si_intf.c new_smi->si_sm = kmalloc(new_smi->handlers->size(), GFP_KERNEL); new_smi 1986 drivers/char/ipmi/ipmi_si_intf.c if (!new_smi->si_sm) { new_smi 1990 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.io_size = new_smi->handlers->init_data(new_smi->si_sm, new_smi 1991 drivers/char/ipmi/ipmi_si_intf.c &new_smi->io); new_smi 1994 drivers/char/ipmi/ipmi_si_intf.c rv = new_smi->io.io_setup(&new_smi->io); new_smi 1996 drivers/char/ipmi/ipmi_si_intf.c dev_err(new_smi->io.dev, "Could not set up I/O space\n"); new_smi 2001 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->handlers->detect(new_smi->si_sm)) { new_smi 2002 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->io.addr_source) new_smi 2003 drivers/char/ipmi/ipmi_si_intf.c dev_err(new_smi->io.dev, new_smi 2013 drivers/char/ipmi/ipmi_si_intf.c rv = try_get_dev_id(new_smi); new_smi 2015 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->io.addr_source) new_smi 2016 drivers/char/ipmi/ipmi_si_intf.c dev_err(new_smi->io.dev, new_smi 2021 drivers/char/ipmi/ipmi_si_intf.c setup_oem_data_handler(new_smi); new_smi 2022 drivers/char/ipmi/ipmi_si_intf.c setup_xaction_handlers(new_smi); new_smi 2023 drivers/char/ipmi/ipmi_si_intf.c check_for_broken_irqs(new_smi); new_smi 2025 drivers/char/ipmi/ipmi_si_intf.c new_smi->waiting_msg = NULL; new_smi 2026 drivers/char/ipmi/ipmi_si_intf.c new_smi->curr_msg = NULL; new_smi 2027 drivers/char/ipmi/ipmi_si_intf.c atomic_set(&new_smi->req_events, 0); new_smi 2028 drivers/char/ipmi/ipmi_si_intf.c new_smi->run_to_completion = false; new_smi 2030 drivers/char/ipmi/ipmi_si_intf.c atomic_set(&new_smi->stats[i], 0); new_smi 2032 drivers/char/ipmi/ipmi_si_intf.c new_smi->interrupt_disabled = true; new_smi 2033 drivers/char/ipmi/ipmi_si_intf.c atomic_set(&new_smi->need_watch, 0); new_smi 2035 drivers/char/ipmi/ipmi_si_intf.c rv = try_enable_event_buffer(new_smi); new_smi 2037 drivers/char/ipmi/ipmi_si_intf.c new_smi->has_event_buffer = true; new_smi 2043 drivers/char/ipmi/ipmi_si_intf.c start_clear_flags(new_smi); new_smi 2049 drivers/char/ipmi/ipmi_si_intf.c if (new_smi->io.irq) { new_smi 2050 drivers/char/ipmi/ipmi_si_intf.c new_smi->interrupt_disabled = false; new_smi 2051 drivers/char/ipmi/ipmi_si_intf.c atomic_set(&new_smi->req_events, 1); new_smi 2054 drivers/char/ipmi/ipmi_si_intf.c dev_set_drvdata(new_smi->io.dev, new_smi); new_smi 2055 drivers/char/ipmi/ipmi_si_intf.c rv = device_add_group(new_smi->io.dev, &ipmi_si_dev_attr_group); new_smi 2057 drivers/char/ipmi/ipmi_si_intf.c dev_err(new_smi->io.dev, new_smi 2062 drivers/char/ipmi/ipmi_si_intf.c new_smi->dev_group_added = true; new_smi 2065 drivers/char/ipmi/ipmi_si_intf.c new_smi, new_smi 2066 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.dev, new_smi 2067 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.slave_addr); new_smi 2069 drivers/char/ipmi/ipmi_si_intf.c dev_err(new_smi->io.dev, new_smi 2078 drivers/char/ipmi/ipmi_si_intf.c dev_info(new_smi->io.dev, "IPMI %s interface initialized\n", new_smi 2079 drivers/char/ipmi/ipmi_si_intf.c si_to_str[new_smi->io.si_type]); new_smi 2081 drivers/char/ipmi/ipmi_si_intf.c WARN_ON(new_smi->io.dev->init_name != NULL); new_smi 2084 drivers/char/ipmi/ipmi_si_intf.c if (rv && new_smi->io.io_cleanup) { new_smi 2085 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.io_cleanup(&new_smi->io); new_smi 2086 drivers/char/ipmi/ipmi_si_intf.c new_smi->io.io_cleanup = NULL; new_smi 1182 drivers/char/ipmi/ipmi_watchdog.c .new_smi = ipmi_new_smi, new_smi 246 drivers/hwmon/ibmaem.c .new_smi = aem_register_bmc, new_smi 103 drivers/hwmon/ibmpex.c .new_smi = ibmpex_register_bmc, new_smi 277 include/linux/ipmi.h void (*new_smi)(int if_num, struct device *dev);