Home
last modified time | relevance | path

Searched refs:drom_offset (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/thunderbolt/
Deeprom.c261 if (cap.drom_offset > 0xffff) { in tb_eeprom_get_drom_offset()
263 cap.drom_offset); in tb_eeprom_get_drom_offset()
266 *offset = cap.drom_offset; in tb_eeprom_get_drom_offset()
279 u16 drom_offset; in tb_drom_read_uid_only() local
281 int res = tb_eeprom_get_drom_offset(sw, &drom_offset); in tb_drom_read_uid_only()
285 if (drom_offset == 0) in tb_drom_read_uid_only()
289 res = tb_eeprom_read_n(sw, drom_offset, data, 9); in tb_drom_read_uid_only()
444 u32 drom_offset; in tb_drom_copy_nvm() local
450 ret = tb_sw_read(sw, &drom_offset, TB_CFG_SWITCH, in tb_drom_copy_nvm()
455 if (!drom_offset) in tb_drom_copy_nvm()
[all …]
Dtb_regs.h138 u32 drom_offset; /* 32 bit register, but eeprom addresses are 16 bit */ member