Lines Matching defs:hook
36 void (*hook)(void *private_data, int);
130 if (master->hook)
131 master->hook(master->hook_private_data, master->val);
379 if (master->hook && !first_init)
380 master->hook(master->hook_private_data, master->val);
465 * snd_ctl_add_vmaster_hook - Add a hook to a vmaster control
467 * @hook: the hook function
470 * Adds the given hook to the vmaster control element so that it's called
476 void (*hook)(void *private_data, int),
480 master->hook = hook;
487 * snd_ctl_sync_vmaster - Sync the vmaster followers and hook
489 * @hook_only: sync only the hook
491 * Forcibly call the put callback of each follower and call the hook function
513 if (master->hook && !first_init)
514 master->hook(master->hook_private_data, master->val);