1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 2 /* 3 * Copyright (c) 2022, Intel Corporation. All 3 * Copyright (c) 2022, Intel Corporation. All rights reserved. 4 */ 4 */ 5 #ifndef _LINUX_MEI_AUX_H 5 #ifndef _LINUX_MEI_AUX_H 6 #define _LINUX_MEI_AUX_H 6 #define _LINUX_MEI_AUX_H 7 7 8 #include <linux/auxiliary_bus.h> 8 #include <linux/auxiliary_bus.h> 9 9 10 /** << 11 * struct mei_aux_device - mei auxiliary devic << 12 * @aux_dev: - auxiliary device object << 13 * @irq: interrupt driving the mei auxiliary d << 14 * @bar: mmio resource bar reserved to mei aux << 15 * @ext_op_mem: resource for extend operationa << 16 * used in graphics PXP mode. << 17 * @slow_firmware: The device has slow underly << 18 * Such firmware will require << 19 */ << 20 struct mei_aux_device { 10 struct mei_aux_device { 21 struct auxiliary_device aux_dev; 11 struct auxiliary_device aux_dev; 22 int irq; 12 int irq; 23 struct resource bar; 13 struct resource bar; 24 struct resource ext_op_mem; << 25 bool slow_firmware; << 26 }; 14 }; 27 15 28 #define auxiliary_dev_to_mei_aux_dev(auxiliary 16 #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \ 29 container_of(auxiliary_dev, struct mei 17 container_of(auxiliary_dev, struct mei_aux_device, aux_dev) 30 18 31 #endif /* _LINUX_MEI_AUX_H */ 19 #endif /* _LINUX_MEI_AUX_H */ 32 20
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.