Lines Matching refs:callback
173 for (cb = jack->callback; cb; cb = next) { in snd_hda_jack_tbl_clear()
287 for (cb = jack->callback; cb; cb = cb->next) { in find_callback_from_list()
311 struct hda_jack_callback *callback = NULL; in snd_hda_jack_detect_enable_callback_mst() local
318 callback = find_callback_from_list(jack, func); in snd_hda_jack_detect_enable_callback_mst()
320 if (func && !callback) { in snd_hda_jack_detect_enable_callback_mst()
321 callback = kzalloc(sizeof(*callback), GFP_KERNEL); in snd_hda_jack_detect_enable_callback_mst()
322 if (!callback) in snd_hda_jack_detect_enable_callback_mst()
324 callback->func = func; in snd_hda_jack_detect_enable_callback_mst()
325 callback->nid = jack->nid; in snd_hda_jack_detect_enable_callback_mst()
326 callback->dev_id = jack->dev_id; in snd_hda_jack_detect_enable_callback_mst()
327 callback->next = jack->callback; in snd_hda_jack_detect_enable_callback_mst()
328 jack->callback = callback; in snd_hda_jack_detect_enable_callback_mst()
332 return callback; /* already registered */ in snd_hda_jack_detect_enable_callback_mst()
335 return callback; /* No unsol if we're polling instead */ in snd_hda_jack_detect_enable_callback_mst()
341 return callback; in snd_hda_jack_detect_enable_callback_mst()
678 for (cb = jack->callback; cb; cb = cb->next) { in call_jack_callback()
688 for (cb = gated->callback; cb; cb = cb->next) { in call_jack_callback()