Home
last modified time | relevance | path

Searched refs:fep (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/net/ibm_emac/
Dibm_ocp_enet.c124 struct ocp_enet_private *fep = dev->priv; in emac_stats() local
125 return &fep->stats; in emac_stats()
230 struct ocp_enet_private *fep = dev->priv; in emac_phy_read() local
231 volatile emac_t *emacp = fep->emacp; in emac_phy_read()
236 if (fep->zmii_dev) in emac_phy_read()
237 emac_enable_zmii_port(fep->zmii_dev, fep->zmii_input); in emac_phy_read()
239 if (fep->mdio_dev) { in emac_phy_read()
240 dev = fep->mdio_dev; in emac_phy_read()
241 fep = dev->priv; in emac_phy_read()
289 struct ocp_enet_private *fep = dev->priv; in emac_phy_write() local
[all …]
Dibm_ocp_debug.c56 struct ocp_enet_private *fep = dev->priv; in emac_phy_dump() local
62 data = emac_phy_read(dev, fep->mii_phy_addr, i); in emac_phy_dump()
72 struct ocp_enet_private *fep = dev->priv; in emac_desc_dump() local
76 fep->rx_slot); in emac_desc_dump()
80 fep->rx_desc[curr_slot].ctrl, in emac_desc_dump()
81 fep->rx_desc[curr_slot].data_len, in emac_desc_dump()
82 (unsigned int) fep->rx_desc[curr_slot].data_ptr); in emac_desc_dump()
89 struct ocp_enet_private *fep = dev->priv; in emac_mac_dump() local
90 volatile emac_t *emacp = fep->emacp; in emac_mac_dump()
/linux-2.4.37.9/arch/ppc/8xx_io/
Dfec.c297 struct fec_enet_private *fep; in fec_enet_start_xmit() local
301 fep = dev->priv; in fec_enet_start_xmit()
305 bdp = fep->cur_tx; in fec_enet_start_xmit()
308 if (!fep->tx_free || (bdp->cbd_sc & BD_ENET_TX_READY)) { in fec_enet_start_xmit()
328 fep->tx_skbuff[fep->skb_cur] = skb; in fec_enet_start_xmit()
330 fep->stats.tx_bytes += skb->len; in fec_enet_start_xmit()
331 fep->skb_cur = (fep->skb_cur+1) & TX_RING_MOD_MASK; in fec_enet_start_xmit()
339 spin_lock_irq(&fep->lock); in fec_enet_start_xmit()
356 bdp = fep->tx_bd_base; in fec_enet_start_xmit()
361 if (!--fep->tx_free) in fec_enet_start_xmit()
[all …]
/linux-2.4.37.9/arch/ppc/cpm2_io/
Dfcc_enet.c734 struct fcc_enet_private *fep; in mii_queue() local
738 fep = dev->priv; in mii_queue()
739 regval |= fep->phy_addr << 23; in mii_queue()
743 tmp = mii_send_receive(fep->fip, regval); in mii_queue()
763 volatile struct fcc_enet_private *fep = dev->priv; in mii_parse_sr() local
764 uint s = fep->phy_status; in mii_parse_sr()
775 fep->phy_status = s; in mii_parse_sr()
776 fep->link = (s & PHY_STAT_LINK) ? 1 : 0; in mii_parse_sr()
781 volatile struct fcc_enet_private *fep = dev->priv; in mii_parse_cr() local
782 uint s = fep->phy_status; in mii_parse_cr()
[all …]