Home
last modified time | relevance | path

Searched refs:socket_count (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/pcmcia/
H A Di82092.c70 static int socket_count; /* shortcut */ variable
88 socket_count = 2; in i82092aa_pci_probe()
91 socket_count = 1; in i82092aa_pci_probe()
95 socket_count = 4; in i82092aa_pci_probe()
105 socket_count); in i82092aa_pci_probe()
112 for (i = 0; i < socket_count; i++) { in i82092aa_pci_probe()
151 for (i = 0; i < socket_count; i++) { in i82092aa_pci_probe()
181 for (i = 0; i < socket_count; i++) in i82092aa_pci_remove()
308 for (i = 0; i < socket_count; i++) { in i82092aa_interrupt()
/openbmc/qemu/hw/riscv/
H A Dvirt-acpi-build.c144 static void acpi_dsdt_add_plic_aplic(Aml *scope, uint8_t socket_count, in acpi_dsdt_add_plic_aplic() argument
152 for (socket = 0; socket < socket_count; socket++) { in acpi_dsdt_add_plic_aplic()
416 uint8_t socket_count; in build_dsdt() local
436 socket_count = riscv_socket_count(ms); in build_dsdt()
439 acpi_dsdt_add_plic_aplic(scope, socket_count, memmap[VIRT_PLIC].base, in build_dsdt()
442 acpi_dsdt_add_plic_aplic(scope, socket_count, memmap[VIRT_APLIC_S].base, in build_dsdt()
448 if (socket_count == 1) { in build_dsdt()
453 } else if (socket_count == 2) { in build_dsdt()
H A Dvirt.c515 int socket_count = riscv_socket_count(ms); in create_fdt_one_imsic() local
524 imsic_regs = g_new0(uint32_t, socket_count * 4); in create_fdt_one_imsic()
532 for (socket = 0; socket < socket_count; socket++) { in create_fdt_one_imsic()
559 socket_count * sizeof(uint32_t) * 4); in create_fdt_one_imsic()
568 if (socket_count > 1) { in create_fdt_one_imsic()
572 imsic_num_bits(socket_count)); in create_fdt_one_imsic()
737 int socket_count = riscv_socket_count(ms); in create_fdt_sockets() local
751 for (socket = (socket_count - 1); socket >= 0; socket--) { in create_fdt_sockets()
786 for (socket = (socket_count - 1); socket >= 0; socket--) { in create_fdt_sockets()
808 for (socket = 0; socket < socket_count; socket++) { in create_fdt_sockets()
[all …]
/openbmc/qemu/target/riscv/kvm/
H A Dkvm-cpu.c1701 uint64_t socket_count = riscv_socket_count(machine); in kvm_riscv_aia_create() local
1754 if (socket_count > 1) { in kvm_riscv_aia_create()
1755 max_group_id = socket_count - 1; in kvm_riscv_aia_create()
1792 for (socket = 0; socket < socket_count; socket++) { in kvm_riscv_aia_create()