Lines Matching refs:chip
149 !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()
518 if (chip && chip->irq_set_vcpu_affinity) in irq_set_vcpu_affinity()
528 ret = chip->irq_set_vcpu_affinity(data, vcpu_info); in irq_set_vcpu_affinity()
676 if (WARN(!desc->irq_data.chip, in enable_irq()
708 if (desc->irq_data.chip->irq_set_wake) in set_irq_wake_real()
709 ret = desc->irq_data.chip->irq_set_wake(&desc->irq_data, on); in set_irq_wake_real()
795 struct irq_chip *chip = desc->irq_data.chip; in __irq_set_trigger() local
798 if (!chip || !chip->irq_set_type) { in __irq_set_trigger()
805 chip ? (chip->name ? : "unknown") : "unknown"); in __irq_set_trigger()
809 if (chip->flags & IRQCHIP_SET_TYPE_MASKED) { in __irq_set_trigger()
818 ret = chip->irq_set_type(&desc->irq_data, flags); in __irq_set_trigger()
841 flags, irq_desc_get_irq(desc), chip->irq_set_type); in __irq_set_trigger()
1245 struct irq_chip *c = d->chip; in irq_request_resources()
1253 struct irq_chip *c = d->chip; in irq_release_resources()
1269 if (d->chip->irq_bus_lock || d->chip->irq_bus_sync_unlock) in irq_supports_nmi()
1272 return d->chip->flags & IRQCHIP_SUPPORTS_NMI; in irq_supports_nmi()
1278 struct irq_chip *c = d->chip; in irq_nmi_setup()
1286 struct irq_chip *c = d->chip; in irq_nmi_teardown()
1357 if (desc->irq_data.chip == &no_irq_chip) in __setup_irq()
1420 if (desc->irq_data.chip->flags & IRQCHIP_ONESHOT_SAFE) in __setup_irq()
1444 new->name, irq, desc->irq_data.chip->name); in __setup_irq()
1471 new->name, irq, desc->irq_data.chip->name); in __setup_irq()
1548 !(desc->irq_data.chip->flags & IRQCHIP_ONESHOT_SAFE)) { in __setup_irq()
2682 struct irq_chip *chip; in __irq_get_irqchip_state() local
2686 chip = irq_data_get_irq_chip(data); in __irq_get_irqchip_state()
2687 if (chip->irq_get_irqchip_state) in __irq_get_irqchip_state()
2697 err = chip->irq_get_irqchip_state(data, which, state); in __irq_get_irqchip_state()
2752 struct irq_chip *chip; in irq_set_irqchip_state() local
2763 chip = irq_data_get_irq_chip(data); in irq_set_irqchip_state()
2764 if (chip->irq_set_irqchip_state) in irq_set_irqchip_state()
2774 err = chip->irq_set_irqchip_state(data, which, val); in irq_set_irqchip_state()