Searched refs:MAC_CSR_CMD (Results 1 – 2 of 2) sorted by relevance
276 #define MAC_CSR_CMD 0xA4 macro406 while (smc911x_reg_read(dev, MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY) in smc911x_get_mac_csr()408 smc911x_reg_write(dev, MAC_CSR_CMD, in smc911x_get_mac_csr()410 while (smc911x_reg_read(dev, MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY) in smc911x_get_mac_csr()418 while (smc911x_reg_read(dev, MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY) in smc911x_set_mac_csr()421 smc911x_reg_write(dev, MAC_CSR_CMD, MAC_CSR_CMD_CSR_BUSY | reg); in smc911x_set_mac_csr()422 while (smc911x_reg_read(dev, MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY) in smc911x_set_mac_csr()
37 #define MAC_CSR_CMD (SMSC9118_BASE + 0xA4) macro76 if (!(smc911x_reg_read(MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY)) in mac_busy()89 if (smc911x_reg_read(MAC_CSR_CMD) & MAC_CSR_CMD_CSR_BUSY) { in get_mac_reg()94 smc911x_reg_write(MAC_CSR_CMD, MAC_RD_CMD(reg)); in get_mac_reg()130 ret = smc911x_reg_read(MAC_CSR_CMD) & E2P_CMD_MAC_ADDR_LOADED_; in eeprom_is_mac_address_loaded()