Searched refs:MACREG (Results 1 – 1 of 1) sorted by relevance
/titanic_41/usr/src/uts/common/io/chxge/com/ |
H A D | ixf1010.c | 156 #define MACREG(mac, mac_reg) ((mac)->instance->mac_base + (mac_reg)) macro 175 (void) t1_tpi_read((mac)->adapter, MACREG(mac, REG_##name), &val); \ 238 (void) t1_tpi_write(mac->adapter, MACREG(mac, REG_MACADDR_LOW), addr_lo); in mac_set_address() 239 (void) t1_tpi_write(mac->adapter, MACREG(mac, REG_MACADDR_HIGH), addr_hi); in mac_set_address() 247 (void) t1_tpi_read(mac->adapter, MACREG(mac, REG_MACADDR_LOW), &addr_lo); in mac_get_address() 248 (void) t1_tpi_read(mac->adapter, MACREG(mac, REG_MACADDR_HIGH), &addr_hi); in mac_get_address() 273 (void) t1_tpi_read(adapter, MACREG(mac, REG_RX_FILTER), &val); in mac_set_rx_mode() 281 (void) t1_tpi_write(adapter, MACREG(mac, REG_RX_FILTER), new_mode); in mac_set_rx_mode() 284 (void) t1_tpi_write(adapter, MACREG(mac, REG_MC_ADDR_LOW), 0); in mac_set_rx_mode() 285 (void) t1_tpi_write(adapter, MACREG(mac, REG_MC_ADDR_HIGH), 0); in mac_set_rx_mode() [all …]
|