Searched refs:invm_dword (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A De1000_i210.h41 #define INVM_DWORD_TO_RECORD_TYPE(invm_dword) \
42 (u8)((invm_dword) & 0x7)
43 #define INVM_DWORD_TO_WORD_ADDRESS(invm_dword) \
44 (u8)(((invm_dword) & 0x0000FE00) >> 9)
45 #define INVM_DWORD_TO_WORD_DATA(invm_dword) \
46 (u16)(((invm_dword) & 0xFFFF0000) >> 16)
H A De1000_i210.c347 u32 invm_dword; igb_read_invm_word_i210() local
352 invm_dword = rd32(E1000_INVM_DATA_REG(i)); igb_read_invm_word_i210()
354 record_type = INVM_DWORD_TO_RECORD_TYPE(invm_dword); igb_read_invm_word_i210()
362 word_address = INVM_DWORD_TO_WORD_ADDRESS(invm_dword); igb_read_invm_word_i210()
364 *data = INVM_DWORD_TO_WORD_DATA(invm_dword); igb_read_invm_word_i210()
468 u32 invm_dword = 0; igb_read_invm_version() local
477 invm_dword = rd32(E1000_INVM_DATA_REG(i)); igb_read_invm_version()
478 buffer[i] = invm_dword; igb_read_invm_version()

Completed in 51 milliseconds