Lines Matching defs:desc
239 struct irq_desc *desc;
258 desc = irq_to_desc(i);
259 if (!desc)
262 raw_spin_lock_irqsave(&desc->lock, flags);
265 action = desc->action;
273 if (desc->chip)
274 seq_printf(p, " %-16s", desc->chip->name);
277 seq_printf(p, " %-8s", (desc->status & IRQ_LEVEL) ? "Level" : "Edge");
287 raw_spin_unlock_irqrestore(&desc->lock, flags);
308 struct irq_desc *desc;
316 desc = irq_to_desc(irq);
317 if (!desc)
320 if (desc->status & IRQ_PER_CPU)
323 cpumask_and(mask, desc->affinity, map);
328 if (desc->chip->set_affinity)
329 desc->chip->set_affinity(irq, mask);
330 else if (desc->action && !(warned++))
346 struct irq_desc *desc;
358 desc = irq_to_desc(irq);
372 call_handle_irq(irq, desc, irqtp, desc->handle_irq);
679 struct irq_desc *desc;
681 desc = irq_to_desc_alloc_node(virq, 0);
682 if (!desc) {
683 pr_debug("irq: -> allocating desc failed\n");
688 desc->status &= ~IRQ_NOREQUEST;
1075 struct irq_desc *desc;
1079 desc = irq_to_desc(i);
1080 if (desc)
1081 desc->status |= IRQ_NOREQUEST;
1087 int arch_init_chip_data(struct irq_desc *desc, int node)
1089 desc->status |= IRQ_NOREQUEST;
1144 struct irq_desc *desc;
1153 desc = irq_to_desc(i);
1154 if (!desc)
1157 raw_spin_lock_irqsave(&desc->lock, flags);
1159 if (desc->action && desc->action->handler) {
1163 if (desc->chip && desc->chip->name)
1164 p = desc->chip->name;
1176 raw_spin_unlock_irqrestore(&desc->lock, flags);