Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c158 val = lan743x_csr_read(adapter, E2P_CMD); in lan743x_eeprom_wait()
181 val = lan743x_csr_read(adapter, E2P_CMD); in lan743x_eeprom_confirm_not_busy()
210 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_read()
240 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_write()
254 lan743x_csr_write(adapter, E2P_CMD, val); in lan743x_eeprom_write()
Dlan743x_main.h63 #define E2P_CMD (0x040) macro
/kernel/linux/linux-5.10/drivers/net/ethernet/smsc/
Dsmsc9420.h245 #define E2P_CMD (0xF8) macro
Dsmsc9420.c195 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_reload()
200 smsc9420_reg_write(pd, E2P_CMD, 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()
284 smsc9420_reg_write(pd, E2P_CMD, e2cmd); in smsc9420_eeprom_send_cmd()
288 e2cmd = smsc9420_reg_read(pd, E2P_CMD); in smsc9420_eeprom_send_cmd()
Dsmsc911x.h291 #define E2P_CMD 0xB0 macro
Dsmc911x.h521 #define E2P_CMD (0xB0) macro
776 #define SMC_GET_E2P_CMD(lp) SMC_inl( lp, E2P_CMD )
777 #define SMC_SET_E2P_CMD(lp, x) SMC_outl( x, lp, E2P_CMD )
Dsmsc911x.c1618 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()
2012 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()
2018 smsc911x_reg_write(pdata, E2P_CMD, e2cmd); in smsc911x_eeprom_send_cmd()
2022 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); in smsc911x_eeprom_send_cmd()
Dsmc911x.c1545 return (((E2P_CMD - ID_REV)/4 + 1) + in smc911x_ethtool_getregslen()
1558 for(i=ID_REV;i<=E2P_CMD;i+=4) { in smc911x_ethtool_getregs()
/kernel/linux/linux-5.10/drivers/net/usb/
Dsmsc95xx.h140 #define E2P_CMD (0x30) macro
Dsmsc75xx.h190 #define E2P_CMD (0x0040) macro
Dsmsc95xx.c297 ret = smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_wait_eeprom()
323 ret = smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_eeprom_confirm_not_busy()
354 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_read_eeprom()
392 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
414 ret = smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
Dsmsc75xx.c301 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_wait_eeprom()
327 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_eeprom_confirm_not_busy()
358 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_read_eeprom()
396 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
418 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
1259 ret = smsc75xx_read_reg(dev, E2P_CMD, &buf); in smsc75xx_reset()
Dlan78xx.h297 #define E2P_CMD (0x040) macro
Dlan78xx.c280 E2P_CMD,
649 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_wait_eeprom()
674 ret = lan78xx_read_reg(dev, E2P_CMD, &val); in lan78xx_eeprom_confirm_not_busy()
713 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_read_raw_eeprom()
780 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_write_raw_eeprom()
802 ret = lan78xx_write_reg(dev, E2P_CMD, val); in lan78xx_write_raw_eeprom()