Lines Matching refs:new_option
29 struct pnp_option *new_option; in quirk_awe32_add_ports() local
31 new_option = kmalloc(sizeof(struct pnp_option), GFP_KERNEL); in quirk_awe32_add_ports()
32 if (!new_option) { in quirk_awe32_add_ports()
38 *new_option = *option; in quirk_awe32_add_ports()
39 new_option->u.port.min += offset; in quirk_awe32_add_ports()
40 new_option->u.port.max += offset; in quirk_awe32_add_ports()
41 list_add(&new_option->list, &option->list); in quirk_awe32_add_ports()
44 (unsigned long long) new_option->u.port.min, in quirk_awe32_add_ports()
45 (unsigned long long) new_option->u.port.max, in quirk_awe32_add_ports()
141 struct pnp_option *option, *new_option; in pnp_clone_dependent_set() local
157 new_option = kmalloc(sizeof(struct pnp_option), in pnp_clone_dependent_set()
159 if (!new_option) { in pnp_clone_dependent_set()
165 *new_option = *option; in pnp_clone_dependent_set()
166 new_option->flags = flags; in pnp_clone_dependent_set()
168 first_new_option = new_option; in pnp_clone_dependent_set()
170 list_add(&new_option->list, &tail->list); in pnp_clone_dependent_set()
171 tail = new_option; in pnp_clone_dependent_set()
181 struct pnp_option *new_option; in quirk_add_irq_optional_dependent_sets() local
187 new_option = pnp_clone_dependent_set(dev, i); in quirk_add_irq_optional_dependent_sets()
188 if (!new_option) in quirk_add_irq_optional_dependent_sets()
191 set = pnp_option_set(new_option); in quirk_add_irq_optional_dependent_sets()
192 while (new_option && pnp_option_set(new_option) == set) { in quirk_add_irq_optional_dependent_sets()
193 if (new_option->type == IORESOURCE_IRQ) { in quirk_add_irq_optional_dependent_sets()
194 irq = &new_option->u.irq; in quirk_add_irq_optional_dependent_sets()
197 dbg_pnp_show_option(dev, new_option); in quirk_add_irq_optional_dependent_sets()
198 new_option = list_entry(new_option->list.next, in quirk_add_irq_optional_dependent_sets()