Searched refs:drom (Results 1 – 3 of 3) sorted by relevance
343 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()414 sw->drom = kzalloc(size, GFP_KERNEL); in tb_drom_read()415 if (!sw->drom) in tb_drom_read()417 res = tb_eeprom_read_n(sw, drom_offset, sw->drom, size); in tb_drom_read()421 header = (void *) sw->drom; in tb_drom_read()437 crc = tb_crc32(sw->drom + TB_DROM_DATA_START, header->data_len); in tb_drom_read()451 kfree(sw->drom); in tb_drom_read()452 sw->drom = NULL; in tb_drom_read()
330 kfree(sw->drom); in tb_switch_free()426 kfree(sw->drom); in tb_switch_alloc()
25 u8 *drom; member