Searched refs:ipmi_device (Results 1 – 1 of 1) sorted by relevance
113 struct acpi_ipmi_device *ipmi_device; in ipmi_dev_alloc() local117 ipmi_device = kzalloc(sizeof(*ipmi_device), GFP_KERNEL); in ipmi_dev_alloc()118 if (!ipmi_device) in ipmi_dev_alloc()121 kref_init(&ipmi_device->kref); in ipmi_dev_alloc()122 INIT_LIST_HEAD(&ipmi_device->head); in ipmi_dev_alloc()123 INIT_LIST_HEAD(&ipmi_device->tx_msg_list); in ipmi_dev_alloc()124 spin_lock_init(&ipmi_device->tx_msg_lock); in ipmi_dev_alloc()125 ipmi_device->handle = handle; in ipmi_dev_alloc()126 ipmi_device->dev = get_device(dev); in ipmi_dev_alloc()127 ipmi_device->ipmi_ifnum = iface; in ipmi_dev_alloc()[all …]