Lines Matching full:dr
57 struct irq_devres *dr; in devm_request_threaded_irq() local
60 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_threaded_irq()
62 if (!dr) in devm_request_threaded_irq()
71 devres_free(dr); in devm_request_threaded_irq()
75 dr->irq = irq; in devm_request_threaded_irq()
76 dr->dev_id = dev_id; in devm_request_threaded_irq()
77 devres_add(dev, dr); in devm_request_threaded_irq()
104 struct irq_devres *dr; in devm_request_any_context_irq() local
107 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_any_context_irq()
109 if (!dr) in devm_request_any_context_irq()
117 devres_free(dr); in devm_request_any_context_irq()
121 dr->irq = irq; in devm_request_any_context_irq()
122 dr->dev_id = dev_id; in devm_request_any_context_irq()
123 devres_add(dev, dr); in devm_request_any_context_irq()
183 struct irq_desc_devres *dr; in __devm_irq_alloc_descs() local
186 dr = devres_alloc(devm_irq_desc_release, sizeof(*dr), GFP_KERNEL); in __devm_irq_alloc_descs()
187 if (!dr) in __devm_irq_alloc_descs()
192 devres_free(dr); in __devm_irq_alloc_descs()
196 dr->from = base; in __devm_irq_alloc_descs()
197 dr->cnt = cnt; in __devm_irq_alloc_descs()
198 devres_add(dev, dr); in __devm_irq_alloc_descs()
267 struct irq_generic_chip_devres *dr; in devm_irq_setup_generic_chip() local
269 dr = devres_alloc(devm_irq_remove_generic_chip, in devm_irq_setup_generic_chip()
270 sizeof(*dr), GFP_KERNEL); in devm_irq_setup_generic_chip()
271 if (!dr) in devm_irq_setup_generic_chip()
276 dr->gc = gc; in devm_irq_setup_generic_chip()
277 dr->msk = msk; in devm_irq_setup_generic_chip()
278 dr->clr = clr; in devm_irq_setup_generic_chip()
279 dr->set = set; in devm_irq_setup_generic_chip()
280 devres_add(dev, dr); in devm_irq_setup_generic_chip()
308 struct irq_domain **dr; in devm_irq_domain_instantiate() local
310 dr = devres_alloc(devm_irq_domain_remove, sizeof(*dr), GFP_KERNEL); in devm_irq_domain_instantiate()
311 if (!dr) in devm_irq_domain_instantiate()
316 *dr = domain; in devm_irq_domain_instantiate()
317 devres_add(dev, dr); in devm_irq_domain_instantiate()
319 devres_free(dr); in devm_irq_domain_instantiate()