Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/sis/
Dsis190.c285 struct list_head first_phy; member
1253 static void sis190_free_phy(struct list_head *first_phy) in sis190_free_phy() argument
1257 list_for_each_entry_safe(cur, next, first_phy, list) { in sis190_free_phy()
1280 list_for_each_entry(phy, &tp->first_phy, list) { in sis190_default_phy()
1305 phy_default = list_first_entry(&tp->first_phy, in sis190_default_phy()
1398 INIT_LIST_HEAD(&tp->first_phy); in sis190_mii_probe()
1412 sis190_free_phy(&tp->first_phy); in sis190_mii_probe()
1419 list_add(&tp->first_phy, &phy->list); in sis190_mii_probe()
1422 if (list_empty(&tp->first_phy)) { in sis190_mii_probe()
1448 sis190_free_phy(&tp->first_phy); in sis190_mii_remove()
/Linux-v5.10/drivers/net/ethernet/amd/
Dpcnet32.c2181 int first_phy = -1; in pcnet32_open() local
2219 if (first_phy == -1) { in pcnet32_open()
2220 first_phy = i; in pcnet32_open()
2237 lp->mii_if.phy_id = first_phy; in pcnet32_open()
2238 netif_info(lp, link, dev, "Using PHY number %d\n", first_phy); in pcnet32_open()