Lines Matching refs:a

84 #define E1000_WRITE_REG(a, reg, value) ( \  argument
85 writel((value), ((a)->hw_addr + \
86 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg))))
88 #define E1000_READ_REG(a, reg) ( \ argument
89 readl((a)->hw_addr + \
90 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg)))
92 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
93 writel((value), ((a)->hw_addr + \
94 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
97 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
98 readl((a)->hw_addr + \
99 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
105 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
106 writew((value), ((a)->hw_addr + \
107 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
110 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
111 readw((a)->hw_addr + \
112 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
115 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
116 writeb((value), ((a)->hw_addr + \
117 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
120 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
121 readb((a)->hw_addr + \
122 (((a)->mac_type >= e1000_82543) ? E1000_##reg : E1000_82542_##reg) + \
125 #define E1000_WRITE_FLUSH(a) E1000_READ_REG(a, STATUS) argument
127 #define E1000_WRITE_ICH_FLASH_REG(a, reg, value) ( \ argument
128 writel((value), ((a)->flash_address + reg)))
130 #define E1000_READ_ICH_FLASH_REG(a, reg) ( \ argument
131 readl((a)->flash_address + reg))
133 #define E1000_WRITE_ICH_FLASH_REG16(a, reg, value) ( \ argument
134 writew((value), ((a)->flash_address + reg)))
136 #define E1000_READ_ICH_FLASH_REG16(a, reg) ( \ argument
137 readw((a)->flash_address + reg))