Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.1 22 lines 559 B view raw
1/* SPDX-License-Identifier: GPL-2.0+ */ 2 3/* 4 * Generic code to add IPMI platform devices. 5 */ 6 7#include <linux/ipmi.h> 8 9struct ipmi_plat_data { 10 unsigned int type; /* si_type for si, SI_INVALID for others */ 11 unsigned int space; /* addr_space for si, intf# for ssif. */ 12 unsigned long addr; 13 unsigned int regspacing; 14 unsigned int regsize; 15 unsigned int regshift; 16 unsigned int irq; 17 unsigned int slave_addr; 18 enum ipmi_addr_src addr_source; 19}; 20 21struct platform_device *ipmi_platform_add(const char *name, unsigned int inst, 22 struct ipmi_plat_data *p);