Searched refs:E2P_CMD (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/microchip/ |
D | lan743x_ethtool.c | 375 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()
|
D | lan743x_main.h | 87 #define E2P_CMD (0x040) macro
|
/linux-6.12.1/drivers/net/ethernet/smsc/ |
D | smsc9420.h | 244 #define E2P_CMD (0xF8) macro
|
D | smsc9420.c | 196 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()
|
D | smsc911x.h | 291 #define E2P_CMD 0xB0 macro
|
D | smsc911x.c | 1629 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/ |
D | smsc95xx.h | 140 #define E2P_CMD (0x30) macro
|
D | smsc75xx.h | 190 #define E2P_CMD (0x0040) macro
|
D | smsc75xx.c | 298 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()
|
D | smsc95xx.c | 318 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()
|
D | lan78xx.h | 297 #define E2P_CMD (0x040) macro
|
D | lan78xx.c | 331 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()
|