Home
last modified time | relevance | path

Searched refs:aup (Results 1 – 2 of 2) sorted by relevance

/drivers/net/
Dau1000_eth.c196 struct au1000_private *aup = netdev_priv(dev); in au1000_mdio_read() local
197 volatile u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_read()
198 volatile u32 *const mii_data_reg = &aup->mac->mii_data; in au1000_mdio_read()
231 struct au1000_private *aup = netdev_priv(dev); in au1000_mdio_write() local
232 volatile u32 *const mii_control_reg = &aup->mac->mii_control; in au1000_mdio_write()
233 volatile u32 *const mii_data_reg = &aup->mac->mii_data; in au1000_mdio_write()
286 struct au1000_private *const aup = netdev_priv(dev); in mii_probe() local
290 BUG_ON(aup->mac_id < 0 || aup->mac_id > 1); in mii_probe()
292 if(aup->mac_id == 0) { /* get PHY0 */ in mii_probe()
300 } else if (aup->mac_id == 1) { /* get PHY1 */ in mii_probe()
[all …]
/drivers/net/irda/
Dau1k_ir.c91 static db_dest_t *GetFreeDB(struct au1k_private *aup) in GetFreeDB() argument
94 pDB = aup->pDBfree; in GetFreeDB()
97 aup->pDBfree = pDB->pnext; in GetFreeDB()
102 static void ReleaseDB(struct au1k_private *aup, db_dest_t *pDB) in ReleaseDB() argument
104 db_dest_t *pDBfree = aup->pDBfree; in ReleaseDB()
107 aup->pDBfree = pDB; in ReleaseDB()
140 setup_hw_rings(struct au1k_private *aup, u32 rx_base, u32 tx_base) in setup_hw_rings() argument
144 aup->rx_ring[i] = (volatile ring_dest_t *) in setup_hw_rings()
148 aup->tx_ring[i] = (volatile ring_dest_t *) in setup_hw_rings()
156 struct au1k_private *aup; in au1k_irda_init() local
[all …]