drom 380 drivers/thunderbolt/eeprom.c struct tb_drom_header *header = (void *) sw->drom; drom 386 drivers/thunderbolt/eeprom.c struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); drom 421 drivers/thunderbolt/eeprom.c sw->drom = kmalloc(len, GFP_KERNEL); drom 422 drivers/thunderbolt/eeprom.c if (!sw->drom) drom 425 drivers/thunderbolt/eeprom.c res = device_property_read_u8_array(dev, "ThunderboltDROM", sw->drom, drom 430 drivers/thunderbolt/eeprom.c *size = ((struct tb_drom_header *)sw->drom)->data_len + drom 438 drivers/thunderbolt/eeprom.c kfree(sw->drom); drom 439 drivers/thunderbolt/eeprom.c sw->drom = NULL; drom 466 drivers/thunderbolt/eeprom.c sw->drom = kzalloc(*size, GFP_KERNEL); drom 467 drivers/thunderbolt/eeprom.c if (!sw->drom) drom 470 drivers/thunderbolt/eeprom.c ret = dma_port_flash_read(sw->dma_port, drom_offset, sw->drom, *size); drom 482 drivers/thunderbolt/eeprom.c kfree(sw->drom); drom 483 drivers/thunderbolt/eeprom.c sw->drom = NULL; drom 497 drivers/thunderbolt/eeprom.c if (sw->drom) drom 546 drivers/thunderbolt/eeprom.c sw->drom = kzalloc(size, GFP_KERNEL); drom 547 drivers/thunderbolt/eeprom.c if (!sw->drom) drom 549 drivers/thunderbolt/eeprom.c res = tb_eeprom_read_n(sw, drom_offset, sw->drom, size); drom 554 drivers/thunderbolt/eeprom.c header = (void *) sw->drom; drom 573 drivers/thunderbolt/eeprom.c crc = tb_crc32(sw->drom + TB_DROM_DATA_START, header->data_len); drom 586 drivers/thunderbolt/eeprom.c kfree(sw->drom); drom 587 drivers/thunderbolt/eeprom.c sw->drom = NULL; drom 1424 drivers/thunderbolt/switch.c kfree(sw->drom); drom 104 drivers/thunderbolt/tb.h u8 *drom;