Lines Matching refs:new_option
30 struct pnp_option *new_option; in quirk_awe32_add_ports() local
32 new_option = kmalloc(sizeof(struct pnp_option), GFP_KERNEL); in quirk_awe32_add_ports()
33 if (!new_option) { in quirk_awe32_add_ports()
39 *new_option = *option; in quirk_awe32_add_ports()
40 new_option->u.port.min += offset; in quirk_awe32_add_ports()
41 new_option->u.port.max += offset; in quirk_awe32_add_ports()
42 list_add(&new_option->list, &option->list); in quirk_awe32_add_ports()
45 (unsigned long long) new_option->u.port.min, in quirk_awe32_add_ports()
46 (unsigned long long) new_option->u.port.max, in quirk_awe32_add_ports()
142 struct pnp_option *option, *new_option; in pnp_clone_dependent_set() local
158 new_option = kmalloc(sizeof(struct pnp_option), in pnp_clone_dependent_set()
160 if (!new_option) { in pnp_clone_dependent_set()
166 *new_option = *option; in pnp_clone_dependent_set()
167 new_option->flags = flags; in pnp_clone_dependent_set()
169 first_new_option = new_option; in pnp_clone_dependent_set()
171 list_add(&new_option->list, &tail->list); in pnp_clone_dependent_set()
172 tail = new_option; in pnp_clone_dependent_set()
182 struct pnp_option *new_option; in quirk_add_irq_optional_dependent_sets() local
188 new_option = pnp_clone_dependent_set(dev, i); in quirk_add_irq_optional_dependent_sets()
189 if (!new_option) in quirk_add_irq_optional_dependent_sets()
192 set = pnp_option_set(new_option); in quirk_add_irq_optional_dependent_sets()
193 while (new_option && pnp_option_set(new_option) == set) { in quirk_add_irq_optional_dependent_sets()
194 if (new_option->type == IORESOURCE_IRQ) { in quirk_add_irq_optional_dependent_sets()
195 irq = &new_option->u.irq; in quirk_add_irq_optional_dependent_sets()
198 dbg_pnp_show_option(dev, new_option); in quirk_add_irq_optional_dependent_sets()
199 new_option = list_entry(new_option->list.next, in quirk_add_irq_optional_dependent_sets()