/openbmc/qemu/hw/intc/ |
H A D | sifive_plic.c | 147 (plic->num_sources + 31) >> 3)) { in sifive_plic_read() 206 (plic->num_sources + 31) >> 3)) { in sifive_plic_write() 242 if (value < plic->num_sources) { in sifive_plic_write() 273 memset(s->source_priority, 0, sizeof(uint32_t) * s->num_sources); in sifive_plic_reset() 367 if (!s->num_sources) { in sifive_plic_realize() 372 s->bitfield_words = (s->num_sources + 31) >> 5; in sifive_plic_realize() 374 s->source_priority = g_new0(uint32_t, s->num_sources); in sifive_plic_realize() 380 qdev_init_gpio_in(dev, sifive_plic_irq_request, s->num_sources); in sifive_plic_realize() 411 num_sources, 0, 472 uint32_t hartid_base, uint32_t num_sources, in type_init() [all …]
|
H A D | riscv_aplic.c | 983 uint32_t hartid_base, uint32_t num_harts, uint32_t num_sources, in riscv_aplic_create() argument 991 assert(num_sources < APLIC_MAX_SOURCE); in riscv_aplic_create() 999 qdev_prop_set_uint32(dev, "num-irqs", num_sources + 1); in riscv_aplic_create()
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | notify.c | 335 u32 num_sources; member 753 unsigned int num_sources; in scmi_register_protocol_events() local 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() 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() 1158 num_sources = 1; in __scmi_enable_evt() 1165 for (; num_sources; src_id++, num_sources--) { in __scmi_enable_evt() [all …]
|
H A D | notify.h | 77 unsigned int num_sources; member
|
H A D | system.c | 123 .num_sources = SCMI_SYSTEM_NUM_SOURCES,
|
H A D | base.c | 370 .num_sources = SCMI_BASE_NUM_SOURCES,
|
/openbmc/qemu/include/hw/intc/ |
H A D | sifive_plic.h | 65 uint32_t num_sources; member 81 uint32_t hartid_base, uint32_t num_sources,
|
H A D | riscv_aplic.h | 76 uint32_t hartid_base, uint32_t num_harts, uint32_t num_sources,
|
/openbmc/linux/drivers/media/platform/nxp/imx8-isi/ |
H A D | imx8-isi-crossbar.c | 191 routes = kcalloc(xbar->num_sources, sizeof(*routes), GFP_KERNEL); in mxc_isi_crossbar_init_cfg() 195 for (i = 0; i < xbar->num_sources; ++i) { in mxc_isi_crossbar_init_cfg() 203 routing.num_routes = xbar->num_sources; in mxc_isi_crossbar_init_cfg() 452 xbar->num_sources = isi->pdata->num_ports; in mxc_isi_crossbar_init() 453 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()
|
H A D | imx8-isi-core.h | 192 unsigned int num_sources; member
|
/openbmc/linux/arch/powerpc/sysdev/ |
H A 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()
|
H A 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() 1553 BUG_ON(mpic->num_sources == 0); in mpic_init() 1608 for (i = 0; i < mpic->num_sources; i++) { in mpic_init() 1753 for (i = 0; i < mpic->num_sources ; i++) in mpic_teardown_this_cpu() 1938 for (i = 0; i < mpic->num_sources; i++) { in mpic_suspend_one() [all …]
|
/openbmc/linux/drivers/video/backlight/ |
H A D | lm3630a_bl.c | 379 int ret, num_sources, i; in lm3630a_parse_led_sources() local 381 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources() 382 if (num_sources < 0) in lm3630a_parse_led_sources() 384 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources() 388 num_sources); in lm3630a_parse_led_sources() 392 for (i = 0; i < num_sources; i++) { in lm3630a_parse_led_sources()
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A 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()
|
H A 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()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | mpic.h | 282 unsigned int num_sources; member
|
/openbmc/linux/include/acpi/ |
H A D | actbl2.h | 1302 u16 num_sources; member
|