Lines Matching refs:hix5hd2_priv
244 struct hix5hd2_priv { struct
279 static inline void hix5hd2_mac_interface_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_interface_reset() argument
290 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_config_port()
334 static void hix5hd2_set_desc_depth(struct hix5hd2_priv *priv, int rx, int tx) in hix5hd2_set_desc_depth()
353 static void hix5hd2_set_rx_fq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_fq()
360 static void hix5hd2_set_rx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_rx_bq()
367 static void hix5hd2_set_tx_bq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_bq()
374 static void hix5hd2_set_tx_rq(struct hix5hd2_priv *priv, dma_addr_t phy_addr) in hix5hd2_set_tx_rq()
381 static void hix5hd2_set_desc_addr(struct hix5hd2_priv *priv) in hix5hd2_set_desc_addr()
389 static void hix5hd2_hw_init(struct hix5hd2_priv *priv) in hix5hd2_hw_init()
411 static void hix5hd2_irq_enable(struct hix5hd2_priv *priv) in hix5hd2_irq_enable()
416 static void hix5hd2_irq_disable(struct hix5hd2_priv *priv) in hix5hd2_irq_disable()
421 static void hix5hd2_port_enable(struct hix5hd2_priv *priv) in hix5hd2_port_enable()
427 static void hix5hd2_port_disable(struct hix5hd2_priv *priv) in hix5hd2_port_disable()
435 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_hw_set_mac_addr()
459 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_adjust_link()
468 static void hix5hd2_rx_refill(struct hix5hd2_priv *priv) in hix5hd2_rx_refill()
514 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_rx()
570 static void hix5hd2_clean_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_clean_sg_desc()
595 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_xmit_reclaim()
646 struct hix5hd2_priv *priv = container_of(napi, in hix5hd2_poll()
647 struct hix5hd2_priv, napi); in hix5hd2_poll()
675 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_interrupt()
706 static int hix5hd2_fill_sg_desc(struct hix5hd2_priv *priv, in hix5hd2_fill_sg_desc()
741 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_xmit()
797 static void hix5hd2_free_dma_desc_rings(struct hix5hd2_priv *priv) in hix5hd2_free_dma_desc_rings()
831 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_open()
872 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_close()
893 struct hix5hd2_priv *priv; in hix5hd2_tx_timeout_task()
895 priv = container_of(work, struct hix5hd2_priv, tx_timeout_task); in hix5hd2_tx_timeout_task()
902 struct hix5hd2_priv *priv = netdev_priv(dev); in hix5hd2_net_timeout()
923 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_wait_ready()
938 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_read()
966 struct hix5hd2_priv *priv = bus->priv; in hix5hd2_mdio_write()
981 static void hix5hd2_destroy_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_hw_desc_queue()
995 static int hix5hd2_init_hw_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_hw_desc_queue()
1026 static int hix5hd2_init_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_init_sg_desc_queue()
1043 static void hix5hd2_destroy_sg_desc_queue(struct hix5hd2_priv *priv) in hix5hd2_destroy_sg_desc_queue()
1053 static inline void hix5hd2_mac_core_reset(struct hix5hd2_priv *priv) in hix5hd2_mac_core_reset()
1076 static void hix5hd2_phy_reset(struct hix5hd2_priv *priv) in hix5hd2_phy_reset()
1103 struct hix5hd2_priv *priv; in hix5hd2_dev_probe()
1109 ndev = alloc_etherdev(sizeof(struct hix5hd2_priv)); in hix5hd2_dev_probe()
1300 struct hix5hd2_priv *priv = netdev_priv(ndev); in hix5hd2_dev_remove()