Home
last modified time | relevance | path

Searched refs:rom_header (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci_rom.c70 struct pci_rom_header *rom_header; in pci_rom_probe() local
98 rom_header = (struct pci_rom_header *)(unsigned long)rom_address; in pci_rom_probe()
101 le16_to_cpu(rom_header->signature), in pci_rom_probe()
102 rom_header->size * 512, le16_to_cpu(rom_header->data)); in pci_rom_probe()
104 if (le16_to_cpu(rom_header->signature) != PCI_ROM_HDR) { in pci_rom_probe()
106 le16_to_cpu(rom_header->signature)); in pci_rom_probe()
114 rom_data = (((void *)rom_header) + le16_to_cpu(rom_header->data)); in pci_rom_probe()
137 *hdrp = rom_header; in pci_rom_probe()
153 static int pci_rom_load(struct pci_rom_header *rom_header, in pci_rom_load() argument
164 rom_header = (struct pci_rom_header *)((void *)rom_header + in pci_rom_load()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c2066 struct atom_rom_header_v2_2 *rom_header = NULL; in bios_parser_pack_data_tables() local
2087 rom_header = GET_IMAGE(struct atom_rom_header_v2_2, *rom_header_offset); in bios_parser_pack_data_tables()
2089 if (!rom_header) in bios_parser_pack_data_tables()
2092 get_atom_data_table_revision(&rom_header->table_header, &tbl_rev); in bios_parser_pack_data_tables()
2104 packed_rom_header_offset + rom_header->table_header.structuresize; in bios_parser_pack_data_tables()
2122 memcpy(bios_dst + packed_rom_header_offset, rom_header, in bios_parser_pack_data_tables()
2123 rom_header->table_header.structuresize); in bios_parser_pack_data_tables()
2303 struct atom_rom_header_v2_2 *rom_header = NULL; in bios_parser2_construct() local
2327 rom_header = GET_IMAGE(struct atom_rom_header_v2_2, *rom_header_offset); in bios_parser2_construct()
2329 if (!rom_header) in bios_parser2_construct()
[all …]
H A Dbios_parser.c2847 ATOM_ROM_HEADER *rom_header = NULL; in bios_parser_construct() local
2870 rom_header = GET_IMAGE(ATOM_ROM_HEADER, *rom_header_offset); in bios_parser_construct()
2872 if (!rom_header) in bios_parser_construct()
2875 get_atom_data_table_revision(&rom_header->sHeader, &tbl_rev); in bios_parser_construct()
2881 rom_header->usMasterDataTableOffset); in bios_parser_construct()
/OK3568_Linux_fs/u-boot/doc/
H A DREADME.x86876 + rom = (struct rom_header *)0xfff90000;