mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 14:42:08 +02:00
The sole user of intel_rom.[ch] has always been in display. Move them under display. This allows us to remove the compat soc/intel_rom.h from xe, as well as the Makefile rules to build anything from soc/. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/352ec255a6e9b81c7d1e35d8fbf7018d4049d4d3.1763578288.git.jani.nikula@intel.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
26 lines
703 B
C
26 lines
703 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_ROM_H__
|
|
#define __INTEL_ROM_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_device;
|
|
struct intel_rom;
|
|
|
|
struct intel_rom *intel_rom_spi(struct drm_device *drm);
|
|
struct intel_rom *intel_rom_pci(struct drm_device *drm);
|
|
|
|
u32 intel_rom_read32(struct intel_rom *rom, loff_t offset);
|
|
u16 intel_rom_read16(struct intel_rom *rom, loff_t offset);
|
|
void intel_rom_read_block(struct intel_rom *rom, void *data,
|
|
loff_t offset, size_t size);
|
|
loff_t intel_rom_find(struct intel_rom *rom, u32 needle);
|
|
size_t intel_rom_size(struct intel_rom *rom);
|
|
void intel_rom_free(struct intel_rom *rom);
|
|
|
|
#endif /* __INTEL_ROM_H__ */
|