Home
last modified time | relevance | path

Searched refs:smc911x_reg_write (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/board/micronas/vct/
H A Dsmc_eeprom.c94 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()
H A Dvct.h73 void smc911x_reg_write(u32 addr, u32 data);
H A Debi_smc911x.c49 void smc911x_reg_write(struct eth_device *dev, u32 addr, u32 data) in smc911x_reg_write() function
/openbmc/u-boot/drivers/net/
H A Dsmc911x.h34 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()
H A Dsmc911x.c73 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()
/openbmc/u-boot/examples/standalone/
H A Dsmc911x_eeprom.c77 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()