Lines Matching refs:emac_priv
462 /* emac_priv: EMAC private data structure
466 struct emac_priv {
561 static void emac_dump_regs(struct emac_priv *priv)
688 struct emac_priv *priv = netdev_priv(ndev);
706 struct emac_priv *priv = netdev_priv(ndev);
725 struct emac_priv *priv = netdev_priv(ndev);
743 struct emac_priv *priv = netdev_priv(ndev);
834 static void emac_update_phystatus(struct emac_priv *priv)
926 static int hash_add(struct emac_priv *priv, u8 *mac_addr)
968 static int hash_del(struct emac_priv *priv, u8 *mac_addr)
1011 static void emac_add_mcast(struct emac_priv *priv, u32 action, u8 *mac_addr)
1060 struct emac_priv *priv = netdev_priv(ndev);
1103 static void emac_int_disable(struct emac_priv *priv)
1133 static void emac_int_enable(struct emac_priv *priv)
1175 struct emac_priv *priv = netdev_priv(ndev);
1210 static int emac_init_txch(struct emac_priv *priv, u32 ch)
1275 static void emac_cleanup_txch(struct emac_priv *priv, u32 ch)
1298 static int emac_net_tx_complete(struct emac_priv *priv,
1326 static void emac_txch_teardown(struct emac_priv *priv, u32 ch)
1374 static void emac_stop_txch(struct emac_priv *priv, u32 ch)
1401 static int emac_tx_bdproc(struct emac_priv *priv, u32 ch, u32 budget)
1484 static int emac_send(struct emac_priv *priv, struct emac_netpktobj *pkt, u32 ch)
1570 struct emac_priv *priv = netdev_priv(ndev);
1618 struct emac_priv *priv = netdev_priv(ndev);
1646 static void *emac_net_alloc_rx_buf(struct emac_priv *priv, int buf_size,
1678 static int emac_init_rxch(struct emac_priv *priv, u32 ch, char *param)
1759 static void emac_rxch_teardown(struct emac_priv *priv, u32 ch)
1785 static void emac_stop_rxch(struct emac_priv *priv, u32 ch)
1807 static void emac_cleanup_rxch(struct emac_priv *priv, u32 ch)
1845 static void emac_set_type0addr(struct emac_priv *priv, u32 ch, char *mac_addr)
1872 static void emac_set_type1addr(struct emac_priv *priv, u32 ch, char *mac_addr)
1896 static void emac_set_type2addr(struct emac_priv *priv, u32 ch,
1920 static void emac_setmac(struct emac_priv *priv, u32 ch, char *mac_addr)
1950 struct emac_priv *priv = netdev_priv(ndev);
1989 static void emac_addbd_to_rx_queue(struct emac_priv *priv, u32 ch,
2046 static int emac_net_rx_cb(struct emac_priv *priv,
2075 static int emac_rx_bdproc(struct emac_priv *priv, u32 ch, u32 budget)
2173 static int emac_hw_enable(struct emac_priv *priv)
2267 struct emac_priv *priv = container_of(napi, struct emac_priv, napi);
2343 struct emac_priv *priv = netdev_priv(ndev);
2426 struct emac_priv *priv = netdev_priv(ndev);
2507 struct emac_priv *priv = netdev_priv(ndev);
2642 struct emac_priv *priv = netdev_priv(ndev);
2683 struct emac_priv *priv = netdev_priv(ndev);
2758 struct emac_priv *priv;
2772 ndev = alloc_etherdev(sizeof(struct emac_priv));
2935 struct emac_priv *priv = netdev_priv(ndev);