Lines Matching defs:intel_rom
9 #include "intel_rom.h"
12 struct intel_rom {
23 u32 (*read32)(struct intel_rom *rom, loff_t offset);
24 u16 (*read16)(struct intel_rom *rom, loff_t offset);
25 void (*read_block)(struct intel_rom *rom, void *data, loff_t offset, size_t size);
26 void (*free)(struct intel_rom *rom);
29 static u32 spi_read32(struct intel_rom *rom, loff_t offset)
37 static u16 spi_read16(struct intel_rom *rom, loff_t offset)
42 struct intel_rom *intel_rom_spi(struct drm_i915_private *i915)
44 struct intel_rom *rom;
67 static u32 pci_read32(struct intel_rom *rom, loff_t offset)
72 static u16 pci_read16(struct intel_rom *rom, loff_t offset)
77 static void pci_read_block(struct intel_rom *rom, void *data,
83 static void pci_free(struct intel_rom *rom)
88 struct intel_rom *intel_rom_pci(struct drm_i915_private *i915)
90 struct intel_rom *rom;
112 u32 intel_rom_read32(struct intel_rom *rom, loff_t offset)
117 u16 intel_rom_read16(struct intel_rom *rom, loff_t offset)
122 void intel_rom_read_block(struct intel_rom *rom, void *data,
137 loff_t intel_rom_find(struct intel_rom *rom, u32 needle)
149 size_t intel_rom_size(struct intel_rom *rom)
154 void intel_rom_free(struct intel_rom *rom)