Lines Matching refs:ip
608 struct snd_usb_iface_ref *ip; in iface_ref_find() local
610 list_for_each_entry(ip, &chip->iface_ref_list, list) in iface_ref_find()
611 if (ip->iface == iface) in iface_ref_find()
612 return ip; in iface_ref_find()
614 ip = kzalloc(sizeof(*ip), GFP_KERNEL); in iface_ref_find()
615 if (!ip) in iface_ref_find()
617 ip->iface = iface; in iface_ref_find()
618 list_add_tail(&ip->list, &chip->iface_ref_list); in iface_ref_find()
619 return ip; in iface_ref_find()
1719 struct snd_usb_iface_ref *ip, *in; in snd_usb_endpoint_free_all() local
1725 list_for_each_entry_safe(ip, in, &chip->iface_ref_list, list) in snd_usb_endpoint_free_all()
1726 kfree(ip); in snd_usb_endpoint_free_all()