Home
last modified time | relevance | path

Searched refs:E2P_CMD (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c375 val = lan743x_csr_read(adapter, E2P_CMD); in lan743x_eeprom_wait()
398 val = lan743x_csr_read(adapter, E2P_CMD); in lan743x_eeprom_confirm_not_busy()
427 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_read()
457 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_write()
471 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_write()
1213 rb[ETH_E2P_CMD] = lan743x_csr_read(adapter, E2P_CMD); in lan743x_common_regs()
Dlan743x_main.h87 #define E2P_CMD (0x040) macro
/linux-6.12.1/drivers/net/ethernet/smsc/
Dsmsc9420.h244 #define E2P_CMD (0xF8) macro
Dsmsc9420.c196 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_reload()
201 smsc9420_reg_write(pd, E2P_CMD, in smsc9420_eeprom_reload()
206 if (!(smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_)) in smsc9420_eeprom_reload()
279 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_send_cmd()
285 smsc9420_reg_write(pd, E2P_CMD, e2cmd); in smsc9420_eeprom_send_cmd()
289 e2cmd = smsc9420_reg_read(pd, E2P_CMD); in smsc9420_eeprom_send_cmd()
Dsmsc911x.h291 #define E2P_CMD 0xB0 macro
Dsmsc911x.c1629 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()
2023 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()
2029 smsc911x_reg_write(pdata, E2P_CMD, e2cmd); in smsc911x_eeprom_send_cmd()
2033 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); in smsc911x_eeprom_send_cmd()
/linux-6.12.1/drivers/net/usb/
Dsmsc95xx.h140 #define E2P_CMD (0x30) macro
Dsmsc75xx.h190 #define E2P_CMD (0x0040) macro
Dsmsc75xx.c298 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_wait_eeprom()
324 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_eeprom_confirm_not_busy()
355 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_read_eeprom()
393 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
415 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
1257 ret = smsc75xx_read_reg(dev, E2P_CMD, &buf); in smsc75xx_reset()
Dsmsc95xx.c318 ret = smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_wait_eeprom()
344 ret = smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_eeprom_confirm_not_busy()
375 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_read_eeprom()
413 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
435 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
Dlan78xx.h297 #define E2P_CMD (0x040) macro
Dlan78xx.c331 E2P_CMD,
856 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_wait_eeprom()
881 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_eeprom_confirm_not_busy()
920 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_read_raw_eeprom()
987 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_write_raw_eeprom()
1009 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_write_raw_eeprom()