mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 11:21:26 -04:00
Preparatory refactor for ACPI-enumerated PMT endpoints. Several exported PMT/VSEC interfaces and structs carried struct pci_dev * even though callers only need a generic struct device. Move those to struct device * so the same APIs work for PCI and ACPI parents. Acked-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: David E. Box <david.e.box@linux.intel.com> Link: https://patch.msgid.link/20260313015202.3660072-5-david.e.box@linux.intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
16 lines
327 B
C
16 lines
327 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright © 2024 Intel Corporation */
|
|
|
|
#ifndef _XE_VSEC_H_
|
|
#define _XE_VSEC_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct device;
|
|
struct xe_device;
|
|
|
|
void xe_vsec_init(struct xe_device *xe);
|
|
int xe_pmt_telem_read(struct device *dev, u32 guid, u64 *data, loff_t user_offset, u32 count);
|
|
|
|
#endif
|