Lines Matching refs:hix5hd2_priv
241 struct hix5hd2_priv { struct
276 static inline void hix5hd2_mac_interface_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_interface_reset() argument
287 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_config_port()
331 static void hix5hd2_set_desc_depth(struct hix5hd2_priv *priv, int rx, int tx) in hix5hd2_set_desc_depth()
350 static void hix5hd2_set_rx_fq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_fq()
357 static void hix5hd2_set_rx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_bq()
364 static void hix5hd2_set_tx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_bq()
371 static void hix5hd2_set_tx_rq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_rq()
378 static void hix5hd2_set_desc_addr(struct hix5hd2_priv *priv) in hix5hd2_set_desc_addr()
386 static void hix5hd2_hw_init(struct hix5hd2_priv *priv) in hix5hd2_hw_init()
408 static void hix5hd2_irq_enable(struct hix5hd2_priv *priv) in hix5hd2_irq_enable()
413 static void hix5hd2_irq_disable(struct hix5hd2_priv *priv) in hix5hd2_irq_disable()
418 static void hix5hd2_port_enable(struct hix5hd2_priv *priv) in hix5hd2_port_enable()
424 static void hix5hd2_port_disable(struct hix5hd2_priv *priv) in hix5hd2_port_disable()
432 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_hw_set_mac_addr()
456 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_adjust_link()
465 static void hix5hd2_rx_refill(struct hix5hd2_priv *priv) in hix5hd2_rx_refill()
511 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_rx()
567 static void hix5hd2_clean_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_clean_sg_desc()
592 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_xmit_reclaim()
643 struct hix5hd2_priv *priv = container_of(napi, in hix5hd2_poll()
644 struct hix5hd2_priv, napi); in hix5hd2_poll()
672 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_interrupt()
703 static int hix5hd2_fill_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_fill_sg_desc()
738 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_xmit()
794 static void hix5hd2_free_dma_desc_rings(struct hix5hd2_priv *priv) in hix5hd2_free_dma_desc_rings()
828 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_open()
869 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_close()
890 struct hix5hd2_priv *priv; in hix5hd2_tx_timeout_task()
892 priv = container_of(work, struct hix5hd2_priv, tx_timeout_task); in hix5hd2_tx_timeout_task()
899 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_timeout()
920 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_wait_ready()
935 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_read()
963 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_write()
978 static void hix5hd2_destroy_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_hw_desc_queue()
992 static int hix5hd2_init_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_hw_desc_queue()
1023 static int hix5hd2_init_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_sg_desc_queue()
1040 static void hix5hd2_destroy_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_sg_desc_queue()
1050 static inline void hix5hd2_mac_core_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_core_reset()
1073 static void hix5hd2_phy_reset(struct hix5hd2_priv *priv) in hix5hd2_phy_reset()
1099 struct hix5hd2_priv *priv; in hix5hd2_dev_probe()
1103 ndev = alloc_etherdev(sizeof(struct hix5hd2_priv)); in hix5hd2_dev_probe()
1283 struct hix5hd2_priv *priv = netdev_priv(ndev); in hix5hd2_dev_remove()