Lines Matching refs:module
49 static int module_slot_match(struct module *module, int idx) in module_slot_match() argument
55 if (!module || !*module->name || !slots[idx]) in module_slot_match()
58 s1 = module->name; in module_slot_match()
88 static int check_empty_slot(struct module *module, int slot) in check_empty_slot() argument
97 static int get_slot_from_bitmask(int mask, int (*check)(struct module *, int), in get_slot_from_bitmask() argument
98 struct module *module) in get_slot_from_bitmask() argument
106 if (check(module, slot)) in get_slot_from_bitmask()
162 struct module *module, int extra_size, in snd_card_new() argument
184 idx = get_slot_from_bitmask(idx, module_slot_match, module); in snd_card_new()
186 idx = get_slot_from_bitmask(idx, check_empty_slot, module); in snd_card_new()
208 WARN_ON(!module); in snd_card_new()
209 card->module = module; in snd_card_new()
851 idx, card->module->name); in snd_card_module_info_read()