Lines Matching refs:desc
30 static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc)
32 struct irq_data *data = irq_desc_get_irq_data(desc);
42 msk = desc->pending_mask;
47 static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc) { }
166 struct irq_desc *desc = m->private;
169 raw_spin_lock_irq(&desc->lock);
170 data = irq_desc_get_irq_data(desc);
171 seq_printf(m, "handler: %ps\n", desc->handle_irq);
172 seq_printf(m, "device: %s\n", desc->dev_name);
173 seq_printf(m, "status: 0x%08x\n", desc->status_use_accessors);
174 irq_debug_show_bits(m, 0, desc->status_use_accessors, irqdesc_states,
176 seq_printf(m, "istate: 0x%08x\n", desc->istate);
177 irq_debug_show_bits(m, 0, desc->istate, irqdesc_istates,
179 seq_printf(m, "ddepth: %u\n", desc->depth);
180 seq_printf(m, "wdepth: %u\n", desc->wake_depth);
185 irq_debug_show_masks(m, desc);
187 raw_spin_unlock_irq(&desc->lock);
199 struct irq_desc *desc = file_inode(file)->i_private;
208 int err = irq_inject_interrupt(irq_desc_get_irq(desc));
226 struct irq_desc *desc = irq_to_desc(irq);
230 desc->dev_name = kstrdup(name, GFP_KERNEL);
233 void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc)
237 if (!irq_dir || !desc || desc->debugfs_file)
241 desc->debugfs_file = debugfs_create_file(name, 0644, irq_dir, desc,