Lines Matching refs:hix5hd2_priv
205 struct hix5hd2_priv { struct
236 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_config_port() argument
279 static void hix5hd2_set_desc_depth(struct hix5hd2_priv *priv, int rx, int tx) in hix5hd2_set_desc_depth()
298 static void hix5hd2_set_rx_fq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_fq()
305 static void hix5hd2_set_rx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_bq()
312 static void hix5hd2_set_tx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_bq()
319 static void hix5hd2_set_tx_rq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_rq()
326 static void hix5hd2_set_desc_addr(struct hix5hd2_priv *priv) in hix5hd2_set_desc_addr()
334 static void hix5hd2_hw_init(struct hix5hd2_priv *priv) in hix5hd2_hw_init()
356 static void hix5hd2_irq_enable(struct hix5hd2_priv *priv) in hix5hd2_irq_enable()
361 static void hix5hd2_irq_disable(struct hix5hd2_priv *priv) in hix5hd2_irq_disable()
366 static void hix5hd2_port_enable(struct hix5hd2_priv *priv) in hix5hd2_port_enable()
372 static void hix5hd2_port_disable(struct hix5hd2_priv *priv) in hix5hd2_port_disable()
380 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_hw_set_mac_addr()
404 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_adjust_link()
413 static void hix5hd2_rx_refill(struct hix5hd2_priv *priv) in hix5hd2_rx_refill()
459 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_rx()
520 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_xmit_reclaim()
564 struct hix5hd2_priv *priv = container_of(napi, in hix5hd2_poll()
565 struct hix5hd2_priv, napi); in hix5hd2_poll()
593 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_interrupt()
607 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_xmit()
648 static void hix5hd2_free_dma_desc_rings(struct hix5hd2_priv *priv) in hix5hd2_free_dma_desc_rings()
682 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_open()
712 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_close()
732 struct hix5hd2_priv *priv; in hix5hd2_tx_timeout_task()
734 priv = container_of(work, struct hix5hd2_priv, tx_timeout_task); in hix5hd2_tx_timeout_task()
741 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_timeout()
757 struct hix5hd2_priv *priv = netdev_priv(net_dev); in hix5hd2_get_settings()
768 struct hix5hd2_priv *priv = netdev_priv(net_dev); in hix5hd2_set_settings()
784 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_wait_ready()
799 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_read()
827 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_write()
842 static void hix5hd2_destroy_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_hw_desc_queue()
856 static int hix5hd2_init_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_hw_desc_queue()
893 struct hix5hd2_priv *priv; in hix5hd2_dev_probe()
899 ndev = alloc_etherdev(sizeof(struct hix5hd2_priv)); in hix5hd2_dev_probe()
1031 struct hix5hd2_priv *priv = netdev_priv(ndev); in hix5hd2_dev_remove()