Home
last modified time | relevance | path

Searched refs:E2P_CMD_EPC_BUSY_ (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c377 if (!(val & E2P_CMD_EPC_BUSY_) || in lan743x_eeprom_wait()
383 if (val & (E2P_CMD_EPC_TIMEOUT_ | E2P_CMD_EPC_BUSY_)) { in lan743x_eeprom_wait()
400 if (!(val & E2P_CMD_EPC_BUSY_)) in lan743x_eeprom_confirm_not_busy()
425 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_; in lan743x_eeprom_read()
456 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_; in lan743x_eeprom_write()
469 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_WRITE_; in lan743x_eeprom_write()
Dlan743x_main.h85 #define E2P_CMD_EPC_BUSY_ BIT(31) macro
/linux-6.6.21/drivers/net/ethernet/smsc/
Dsmsc9420.h245 #define E2P_CMD_EPC_BUSY_ (0x80000000) macro
Dsmsc9420.c195 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_reload()
201 (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_RELOAD_)); in smsc9420_eeprom_reload()
205 if (!(smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_)) in smsc9420_eeprom_reload()
278 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_send_cmd()
283 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc9420_eeprom_send_cmd()
289 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc9420_eeprom_send_cmd()
Dsmsc911x.h292 #define E2P_CMD_EPC_BUSY_ 0x80000000 macro
Dsmsc911x.c1628 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()
2022 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()
2027 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc911x_eeprom_send_cmd()
2033 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc911x_eeprom_send_cmd()
/linux-6.6.21/drivers/net/usb/
Dlan78xx.h298 #define E2P_CMD_EPC_BUSY_ (0x80000000) macro
Dlan78xx.c865 if (!(val & E2P_CMD_EPC_BUSY_) || in lan78xx_wait_eeprom()
871 if (val & (E2P_CMD_EPC_TIMEOUT_ | E2P_CMD_EPC_BUSY_)) { in lan78xx_wait_eeprom()
890 if (!(val & E2P_CMD_EPC_BUSY_)) in lan78xx_eeprom_confirm_not_busy()
923 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_; in lan78xx_read_raw_eeprom()
991 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_; in lan78xx_write_raw_eeprom()
1012 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_WRITE_; in lan78xx_write_raw_eeprom()