Lines Matching refs:sh_eth_read
102 if (!(sh_eth_read(port_info, EDTRR) & EDTRR_TRNS)) in sh_eth_send_common()
175 if (!(sh_eth_read(port_info, EDMR) & EDMR_SRST)) in sh_eth_reset()
187 sh_eth_write(port_info, sh_eth_read(port_info, EDMR) | EDMR_SRST, EDMR); in sh_eth_reset()
190 sh_eth_read(port_info, EDMR) & ~EDMR_SRST, EDMR); in sh_eth_reset()
385 edmr = sh_eth_read(port_info, EDMR); in sh_eth_mac_regs_config()
422 sh_eth_write(port_info, sh_eth_read(port_info, RMIIMR) | 0x1, RMIIMR); in sh_eth_mac_regs_config()
568 if (!(sh_eth_read(port_info, EDRRR) & EDRRR_R)) in sh_eth_recv_common()
721 if (!(sh_eth_read(port_info, EDRRR) & EDRRR_R)) in sh_ether_recv()
737 if (!(sh_eth_read(port_info, EDRRR) & EDRRR_R)) in sh_ether_free_pkt()
978 sh_eth_write(port_info, sh_eth_read(port_info, PIR) | PIR_MMD, PIR); in sh_eth_bb_mdio_active()
988 sh_eth_write(port_info, sh_eth_read(port_info, PIR) & ~PIR_MMD, PIR); in sh_eth_bb_mdio_tristate()
1000 sh_eth_read(port_info, PIR) | PIR_MDO, PIR); in sh_eth_bb_set_mdio()
1003 sh_eth_read(port_info, PIR) & ~PIR_MDO, PIR); in sh_eth_bb_set_mdio()
1013 *v = (sh_eth_read(port_info, PIR) & PIR_MDI) >> 3; in sh_eth_bb_get_mdio()
1025 sh_eth_read(port_info, PIR) | PIR_MDC, PIR); in sh_eth_bb_set_mdc()
1028 sh_eth_read(port_info, PIR) & ~PIR_MDC, PIR); in sh_eth_bb_set_mdc()