Lines Matching refs:sh_eth_dev
58 struct sh_eth_dev *eth = dev->priv; in sh_eth_send()
116 struct sh_eth_dev *eth = dev->priv; in sh_eth_recv()
156 static int sh_eth_reset(struct sh_eth_dev *eth) in sh_eth_reset()
187 static int sh_eth_tx_desc_init(struct sh_eth_dev *eth) in sh_eth_tx_desc_init()
238 static int sh_eth_rx_desc_init(struct sh_eth_dev *eth) in sh_eth_rx_desc_init()
311 static void sh_eth_tx_desc_free(struct sh_eth_dev *eth) in sh_eth_tx_desc_free()
322 static void sh_eth_rx_desc_free(struct sh_eth_dev *eth) in sh_eth_rx_desc_free()
338 static int sh_eth_desc_init(struct sh_eth_dev *eth) in sh_eth_desc_init()
358 static int sh_eth_phy_config(struct sh_eth_dev *eth) in sh_eth_phy_config()
374 static int sh_eth_config(struct sh_eth_dev *eth, bd_t *bd) in sh_eth_config()
481 static void sh_eth_start(struct sh_eth_dev *eth) in sh_eth_start()
490 static void sh_eth_stop(struct sh_eth_dev *eth) in sh_eth_stop()
498 struct sh_eth_dev *eth = dev->priv; in sh_eth_init()
526 struct sh_eth_dev *eth = dev->priv; in sh_eth_halt()
533 struct sh_eth_dev *eth = NULL; in sh_eth_initialize()
536 eth = (struct sh_eth_dev *)malloc(sizeof(struct sh_eth_dev)); in sh_eth_initialize()
550 memset(eth, 0, sizeof(struct sh_eth_dev)); in sh_eth_initialize()
605 struct sh_eth_dev *eth = bus->priv; in sh_eth_bb_mdio_active()
614 struct sh_eth_dev *eth = bus->priv; in sh_eth_bb_mdio_tristate()
623 struct sh_eth_dev *eth = bus->priv; in sh_eth_bb_set_mdio()
635 struct sh_eth_dev *eth = bus->priv; in sh_eth_bb_get_mdio()
644 struct sh_eth_dev *eth = bus->priv; in sh_eth_bb_set_mdc()