Searched refs:drom (Results 1 – 4 of 4) sorted by relevance
411 struct tb_drom_header *header = (void *) sw->drom; in tb_drom_parse_entries()417 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); in tb_drom_parse_entries()442 sw->drom = kzalloc(size, GFP_KERNEL); in tb_switch_drom_alloc()443 if (!sw->drom) in tb_switch_drom_alloc()447 sw->drom_blob.data = sw->drom; in tb_switch_drom_alloc()459 kfree(sw->drom); in tb_switch_drom_free()460 sw->drom = NULL; in tb_switch_drom_free()479 res = device_property_read_u8_array(dev, "ThunderboltDROM", sw->drom, in tb_drom_copy_efi()484 *size = ((struct tb_drom_header *)sw->drom)->data_len + in tb_drom_copy_efi()522 ret = dma_port_flash_read(sw->dma_port, drom_offset, sw->drom, *size); in tb_drom_copy_nvm()[all …]
194 u8 *drom; member
2417 if (sw->drom) in tb_switch_debugfs_init()
2309 kfree(sw->drom); in tb_switch_release()