Searched refs:smc911x_reg_write (Results 1 – 6 of 6) sorted by relevance
/external/u-boot/board/micronas/vct/ |
D | smc_eeprom.c | 94 smc911x_reg_write(MAC_CSR_CMD, MAC_RD_CMD(reg)); in get_mac_reg() 116 smc911x_reg_write(GPIO_CFG, (gpio & 0xFF0FFFFFUL)); in eeprom_enable_access() 123 smc911x_reg_write(GPIO_CFG, gpio); in eeprom_disable_access() 146 smc911x_reg_write(E2P_CMD, in eeprom_read_location() 173 smc911x_reg_write(E2P_CMD, (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_)); in eeprom_enable_erase_and_write() 196 smc911x_reg_write(E2P_CMD, (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWDS_)); in eeprom_disable_erase_and_write() 222 smc911x_reg_write(E2P_DATA, ((ulong) data)); in eeprom_write_location() 223 smc911x_reg_write(E2P_CMD, in eeprom_write_location() 249 smc911x_reg_write(E2P_CMD, (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_ERAL_)); in eeprom_erase_all() 272 smc911x_reg_write(E2P_CMD, in eeprom_reload()
|
D | vct.h | 73 void smc911x_reg_write(u32 addr, u32 data);
|
D | ebi_smc911x.c | 49 void smc911x_reg_write(struct eth_device *dev, u32 addr, u32 data) in smc911x_reg_write() function
|
/external/u-boot/drivers/net/ |
D | smc911x.h | 34 void smc911x_reg_write(struct eth_device *dev, u32 offset, u32 val) 42 static inline void smc911x_reg_write(struct eth_device *dev, in smc911x_reg_write() function 408 smc911x_reg_write(dev, MAC_CSR_CMD, in smc911x_get_mac_csr() 420 smc911x_reg_write(dev, MAC_CSR_DATA, data); in smc911x_set_mac_csr() 421 smc911x_reg_write(dev, MAC_CSR_CMD, MAC_CSR_CMD_CSR_BUSY | reg); in smc911x_set_mac_csr() 463 smc911x_reg_write(dev, BYTE_TEST, 0x0); in smc911x_reset() 478 smc911x_reg_write(dev, INT_EN, 0); in smc911x_reset() 480 smc911x_reg_write(dev, HW_CFG, HW_CFG_SRST); in smc911x_reset() 493 smc911x_reg_write(dev, AFC_CFG, 0x0050287F); in smc911x_reset() 496 smc911x_reg_write(dev, GPIO_CFG, 0x70070000); in smc911x_reset()
|
D | smc911x.c | 73 smc911x_reg_write(dev, PMT_CTRL, reg); in smc911x_phy_reset() 114 smc911x_reg_write(dev, HW_CFG, 8 << 16 | HW_CFG_SF); in smc911x_enable() 116 smc911x_reg_write(dev, GPT_CFG, GPT_CFG_TIMER_EN | 10000); in smc911x_enable() 118 smc911x_reg_write(dev, TX_CFG, TX_CFG_TX_ON); in smc911x_enable() 121 smc911x_reg_write(dev, RX_CFG, 0); in smc911x_enable() 153 smc911x_reg_write(dev, TX_DATA_FIFO, TX_CMD_A_INT_FIRST_SEG | in smc911x_send() 155 smc911x_reg_write(dev, TX_DATA_FIFO, length); in smc911x_send() 202 smc911x_reg_write(dev, RX_CFG, 0); in smc911x_rx()
|
/external/u-boot/examples/standalone/ |
D | smc911x_eeprom.c | 77 smc911x_reg_write(dev, E2P_CMD, E2P_CMD_EPC_BUSY | cmd | reg); in do_eeprom_cmd() 116 smc911x_reg_write(dev, E2P_DATA, value); in write_eeprom_reg() 187 smc911x_reg_write(dev, reg, value); in write_stuff() 258 smc911x_reg_write(dev, GPIO_CFG, in smc911x_init()
|