Lines Matching defs:ptr
428 struct usb_phy **ptr, *phy;
430 ptr = devres_alloc(devm_usb_phy_release, sizeof(*ptr), GFP_KERNEL);
431 if (!ptr)
436 *ptr = phy;
437 devres_add(dev, ptr);
439 devres_free(ptr);
502 struct phy_devm *ptr;
505 ptr = devres_alloc(devm_usb_phy_release2, sizeof(*ptr), GFP_KERNEL);
506 if (!ptr) {
515 devres_free(ptr);
521 devres_free(ptr);
526 ptr->phy = phy;
527 ptr->nb = nb;
528 devres_add(dev, ptr);