Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/usb/
Dsmsc95xx.h116 #define E2P_CMD (0x30) macro
Dsmsc95xx.c202 smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_wait_eeprom()
222 smsc95xx_read_reg(dev, E2P_CMD, &val); in smsc95xx_eeprom_confirm_not_busy()
249 smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_read_eeprom()
279 smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
293 smsc95xx_write_reg(dev, E2P_CMD, val); in smsc95xx_write_eeprom()
Dsmsc75xx.c230 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_wait_eeprom()
253 ret = smsc75xx_read_reg(dev, E2P_CMD, &val); in smsc75xx_eeprom_confirm_not_busy()
281 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_read_eeprom()
313 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
329 ret = smsc75xx_write_reg(dev, E2P_CMD, val); in smsc75xx_write_eeprom()
Dsmsc75xx.h203 #define E2P_CMD (0x0040) macro
/linux-3.4.99/drivers/net/ethernet/smsc/
Dsmsc9420.h258 #define E2P_CMD (0xF8) macro
Dsmsc9420.c224 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_reload()
229 smsc9420_reg_write(pd, E2P_CMD, in smsc9420_eeprom_reload()
234 if (!(smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_)) in smsc9420_eeprom_reload()
351 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_send_cmd()
357 smsc9420_reg_write(pd, E2P_CMD, e2cmd); in smsc9420_eeprom_send_cmd()
361 e2cmd = smsc9420_reg_read(pd, E2P_CMD); in smsc9420_eeprom_send_cmd()
Dsmsc911x.h288 #define E2P_CMD 0xB0 macro
Dsmc911x.h544 #define E2P_CMD (0xB0) macro
799 #define SMC_GET_E2P_CMD(lp) SMC_inl( lp, E2P_CMD )
800 #define SMC_SET_E2P_CMD(lp, x) SMC_outl( x, lp, E2P_CMD )
Dsmsc911x.c1479 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()
1946 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()
1952 smsc911x_reg_write(pdata, E2P_CMD, e2cmd); in smsc911x_eeprom_send_cmd()
1956 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); in smsc911x_eeprom_send_cmd()
Dsmc911x.c1570 return (((E2P_CMD - ID_REV)/4 + 1) + in smc911x_ethtool_getregslen()
1583 for(i=ID_REV;i<=E2P_CMD;i+=4) { in smc911x_ethtool_getregs()