Home
last modified time | relevance | path

Searched refs:chip (Results 1 – 17 of 17) sorted by relevance

/kernel/irq/
Dchip.c42 int irq_set_chip(unsigned int irq, struct irq_chip *chip) in irq_set_chip() argument
50 if (!chip) in irq_set_chip()
51 chip = &no_irq_chip; in irq_set_chip()
53 desc->irq_data.chip = chip; in irq_set_chip()
245 if (d->chip->irq_startup) { in __irq_startup()
246 ret = d->chip->irq_startup(d); in __irq_startup()
269 if (d->chip->flags & IRQCHIP_AFFINITY_PRE_STARTUP) in irq_startup()
272 if (!(d->chip->flags & IRQCHIP_AFFINITY_PRE_STARTUP)) in irq_startup()
312 if (desc->irq_data.chip->irq_shutdown) { in irq_shutdown()
313 desc->irq_data.chip->irq_shutdown(&desc->irq_data); in irq_shutdown()
[all …]
Dipi.c186 static int ipi_send_verify(struct irq_chip *chip, struct irq_data *data, in ipi_send_verify() argument
191 if (!chip || !ipimask) in ipi_send_verify()
194 if (!chip->ipi_send_single && !chip->ipi_send_mask) in ipi_send_verify()
224 struct irq_chip *chip = irq_data_get_irq_chip(data); in __ipi_send_single() local
232 if (WARN_ON_ONCE(ipi_send_verify(chip, data, NULL, cpu))) in __ipi_send_single()
235 if (!chip->ipi_send_single) { in __ipi_send_single()
236 chip->ipi_send_mask(data, cpumask_of(cpu)); in __ipi_send_single()
248 chip->ipi_send_single(data, cpu); in __ipi_send_single()
266 struct irq_chip *chip = irq_data_get_irq_chip(data); in __ipi_send_mask() local
275 if (WARN_ON_ONCE(ipi_send_verify(chip, data, dest, 0))) in __ipi_send_mask()
[all …]
Dgeneric-chip.c222 gc->chip_types->chip.name = name; in irq_init_generic_chip()
384 struct irq_chip *chip; in irq_map_generic_chip() local
401 chip = &ct->chip; in irq_map_generic_chip()
417 if (chip->irq_calc_mask) in irq_map_generic_chip()
418 chip->irq_calc_mask(data); in irq_map_generic_chip()
422 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip()
471 struct irq_chip *chip = &ct->chip; in irq_setup_generic_chip() local
491 if (chip->irq_calc_mask) in irq_setup_generic_chip()
492 chip->irq_calc_mask(d); in irq_setup_generic_chip()
496 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip()
[all …]
Dmanage.c149 !desc->irq_data.chip || !desc->irq_data.chip->irq_set_affinity) in __irq_can_set_affinity()
201 struct irq_chip *chip = irq_data_get_irq_chip(data); in irq_validate_effective_affinity() local
206 chip->name, data->irq); in irq_validate_effective_affinity()
224 struct irq_chip *chip = irq_data_get_irq_chip(data); in irq_do_set_affinity() local
227 if (!chip || !chip->irq_set_affinity) in irq_do_set_affinity()
230 ret = chip->irq_set_affinity(data, mask, force); in irq_do_set_affinity()
305 struct irq_chip *chip = irq_data_get_irq_chip(data); in irq_set_affinity_locked() local
309 if (!chip || !chip->irq_set_affinity) in irq_set_affinity_locked()
509 struct irq_chip *chip; in irq_set_vcpu_affinity() local
517 chip = irq_data_get_irq_chip(data); in irq_set_vcpu_affinity()
[all …]
Dcpuhotplug.c55 struct irq_chip *chip = irq_data_get_irq_chip(d); in migrate_one_irq() local
66 if (!chip || !chip->irq_set_affinity) { in migrate_one_irq()
109 if (maskchip && chip->irq_mask) in migrate_one_irq()
110 chip->irq_mask(d); in migrate_one_irq()
138 if (maskchip && chip->irq_unmask) in migrate_one_irq()
139 chip->irq_unmask(d); in migrate_one_irq()
Dmsi.c76 data->chip->irq_write_msi_msg(data, msg); in irq_chip_write_msi_msg()
88 (info->chip->flags & IRQCHIP_SUPPORTS_LEVEL_MSI)) && in msi_check_level()
108 ret = parent->chip->irq_set_affinity(parent, mask, force); in msi_domain_set_affinity()
220 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, info->chip, in msi_domain_ops_init()
268 struct irq_chip *chip = info->chip; in msi_domain_update_chip_ops() local
270 BUG_ON(!chip || !chip->irq_mask || !chip->irq_unmask); in msi_domain_update_chip_ops()
271 if (!chip->irq_set_affinity) in msi_domain_update_chip_ops()
272 chip->irq_set_affinity = msi_domain_set_affinity; in msi_domain_update_chip_ops()
295 if (domain && !domain->name && info->chip) in msi_create_irq_domain()
296 domain->name = info->chip->name; in msi_create_irq_domain()
Dmigration.c42 struct irq_chip *chip = data->chip; in irq_move_masked_irq() local
60 if (!chip->irq_set_affinity) in irq_move_masked_irq()
115 idata->chip->irq_mask(idata); in __irq_move_irq()
118 idata->chip->irq_unmask(idata); in __irq_move_irq()
Ddebugfs.c65 struct irq_chip *chip = data->chip; in irq_debug_show_chip() local
67 if (!chip) { in irq_debug_show_chip()
71 seq_printf(m, "%*schip: %s\n", ind, "", chip->name); in irq_debug_show_chip()
72 seq_printf(m, "%*sflags: 0x%lx\n", ind + 1, "", chip->flags); in irq_debug_show_chip()
73 irq_debug_show_bits(m, ind, chip->flags, irqchip_flags, in irq_debug_show_chip()
Dproc.c344 if (!root_irq_dir || (desc->irq_data.chip == &no_irq_chip)) in register_irq_proc()
504 if (desc->irq_data.chip) { in show_interrupts()
505 if (desc->irq_data.chip->irq_print_chip) in show_interrupts()
506 desc->irq_data.chip->irq_print_chip(&desc->irq_data, p); in show_interrupts()
507 else if (desc->irq_data.chip->name) in show_interrupts()
508 seq_printf(p, " %8s", desc->irq_data.chip->name); in show_interrupts()
Dirqdomain.c597 if (!domain->name && irq_data->chip) in irq_domain_associate_locked()
598 domain->name = irq_data->chip->name; in irq_domain_associate_locked()
1152 if (!domain->name && data->chip) in irq_domain_insert_irq()
1153 domain->name = data->chip->name; in irq_domain_insert_irq()
1265 irq_hw_number_t hwirq, struct irq_chip *chip, in irq_domain_set_hwirq_and_chip() argument
1274 irq_data->chip = chip ? chip : &no_irq_chip; in irq_domain_set_hwirq_and_chip()
1293 irq_hw_number_t hwirq, struct irq_chip *chip, in irq_domain_set_info() argument
1297 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, chip, chip_data); in irq_domain_set_info()
1310 irq_data->chip = &no_irq_chip; in irq_domain_reset_irq_data()
1541 root_irq_data->chip = NULL; in irq_domain_push_irq()
[all …]
Dresend.c75 if (!desc->irq_data.chip->irq_retrigger || in check_irq_resend()
76 !desc->irq_data.chip->irq_retrigger(&desc->irq_data)) { in check_irq_resend()
DMakefile3 obj-y := irqdesc.o handle.o manage.o spurious.o resend.o chip.o dummychip.o devres.o
8 obj-$(CONFIG_GENERIC_IRQ_CHIP) += generic-chip.o
Ddebug.h23 desc->irq_data.chip, desc->irq_data.chip); in print_irq_desc()
Dinternals.h149 if (unlikely(desc->irq_data.chip->irq_bus_lock)) in chip_bus_lock()
150 desc->irq_data.chip->irq_bus_lock(&desc->irq_data); in chip_bus_lock()
155 if (unlikely(desc->irq_data.chip->irq_bus_sync_unlock)) in chip_bus_sync_unlock()
156 desc->irq_data.chip->irq_bus_sync_unlock(&desc->irq_data); in chip_bus_sync_unlock()
Dautoprobe.c52 if (desc->irq_data.chip->irq_set_type) in probe_irq_on()
53 desc->irq_data.chip->irq_set_type(&desc->irq_data, in probe_irq_on()
Dirqdesc.c113 desc->irq_data.chip = &no_irq_chip; in desc_set_defaults()
173 if (desc->irq_data.chip && desc->irq_data.chip->name) { in chip_name_show()
175 desc->irq_data.chip->name); in chip_name_show()
DKconfig58 # Generic configurable interrupt chip implementation