Lines Matching refs:in
40 static void __iomem *ics_native_xive(struct ics_native *in, unsigned int vec) in ics_native_xive() argument
42 return in->base + 0x800 + ((vec - in->ibase) << 2); in ics_native_xive()
49 struct ics_native *in = to_ics_native(ics); in ics_native_unmask_irq() local
54 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_unmask_irq()
58 out_be32(ics_native_xive(in, vec), (server << 8) | DEFAULT_PRIORITY); in ics_native_unmask_irq()
78 static void ics_native_do_mask(struct ics_native *in, unsigned int vec) in ics_native_do_mask() argument
80 out_be32(ics_native_xive(in, vec), 0xff); in ics_native_do_mask()
87 struct ics_native *in = to_ics_native(ics); in ics_native_mask_irq() local
91 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_irq()
93 ics_native_do_mask(in, vec); in ics_native_mask_irq()
102 struct ics_native *in = to_ics_native(ics); in ics_native_set_affinity() local
106 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_set_affinity()
116 xive = in_be32(ics_native_xive(in, vec)); in ics_native_set_affinity()
118 out_be32(ics_native_xive(in, vec), xive); in ics_native_set_affinity()
136 struct ics_native *in = to_ics_native(ics); in ics_native_check() local
140 if (hw_irq < in->ibase || hw_irq >= (in->ibase + in->icount)) in ics_native_check()
148 struct ics_native *in = to_ics_native(ics); in ics_native_mask_unknown() local
150 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_mask_unknown()
153 ics_native_do_mask(in, vec); in ics_native_mask_unknown()
158 struct ics_native *in = to_ics_native(ics); in ics_native_get_server() local
161 if (vec < in->ibase || vec >= (in->ibase + in->icount)) in ics_native_get_server()
164 xive = in_be32(ics_native_xive(in, vec)); in ics_native_get_server()
170 struct ics_native *in = to_ics_native(ics); in ics_native_host_match() local
172 return in->node == node; in ics_native_host_match()