of_irq_get_affinity
mask = of_irq_get_affinity(to_of_node(fwnode), num);
extern const struct cpumask *of_irq_get_affinity(struct device_node *dev,