Lines Matching full:quirks
16 const struct gic_quirk *quirks, void *data) in gic_enable_of_quirks() argument
18 for (; quirks->desc; quirks++) { in gic_enable_of_quirks()
19 if (!quirks->compatible && !quirks->property) in gic_enable_of_quirks()
21 if (quirks->compatible && in gic_enable_of_quirks()
22 !of_device_is_compatible(np, quirks->compatible)) in gic_enable_of_quirks()
24 if (quirks->property && in gic_enable_of_quirks()
25 !of_property_read_bool(np, quirks->property)) in gic_enable_of_quirks()
27 if (quirks->init(data)) in gic_enable_of_quirks()
29 quirks->desc); in gic_enable_of_quirks()
33 void gic_enable_quirks(u32 iidr, const struct gic_quirk *quirks, in gic_enable_quirks() argument
36 for (; quirks->desc; quirks++) { in gic_enable_quirks()
37 if (quirks->compatible || quirks->property) in gic_enable_quirks()
39 if (quirks->iidr != (quirks->mask & iidr)) in gic_enable_quirks()
41 if (quirks->init(data)) in gic_enable_quirks()
43 quirks->desc); in gic_enable_quirks()