• Home
  • Raw
  • Download

Lines Matching refs:dr

56 	struct irq_devres *dr;  in devm_request_threaded_irq()  local
59 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_threaded_irq()
61 if (!dr) in devm_request_threaded_irq()
70 devres_free(dr); in devm_request_threaded_irq()
74 dr->irq = irq; in devm_request_threaded_irq()
75 dr->dev_id = dev_id; in devm_request_threaded_irq()
76 devres_add(dev, dr); in devm_request_threaded_irq()
103 struct irq_devres *dr; in devm_request_any_context_irq() local
106 dr = devres_alloc(devm_irq_release, sizeof(struct irq_devres), in devm_request_any_context_irq()
108 if (!dr) in devm_request_any_context_irq()
116 devres_free(dr); in devm_request_any_context_irq()
120 dr->irq = irq; in devm_request_any_context_irq()
121 dr->dev_id = dev_id; in devm_request_any_context_irq()
122 devres_add(dev, dr); in devm_request_any_context_irq()
182 struct irq_desc_devres *dr; in __devm_irq_alloc_descs() local
185 dr = devres_alloc(devm_irq_desc_release, sizeof(*dr), GFP_KERNEL); in __devm_irq_alloc_descs()
186 if (!dr) in __devm_irq_alloc_descs()
191 devres_free(dr); in __devm_irq_alloc_descs()
195 dr->from = base; in __devm_irq_alloc_descs()
196 dr->cnt = cnt; in __devm_irq_alloc_descs()
197 devres_add(dev, dr); in __devm_irq_alloc_descs()
266 struct irq_generic_chip_devres *dr; in devm_irq_setup_generic_chip() local
268 dr = devres_alloc(devm_irq_remove_generic_chip, in devm_irq_setup_generic_chip()
269 sizeof(*dr), GFP_KERNEL); in devm_irq_setup_generic_chip()
270 if (!dr) in devm_irq_setup_generic_chip()
275 dr->gc = gc; in devm_irq_setup_generic_chip()
276 dr->msk = msk; in devm_irq_setup_generic_chip()
277 dr->clr = clr; in devm_irq_setup_generic_chip()
278 dr->set = set; in devm_irq_setup_generic_chip()
279 devres_add(dev, dr); in devm_irq_setup_generic_chip()