Lines Matching full:option

27 				  struct pnp_option *option,  in quirk_awe32_add_ports()  argument
34 dev_err(&dev->dev, "couldn't add ioport region to option set " in quirk_awe32_add_ports()
35 "%d\n", pnp_option_set(option)); in quirk_awe32_add_ports()
39 *new_option = *option; in quirk_awe32_add_ports()
42 list_add(&new_option->list, &option->list); in quirk_awe32_add_ports()
47 pnp_option_set(option)); in quirk_awe32_add_ports()
52 struct pnp_option *option; in quirk_awe32_resources() local
57 * one given) to every dependent option set. in quirk_awe32_resources()
59 list_for_each_entry(option, &dev->options, list) { in quirk_awe32_resources()
60 if (pnp_option_is_dependent(option) && in quirk_awe32_resources()
61 pnp_option_set(option) != set) { in quirk_awe32_resources()
62 set = pnp_option_set(option); in quirk_awe32_resources()
63 quirk_awe32_add_ports(dev, option, 0x800); in quirk_awe32_resources()
64 quirk_awe32_add_ports(dev, option, 0x400); in quirk_awe32_resources()
71 struct pnp_option *option; in quirk_cmi8330_resources() local
75 list_for_each_entry(option, &dev->options, list) { in quirk_cmi8330_resources()
76 if (!pnp_option_is_dependent(option)) in quirk_cmi8330_resources()
79 if (option->type == IORESOURCE_IRQ) { in quirk_cmi8330_resources()
80 irq = &option->u.irq; in quirk_cmi8330_resources()
86 "option set %d to 5, 7, 10\n", in quirk_cmi8330_resources()
87 pnp_option_set(option)); in quirk_cmi8330_resources()
88 } else if (option->type == IORESOURCE_DMA) { in quirk_cmi8330_resources()
89 dma = &option->u.dma; in quirk_cmi8330_resources()
94 "DMA channel mask in option set %d " in quirk_cmi8330_resources()
96 pnp_option_set(option), dma->map); in quirk_cmi8330_resources()
105 struct pnp_option *option; in quirk_sb16audio_resources() local
114 list_for_each_entry(option, &dev->options, list) { in quirk_sb16audio_resources()
115 if (prev_option_flags != option->flags) { in quirk_sb16audio_resources()
116 prev_option_flags = option->flags; in quirk_sb16audio_resources()
120 if (pnp_option_is_dependent(option) && in quirk_sb16audio_resources()
121 option->type == IORESOURCE_IO) { in quirk_sb16audio_resources()
123 port = &option->u.port; in quirk_sb16audio_resources()
126 dev_info(&dev->dev, "increased option port " in quirk_sb16audio_resources()
142 struct pnp_option *option, *new_option; in pnp_clone_dependent_set() local
145 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
146 if (pnp_option_is_dependent(option)) in pnp_clone_dependent_set()
147 tail = option; in pnp_clone_dependent_set()
150 dev_err(&dev->dev, "no dependent option sets\n"); in pnp_clone_dependent_set()
155 list_for_each_entry(option, &dev->options, list) { in pnp_clone_dependent_set()
156 if (pnp_option_is_dependent(option) && in pnp_clone_dependent_set()
157 pnp_option_set(option) == set) { in pnp_clone_dependent_set()
166 *new_option = *option; in pnp_clone_dependent_set()
203 dev_info(&dev->dev, "added dependent option set %d (same as " in quirk_add_irq_optional_dependent_sets()
210 struct pnp_option *option; in quirk_ad1815_mpu_resources() local
214 list_for_each_entry(option, &dev->options, list) { in quirk_ad1815_mpu_resources()
215 if (option->type == IORESOURCE_IRQ && in quirk_ad1815_mpu_resources()
216 !pnp_option_is_dependent(option)) { in quirk_ad1815_mpu_resources()
218 irq = &option->u.irq; in quirk_ad1815_mpu_resources()