Home
last modified time | relevance | path

Searched refs:num_sources (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/arch/powerpc/sysdev/
Dmpic_msi.c52 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()
Dmpic.c876 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 …]
/Linux-v5.4/drivers/video/backlight/
Dlm3630a_bl.c378 int ret, num_sources, i; in lm3630a_parse_led_sources() local
380 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()
/Linux-v5.4/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c158 unsigned int num_sources; member
498 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()
Dpinctrl-spmi-mpp.c131 unsigned int num_sources; member
442 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()
/Linux-v5.4/arch/powerpc/include/asm/
Dmpic.h282 unsigned int num_sources; member