Searched refs:aup (Results 1 – 2 of 2) sorted by relevance
196 struct au1000_private *aup = netdev_priv(dev); in au1000_mdio_read() local197 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() local232 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() local290 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 …]
91 static db_dest_t *GetFreeDB(struct au1k_private *aup) in GetFreeDB() argument94 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() argument104 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() argument144 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 …]