Searched refs:EDMR_SRST (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/drivers/net/ |
H A D | sh_eth.h | 328 EDMR_SRST = 0x03, /* Receive/Send reset */ enumerator 332 EDMR_SRST = 0x01, 336 EDMR_SRST = 0x01,
|
H A D | sh_eth.c | 167 sh_eth_write(port_info, EDMR_SRST, EDMR); in sh_eth_reset() 169 if (!(sh_eth_read(port_info, EDMR) & EDMR_SRST)) in sh_eth_reset() 181 sh_eth_write(port_info, sh_eth_read(port_info, EDMR) | EDMR_SRST, EDMR); in sh_eth_reset() 184 sh_eth_read(port_info, EDMR) & ~EDMR_SRST, EDMR); in sh_eth_reset()
|