Home
last modified time | relevance | path

Searched refs:drom (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/thunderbolt/
H A Deeprom.c409 struct tb_drom_header *header = (void *) sw->drom; in tb_drom_parse_entries()
415 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); in tb_drom_parse_entries()
450 sw->drom = kmalloc(len, GFP_KERNEL); in tb_drom_copy_efi()
451 if (!sw->drom) in tb_drom_copy_efi()
454 res = device_property_read_u8_array(dev, "ThunderboltDROM", sw->drom, in tb_drom_copy_efi()
459 *size = ((struct tb_drom_header *)sw->drom)->data_len + in tb_drom_copy_efi()
467 kfree(sw->drom); in tb_drom_copy_efi()
468 sw->drom = NULL; in tb_drom_copy_efi()
494 sw->drom = kzalloc(*size, GFP_KERNEL); in tb_drom_copy_nvm()
495 if (!sw->drom) in tb_drom_copy_nvm()
[all …]
H A Dtb.h192 u8 *drom; member
H A Dswitch.c2264 kfree(sw->drom); in tb_switch_release()