Lines Matching refs:a
36 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
37 writel((value), ((a)->hw_addr + \
38 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
41 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
42 readl((a)->hw_addr + \
43 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
49 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
50 writew((value), ((a)->hw_addr + \
51 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
54 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
55 readw((a)->hw_addr + \
56 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
59 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
60 writeb((value), ((a)->hw_addr + \
61 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
64 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
65 readb((a)->hw_addr + \
66 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
71 #define E1000_WRITE_ICH_FLASH_REG(a, reg, value) ( \ argument
72 writel((value), ((a)->flash_address + reg)))
74 #define E1000_READ_ICH_FLASH_REG(a, reg) ( \ argument
75 readl((a)->flash_address + reg))
77 #define E1000_WRITE_ICH_FLASH_REG16(a, reg, value) ( \ argument
78 writew((value), ((a)->flash_address + reg)))
80 #define E1000_READ_ICH_FLASH_REG16(a, reg) ( \ argument
81 readw((a)->flash_address + reg))