Lines Matching refs:part
25 static bool partition_check_cpu(struct partition_desc *part, in partition_check_cpu() argument
28 return cpumask_test_cpu(cpu, &part->parts[hwirq].mask); in partition_check_cpu()
33 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_mask() local
34 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_mask()
35 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_mask()
37 if (partition_check_cpu(part, smp_processor_id(), d->hwirq) && in partition_irq_mask()
44 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_unmask() local
45 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_unmask()
46 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_unmask()
48 if (partition_check_cpu(part, smp_processor_id(), d->hwirq) && in partition_irq_unmask()
57 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_irqchip_state() local
58 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_set_irqchip_state()
59 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_set_irqchip_state()
61 if (partition_check_cpu(part, smp_processor_id(), d->hwirq) && in partition_irq_set_irqchip_state()
72 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_get_irqchip_state() local
73 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_get_irqchip_state()
74 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_get_irqchip_state()
76 if (partition_check_cpu(part, smp_processor_id(), d->hwirq) && in partition_irq_get_irqchip_state()
85 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_type() local
86 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_set_type()
87 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_set_type()
97 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_print_chip() local
98 struct irq_chip *chip = irq_desc_get_chip(part->chained_desc); in partition_irq_print_chip()
99 struct irq_data *data = irq_desc_get_irq_data(part->chained_desc); in partition_irq_print_chip()
115 struct partition_desc *part = irq_desc_get_handler_data(desc); in partition_handle_irq() local
122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) { in partition_handle_irq()
123 if (partition_check_cpu(part, cpu, hwirq)) in partition_handle_irq()
127 if (unlikely(hwirq == part->nr_parts)) in partition_handle_irq()
130 generic_handle_domain_irq(part->domain, hwirq); in partition_handle_irq()
142 struct partition_desc *part; in partition_domain_alloc() local
149 part = domain->host_data; in partition_domain_alloc()
151 set_bit(hwirq, part->bitmap); in partition_domain_alloc()
152 irq_set_chained_handler_and_data(irq_desc_get_irq(part->chained_desc), in partition_domain_alloc()
153 partition_handle_irq, part); in partition_domain_alloc()
154 irq_set_percpu_devid_partition(virq, &part->parts[hwirq].mask); in partition_domain_alloc()
155 irq_domain_set_info(domain, virq, hwirq, &partition_irq_chip, part, in partition_domain_alloc()
176 struct partition_affinity *part = NULL; in partition_translate_id() local
181 part = &desc->parts[i]; in partition_translate_id()
186 if (WARN_ON(!part)) { in partition_translate_id()