Lines Matching defs:ptr
466 struct usb_phy **ptr, *phy;
468 ptr = devres_alloc(devm_usb_phy_release, sizeof(*ptr), GFP_KERNEL);
469 if (!ptr)
474 *ptr = phy;
475 devres_add(dev, ptr);
477 devres_free(ptr);
540 struct phy_devm *ptr;
543 ptr = devres_alloc(devm_usb_phy_release2, sizeof(*ptr), GFP_KERNEL);
544 if (!ptr) {
553 devres_free(ptr);
559 devres_free(ptr);
564 ptr->phy = phy;
565 ptr->nb = nb;
566 devres_add(dev, ptr);