Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/firmware/arm_scmi/
Dnotify.c336 u32 num_sources; member
754 unsigned int num_sources; in scmi_register_protocol_events() local
761 (!ee->num_sources && !ee->ops->get_num_sources)) in scmi_register_protocol_events()
769 if (ee->num_sources) { in scmi_register_protocol_events()
770 num_sources = ee->num_sources; in scmi_register_protocol_events()
776 num_sources = nsrc; in scmi_register_protocol_events()
802 r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources, in scmi_register_protocol_events()
806 r_evt->num_sources = num_sources; in scmi_register_protocol_events()
814 for (id = 0; id < r_evt->num_sources; id++) in scmi_register_protocol_events()
1158 u32 num_sources; in __scmi_enable_evt() local
[all …]
Dnotify.h81 unsigned int num_sources; member
Dsystem.c139 .num_sources = SCMI_SYSTEM_NUM_SOURCES,
Dbase.c371 .num_sources = SCMI_BASE_NUM_SOURCES,
/linux-6.12.1/drivers/video/backlight/
Dlm3509_bl.c134 int ret, num_sources, i; in lm3509_parse_led_sources() local
136 num_sources = of_property_count_u32_elems(node, "led-sources"); in lm3509_parse_led_sources()
137 if (num_sources < 0) in lm3509_parse_led_sources()
139 else if (num_sources > ARRAY_SIZE(sources)) in lm3509_parse_led_sources()
143 num_sources); in lm3509_parse_led_sources()
147 for (i = 0; i < num_sources; i++) { in lm3509_parse_led_sources()
Dlm3630a_bl.c381 int ret, num_sources, i; in lm3630a_parse_led_sources() local
383 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources()
384 if (num_sources < 0) in lm3630a_parse_led_sources()
386 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources()
390 num_sources); in lm3630a_parse_led_sources()
394 for (i = 0; i < num_sources; i++) { in lm3630a_parse_led_sources()
/linux-6.12.1/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-crossbar.c191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_state()
195 for (i = 0; i < xbar->num_sources; ++i) { in mxc_isi_crossbar_init_state()
203 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_state()
456 xbar->num_sources = isi->pdata->num_ports; in mxc_isi_crossbar_init()
457 num_pads = xbar->num_sinks + xbar->num_sources; in mxc_isi_crossbar_init()
473 for (i = 0; i < xbar->num_sources; ++i) in mxc_isi_crossbar_init()
Dimx8-isi-core.h192 unsigned int num_sources; member
/linux-6.12.1/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.12.1/drivers/pinctrl/qcom/
Dpinctrl-spmi-gpio.c167 unsigned int num_sources; member
522 if (arg >= pad->num_sources) in pmic_gpio_config_set()
835 pad->num_sources = 4; in pmic_gpio_populate()
841 pad->num_sources = 8; in pmic_gpio_populate()
844 pad->num_sources = 1; in pmic_gpio_populate()
849 pad->num_sources = 2; in pmic_gpio_populate()
854 pad->num_sources = 2; in pmic_gpio_populate()
859 pad->num_sources = 3; in pmic_gpio_populate()
Dpinctrl-spmi-mpp.c131 unsigned int num_sources; member
442 if (arg >= pad->num_sources) in pmic_mpp_config_set()
673 pad->num_sources = 4; in pmic_mpp_populate()
676 pad->num_sources = 8; in pmic_mpp_populate()
/linux-6.12.1/arch/powerpc/include/asm/
Dmpic.h282 unsigned int num_sources; member
/linux-6.12.1/drivers/firmware/arm_scmi/vendors/imx/
Dimx-sm-misc.c199 .num_sources = MAX_MISC_CTRL_SOURCES,
Dimx-sm-bbm.c232 .num_sources = 1,
/linux-6.12.1/drivers/acpi/riscv/
Dirq.c163 return riscv_acpi_register_ext_intc(aplic->gsi_base, aplic->num_sources, aplic->num_idcs, in riscv_acpi_aplic_parse_madt()
/linux-6.12.1/include/acpi/
Dactbl2.h1400 u16 num_sources; member