Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/igb/
De1000_i210.h22 #define INVM_DWORD_TO_RECORD_TYPE(invm_dword) \ argument
23 (u8)((invm_dword) & 0x7)
24 #define INVM_DWORD_TO_WORD_ADDRESS(invm_dword) \ argument
25 (u8)(((invm_dword) & 0x0000FE00) >> 9)
26 #define INVM_DWORD_TO_WORD_DATA(invm_dword) \ argument
27 (u16)(((invm_dword) & 0xFFFF0000) >> 16)
De1000_i210.c327 u32 invm_dword; in igb_read_invm_word_i210() local
332 invm_dword = rd32(E1000_INVM_DATA_REG(i)); in igb_read_invm_word_i210()
334 record_type = INVM_DWORD_TO_RECORD_TYPE(invm_dword); in igb_read_invm_word_i210()
342 word_address = INVM_DWORD_TO_WORD_ADDRESS(invm_dword); in igb_read_invm_word_i210()
344 *data = INVM_DWORD_TO_WORD_DATA(invm_dword); in igb_read_invm_word_i210()
449 u32 invm_dword = 0; in igb_read_invm_version() local
458 invm_dword = rd32(E1000_INVM_DATA_REG(i)); in igb_read_invm_version()
459 buffer[i] = invm_dword; in igb_read_invm_version()