Lines Matching refs:hix5hd2_priv

240 struct hix5hd2_priv {  struct
275 static inline void hix5hd2_mac_interface_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_interface_reset() argument
286 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_config_port()
330 static void hix5hd2_set_desc_depth(struct hix5hd2_priv *priv, int rx, int tx) in hix5hd2_set_desc_depth()
349 static void hix5hd2_set_rx_fq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_fq()
356 static void hix5hd2_set_rx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_bq()
363 static void hix5hd2_set_tx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_bq()
370 static void hix5hd2_set_tx_rq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_rq()
377 static void hix5hd2_set_desc_addr(struct hix5hd2_priv *priv) in hix5hd2_set_desc_addr()
385 static void hix5hd2_hw_init(struct hix5hd2_priv *priv) in hix5hd2_hw_init()
407 static void hix5hd2_irq_enable(struct hix5hd2_priv *priv) in hix5hd2_irq_enable()
412 static void hix5hd2_irq_disable(struct hix5hd2_priv *priv) in hix5hd2_irq_disable()
417 static void hix5hd2_port_enable(struct hix5hd2_priv *priv) in hix5hd2_port_enable()
423 static void hix5hd2_port_disable(struct hix5hd2_priv *priv) in hix5hd2_port_disable()
431 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_hw_set_mac_addr()
455 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_adjust_link()
464 static void hix5hd2_rx_refill(struct hix5hd2_priv *priv) in hix5hd2_rx_refill()
510 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_rx()
566 static void hix5hd2_clean_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_clean_sg_desc()
591 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_xmit_reclaim()
642 struct hix5hd2_priv *priv = container_of(napi, in hix5hd2_poll()
643 struct hix5hd2_priv, napi); in hix5hd2_poll()
671 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_interrupt()
702 static int hix5hd2_fill_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_fill_sg_desc()
737 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_xmit()
793 static void hix5hd2_free_dma_desc_rings(struct hix5hd2_priv *priv) in hix5hd2_free_dma_desc_rings()
827 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_open()
868 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_close()
889 struct hix5hd2_priv *priv; in hix5hd2_tx_timeout_task()
891 priv = container_of(work, struct hix5hd2_priv, tx_timeout_task); in hix5hd2_tx_timeout_task()
898 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_timeout()
919 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_wait_ready()
934 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_read()
962 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_write()
977 static void hix5hd2_destroy_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_hw_desc_queue()
991 static int hix5hd2_init_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_hw_desc_queue()
1022 static int hix5hd2_init_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_sg_desc_queue()
1039 static void hix5hd2_destroy_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_sg_desc_queue()
1049 static inline void hix5hd2_mac_core_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_core_reset()
1072 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()
1288 struct hix5hd2_priv *priv = netdev_priv(ndev); in hix5hd2_dev_remove()