Searched refs:num_sources (Results 1 – 6 of 6) sorted by relevance
52 for (i = 124; i < mpic->num_sources; i++) in mpic_msi_reserve_u3_hwirqs()81 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator()
876 if (src >= mpic->num_sources) in mpic_set_irq_type()936 if (src >= mpic->num_sources) in mpic_set_vector()953 if (src >= mpic->num_sources) in mpic_set_destination()1041 if (hw >= mpic->num_sources) { in mpic_host_map()1301 mpic->num_sources = 0; /* so far */ in mpic_alloc()1477 mpic->num_sources = isu_size; in mpic_alloc()1545 if ((isu_first + mpic->isu_size) > mpic->num_sources) in mpic_assign_isu()1546 mpic->num_sources = isu_first + mpic->isu_size; in mpic_assign_isu()1554 BUG_ON(mpic->num_sources == 0); in mpic_init()1556 printk(KERN_INFO "mpic: Initializing for %d sources\n", mpic->num_sources); in mpic_init()[all …]
378 int ret, num_sources, i; in lm3630a_parse_led_sources() local380 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources()381 if (num_sources < 0) in lm3630a_parse_led_sources()383 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources()387 num_sources); in lm3630a_parse_led_sources()391 for (i = 0; i < num_sources; i++) { in lm3630a_parse_led_sources()
158 unsigned int num_sources; member498 if (arg >= pad->num_sources) in pmic_gpio_config_set()798 pad->num_sources = 4; in pmic_gpio_populate()804 pad->num_sources = 8; in pmic_gpio_populate()807 pad->num_sources = 1; in pmic_gpio_populate()812 pad->num_sources = 2; in pmic_gpio_populate()
131 unsigned int num_sources; member442 if (arg >= pad->num_sources) in pmic_mpp_config_set()684 pad->num_sources = 4; in pmic_mpp_populate()687 pad->num_sources = 8; in pmic_mpp_populate()
282 unsigned int num_sources; member