drom_offset 262 drivers/thunderbolt/eeprom.c if (cap.drom_offset > 0xffff) { drom_offset 264 drivers/thunderbolt/eeprom.c cap.drom_offset); drom_offset 267 drivers/thunderbolt/eeprom.c *offset = cap.drom_offset; drom_offset 280 drivers/thunderbolt/eeprom.c u16 drom_offset; drom_offset 282 drivers/thunderbolt/eeprom.c int res = tb_eeprom_get_drom_offset(sw, &drom_offset); drom_offset 286 drivers/thunderbolt/eeprom.c if (drom_offset == 0) drom_offset 290 drivers/thunderbolt/eeprom.c res = tb_eeprom_read_n(sw, drom_offset, data, 9); drom_offset 445 drivers/thunderbolt/eeprom.c u32 drom_offset; drom_offset 451 drivers/thunderbolt/eeprom.c ret = tb_sw_read(sw, &drom_offset, TB_CFG_SWITCH, drom_offset 456 drivers/thunderbolt/eeprom.c if (!drom_offset) drom_offset 459 drivers/thunderbolt/eeprom.c ret = dma_port_flash_read(sw->dma_port, drom_offset + 14, size, drom_offset 470 drivers/thunderbolt/eeprom.c ret = dma_port_flash_read(sw->dma_port, drom_offset, sw->drom, *size); drom_offset 492 drivers/thunderbolt/eeprom.c u16 drom_offset; drom_offset 531 drivers/thunderbolt/eeprom.c res = tb_eeprom_get_drom_offset(sw, &drom_offset); drom_offset 535 drivers/thunderbolt/eeprom.c res = tb_eeprom_read_n(sw, drom_offset + 14, (u8 *) &size, 2); drom_offset 549 drivers/thunderbolt/eeprom.c res = tb_eeprom_read_n(sw, drom_offset, sw->drom, size); drom_offset 139 drivers/thunderbolt/tb_regs.h u32 drom_offset; /* 32 bit register, but eeprom addresses are 16 bit */