Home
last modified time | relevance | path

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

/drivers/thunderbolt/
Deeprom.c343 struct tb_drom_header *header = (void *) sw->drom; in tb_drom_parse_entries()
348 struct tb_drom_entry_header *entry = (void *) (sw->drom + pos); in tb_drom_parse_entries()
372 if (sw->drom) in tb_drom_read()
409 sw->drom = kzalloc(size, GFP_KERNEL); in tb_drom_read()
410 if (!sw->drom) in tb_drom_read()
412 res = tb_eeprom_read_n(sw, drom_offset, sw->drom, size); in tb_drom_read()
416 header = (void *) sw->drom; in tb_drom_read()
432 crc = tb_crc32(sw->drom + TB_DROM_DATA_START, header->data_len); in tb_drom_read()
446 kfree(sw->drom); in tb_drom_read()
447 sw->drom = NULL; in tb_drom_read()
Dswitch.c330 kfree(sw->drom); in tb_switch_free()
422 kfree(sw->drom); in tb_switch_alloc()
Dtb.h25 u8 *drom; member