Lines Matching refs:data
94 static u32 owl_sirq_read_extctl(struct owl_sirq_chip_data *data, u32 index)
98 val = readl_relaxed(data->base + data->params->reg_offset[index]);
99 if (data->params->reg_shared)
105 static void owl_sirq_write_extctl(struct owl_sirq_chip_data *data,
110 if (data->params->reg_shared) {
111 val = readl_relaxed(data->base + data->params->reg_offset[index]);
116 writel_relaxed(extctl, data->base + data->params->reg_offset[index]);
133 static void owl_sirq_eoi(struct irq_data *data)
135 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data);
141 if (!irqd_is_level_type(data))
143 data->hwirq);
145 irq_chip_eoi_parent(data);
148 static void owl_sirq_mask(struct irq_data *data)
150 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data);
152 owl_sirq_clear_set_extctl(chip_data, INTC_EXTCTL_EN, 0, data->hwirq);
153 irq_chip_mask_parent(data);
156 static void owl_sirq_unmask(struct irq_data *data)
158 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data);
160 owl_sirq_clear_set_extctl(chip_data, 0, INTC_EXTCTL_EN, data->hwirq);
161 irq_chip_unmask_parent(data);
169 static int owl_sirq_set_type(struct irq_data *data, unsigned int type)
171 struct owl_sirq_chip_data *chip_data = irq_data_get_irq_chip_data(data);
194 data->hwirq);
196 return irq_chip_set_type_parent(data, type);
229 unsigned int nr_irqs, void *data)
232 struct irq_fwspec *fwspec = data;