Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/thunderbolt/
Deeprom.c384 struct tb_drom_header *header = (void *) sw->drom; in tb_drom_parse_entries()
390 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); in tb_drom_parse_entries()
425 sw->drom = kmalloc(len, GFP_KERNEL); in tb_drom_copy_efi()
426 if (!sw->drom) in tb_drom_copy_efi()
429 res = device_property_read_u8_array(dev, "ThunderboltDROM", sw->drom, in tb_drom_copy_efi()
434 *size = ((struct tb_drom_header *)sw->drom)->data_len + in tb_drom_copy_efi()
442 kfree(sw->drom); in tb_drom_copy_efi()
443 sw->drom = NULL; in tb_drom_copy_efi()
470 sw->drom = kzalloc(*size, GFP_KERNEL); in tb_drom_copy_nvm()
471 if (!sw->drom) in tb_drom_copy_nvm()
[all …]
Dtb.h162 u8 *drom; member
Dswitch.c1769 kfree(sw->drom); in tb_switch_release()