Lines Matching refs:rom
44 struct isci_orom *rom = NULL;
55 rom = devm_kzalloc(&pdev->dev, sizeof(*rom), GFP_KERNEL);
56 if (!rom) {
63 for (i = 0; i < len && rom; i += ISCI_OEM_SIG_SIZE) {
73 sizeof(*rom));
75 memcpy_fromio(rom,
84 tmp = (u8 *)rom;
85 for (j = 0; j < sizeof(*rom); j++, tmp++)
95 if (memcmp(rom->hdr.signature,
108 rom = NULL;
112 return rom;
170 struct isci_orom *rom;
186 rom = (struct isci_orom *)(efi_data + sizeof(struct isci_oem_hdr));
213 for (j = 0, sum = 0; j < (sizeof(*oem_hdr) + sizeof(*rom)); j++, tmp++)
222 if (memcmp(rom->hdr.signature,
230 return rom;