Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/thunderbolt/
Deeprom.c380 struct tb_drom_header *header = (void *) sw->drom; in tb_drom_parse_entries()
386 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); in tb_drom_parse_entries()
421 sw->drom = kmalloc(len, GFP_KERNEL); in tb_drom_copy_efi()
422 if (!sw->drom) in tb_drom_copy_efi()
425 res = device_property_read_u8_array(dev, "ThunderboltDROM", sw->drom, in tb_drom_copy_efi()
430 *size = ((struct tb_drom_header *)sw->drom)->data_len + in tb_drom_copy_efi()
438 kfree(sw->drom); in tb_drom_copy_efi()
439 sw->drom = NULL; in tb_drom_copy_efi()
466 sw->drom = kzalloc(*size, GFP_KERNEL); in tb_drom_copy_nvm()
467 if (!sw->drom) in tb_drom_copy_nvm()
[all …]
Dtb.h104 u8 *drom; member
Dswitch.c1400 kfree(sw->drom); in tb_switch_release()