Searched refs:num_sources (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.6/drivers/firmware/arm_scmi/ |
D | notify.c | 335 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 …]
|
D | notify.h | 77 unsigned int num_sources; member
|
D | system.c | 123 .num_sources = SCMI_SYSTEM_NUM_SOURCES,
|
D | base.c | 370 .num_sources = SCMI_BASE_NUM_SOURCES,
|
/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-crossbar.c | 192 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_cfg() 196 for (i = 0; i < xbar->num_sources; ++i) { in mxc_isi_crossbar_init_cfg() 204 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_cfg() 453 xbar->num_sources = isi->pdata->num_ports; in mxc_isi_crossbar_init() 454 num_pads = xbar->num_sinks + xbar->num_sources; in mxc_isi_crossbar_init() 469 for (i = 0; i < xbar->num_sources; ++i) in mxc_isi_crossbar_init()
|
D | imx8-isi-core.h | 192 unsigned int num_sources; member
|
/Linux-v6.6/arch/powerpc/sysdev/ |
D | mpic_msi.c | 53 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()
|
D | mpic.c | 878 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-v6.6/drivers/video/backlight/ |
D | lm3630a_bl.c | 384 int ret, num_sources, i; in lm3630a_parse_led_sources() local 386 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources() 387 if (num_sources < 0) in lm3630a_parse_led_sources() 389 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources() 393 num_sources); in lm3630a_parse_led_sources() 397 for (i = 0; i < num_sources; i++) { in lm3630a_parse_led_sources()
|
/Linux-v6.6/drivers/pinctrl/qcom/ |
D | pinctrl-spmi-gpio.c | 167 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()
|
D | pinctrl-spmi-mpp.c | 131 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-v6.6/arch/powerpc/include/asm/ |
D | mpic.h | 282 unsigned int num_sources; member
|
/Linux-v6.6/include/acpi/ |
D | actbl2.h | 1302 u16 num_sources; member
|