Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firmware/arm_scmi/
Dnotify.c335 u32 num_sources; member
753 unsigned int num_sources; in scmi_register_protocol_events() local
760 (!ee->num_sources && !ee->ops->get_num_sources)) in scmi_register_protocol_events()
768 if (ee->num_sources) { in scmi_register_protocol_events()
769 num_sources = ee->num_sources; in scmi_register_protocol_events()
775 num_sources = nsrc; in scmi_register_protocol_events()
800 r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources, in scmi_register_protocol_events()
804 r_evt->num_sources = num_sources; in scmi_register_protocol_events()
1151 u32 num_sources; in __scmi_enable_evt() local
1156 num_sources = r_evt->num_sources; in __scmi_enable_evt()
[all …]
Dnotify.h77 unsigned int num_sources; member
Dsystem.c123 .num_sources = SCMI_SYSTEM_NUM_SOURCES,
Dbase.c370 .num_sources = SCMI_BASE_NUM_SOURCES,
/linux-6.1.9/arch/powerpc/sysdev/
Dmpic_msi.c53 for (i = 124; i < mpic->num_sources; i++) in mpic_msi_reserve_u3_hwirqs()
82 rc = msi_bitmap_alloc(&mpic->msi_bitmap, mpic->num_sources, in mpic_msi_init_allocator()
Dmpic.c878 if (src >= mpic->num_sources) in mpic_set_irq_type()
938 if (src >= mpic->num_sources) in mpic_set_vector()
955 if (src >= mpic->num_sources) in mpic_set_destination()
1043 if (hw >= mpic->num_sources) { in mpic_host_map()
1303 mpic->num_sources = 0; /* so far */ in mpic_alloc()
1476 mpic->num_sources = isu_size; in mpic_alloc()
1544 if ((isu_first + mpic->isu_size) > mpic->num_sources) in mpic_assign_isu()
1545 mpic->num_sources = isu_first + mpic->isu_size; in mpic_assign_isu()
1553 BUG_ON(mpic->num_sources == 0); in mpic_init()
1555 printk(KERN_INFO "mpic: Initializing for %d sources\n", mpic->num_sources); in mpic_init()
[all …]
/linux-6.1.9/drivers/video/backlight/
Dlm3630a_bl.c380 int ret, num_sources, i; in lm3630a_parse_led_sources() local
382 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources()
383 if (num_sources < 0) in lm3630a_parse_led_sources()
385 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources()
389 num_sources); in lm3630a_parse_led_sources()
393 for (i = 0; i < num_sources; i++) { in lm3630a_parse_led_sources()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c165 unsigned int num_sources; member
520 if (arg >= pad->num_sources) in pmic_gpio_config_set()
833 pad->num_sources = 4; in pmic_gpio_populate()
839 pad->num_sources = 8; in pmic_gpio_populate()
842 pad->num_sources = 1; in pmic_gpio_populate()
847 pad->num_sources = 2; in pmic_gpio_populate()
852 pad->num_sources = 2; in pmic_gpio_populate()
857 pad->num_sources = 3; in pmic_gpio_populate()
Dpinctrl-spmi-mpp.c129 unsigned int num_sources; member
441 if (arg >= pad->num_sources) in pmic_mpp_config_set()
672 pad->num_sources = 4; in pmic_mpp_populate()
675 pad->num_sources = 8; in pmic_mpp_populate()
/linux-6.1.9/arch/powerpc/include/asm/
Dmpic.h282 unsigned int num_sources; member