Lines Matching +full:look +full:- +full:up
1 // SPDX-License-Identifier: GPL-2.0-or-later
28 * snd_pci_quirk_lookup_id - look up a PCI SSID quirk list
33 * Look through the given quirk list and finds a matching entry
45 for (q = list; q->subvendor || q->subdevice; q++) { in snd_pci_quirk_lookup_id()
46 if (q->subvendor != vendor) in snd_pci_quirk_lookup_id()
48 if (!q->subdevice || in snd_pci_quirk_lookup_id()
49 (device & q->subdevice_mask) == q->subdevice) in snd_pci_quirk_lookup_id()
57 * snd_pci_quirk_lookup - look up a PCI SSID quirk list
61 * Look through the given quirk list and finds a matching entry
72 return snd_pci_quirk_lookup_id(pci->subsystem_vendor, in snd_pci_quirk_lookup()
73 pci->subsystem_device, in snd_pci_quirk_lookup()
107 list_del_init(&fasync->list); in snd_fasync_work_fn()
109 if (fasync->on) in snd_fasync_work_fn()
110 kill_fasync(&fasync->fasync, fasync->signal, fasync->poll); in snd_fasync_work_fn()
126 return -ENOMEM; in snd_fasync_helper()
127 INIT_LIST_HEAD(&fasync->list); in snd_fasync_helper()
141 fasync->on = on; in snd_fasync_helper()
143 return fasync_helper(fd, file, on, &fasync->fasync); in snd_fasync_helper()
151 if (!fasync || !fasync->on) in snd_kill_fasync()
154 fasync->signal = signal; in snd_kill_fasync()
155 fasync->poll = poll; in snd_kill_fasync()
156 list_move(&fasync->list, &snd_fasync_list); in snd_kill_fasync()
166 fasync->on = 0; in snd_fasync_free()