Lines Matching defs:offset
288 static u32 convert_offset_index(struct irq_data *d, u32 offset, u32 *index)
295 return offset;
303 return offset;
306 switch (offset) {
335 return offset;
338 static int gic_peek_irq(struct irq_data *d, u32 offset)
343 offset = convert_offset_index(d, offset, &index);
351 return !!(readl_relaxed(base + offset + (index / 32) * 4) & mask);
354 static void gic_poke_irq(struct irq_data *d, u32 offset)
360 offset = convert_offset_index(d, offset, &index);
371 writel_relaxed(mask, base + offset + (index / 32) * 4);
464 u32 offset, index;
466 offset = convert_offset_index(d, GICD_IPRIORITYR, &index);
468 writeb_relaxed(prio, base + offset + index);
575 u32 offset, index;
597 offset = convert_offset_index(d, GICD_ICFGR, &index);
599 ret = gic_configure_irq(index, type, base + offset, rwp_wait);
886 u64 offset = ptr - region->redist_base;
889 gic_data_rdist()->phys_base = region->phys_base + offset;
1250 u32 offset, index;
1271 offset = convert_offset_index(d, GICD_IROUTER, &index);
1272 reg = gic_dist_base(d) + offset + (index * 8);