Lines Matching full:pl
66 struct phy_lookup *pl; in phy_create_lookup() local
71 pl = kzalloc(sizeof(*pl), GFP_KERNEL); in phy_create_lookup()
72 if (!pl) in phy_create_lookup()
75 pl->dev_id = dev_id; in phy_create_lookup()
76 pl->con_id = con_id; in phy_create_lookup()
77 pl->phy = phy; in phy_create_lookup()
80 list_add_tail(&pl->node, &phys); in phy_create_lookup()
98 struct phy_lookup *pl; in phy_remove_lookup() local
104 list_for_each_entry(pl, &phys, node) in phy_remove_lookup()
105 if (pl->phy == phy && !strcmp(pl->dev_id, dev_id) && in phy_remove_lookup()
106 !strcmp(pl->con_id, con_id)) { in phy_remove_lookup()
107 list_del(&pl->node); in phy_remove_lookup()
108 kfree(pl); in phy_remove_lookup()
118 struct phy_lookup *p, *pl = NULL; in phy_find() local
123 pl = p; in phy_find()
128 return pl ? pl->phy : ERR_PTR(-ENODEV); in phy_find()