Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/thunderbolt/
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()
495 sw->drom = kzalloc(*size, GFP_KERNEL); in tb_drom_copy_nvm()
496 if (!sw->drom) in tb_drom_copy_nvm()
[all …]
Dtb.h201 u8 *drom; member
Dswitch.c2173 kfree(sw->drom); in tb_switch_release()