Searched refs:dev_count (Results 1 – 8 of 8) sorted by relevance
15 int dev_count; member48 priv->dev_count++; in sandbox_pci_emul_post_probe()58 priv->dev_count--; in sandbox_pci_emul_pre_remove()59 sandbox_set_enable_pci_map(priv->dev_count > 0); in sandbox_pci_emul_pre_remove()
58 for (i = 0; i < mem_st->dev_count; i++) { in acpi_memory_ospm_status()72 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_read()125 if (!mem_st->dev_count) { in acpi_memory_hotplug_write()130 if (mem_st->selector >= mem_st->dev_count) { in acpi_memory_hotplug_write()210 state->dev_count = machine->ram_slots; in acpi_memory_hotplug_init()211 if (!state->dev_count) { in acpi_memory_hotplug_init()215 state->devs = g_malloc0(sizeof(*state->devs) * state->dev_count); in acpi_memory_hotplug_init()244 if (slot >= mem_st->dev_count) { in acpi_memory_slot_status()327 VMSTATE_STRUCT_VARRAY_POINTER_UINT32(devs, MemHotplugState, dev_count,
48 for (i = 0; i < cpu_st->dev_count; i++) { in acpi_cpu_ospm_status()59 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_rd()111 assert(cpu_st->dev_count); in cpu_hotplug_wr()114 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_wr()173 iter = iter + 1 < cpu_st->dev_count ? iter + 1 : 0; in cpu_hotplug_wr()225 state->dev_count = id_list->len; in cpu_hotplug_hw_init()226 state->devs = g_new0(typeof(*state->devs), state->dev_count); in cpu_hotplug_hw_init()242 for (i = 0; i < cpu_st->dev_count; i++) { in get_cpu_status()315 VMSTATE_STRUCT_VARRAY_POINTER_UINT32(devs, CPUHotplugState, dev_count,
32 uint32_t dev_count; member
38 uint32_t dev_count; member
129 uint16_t dev_count:5; member
1516 for (i = 0; i < cmd.dev_count; i++) { in dw_i3c_addr_assign_cmd()1576 cmd.dev_count - i); in dw_i3c_addr_assign_cmd()
7353 + unsigned int dev_count;7423 + if (scan->dev_size <= scan->dev_count) {7432 + d = scan->devs + scan->dev_count;7443 + ++scan->dev_count;7456 + for (i = 0; i < scan->dev_count; ++i) {7698 + return scan->dev_count ? scan->devs + 0 : NULL;7700 + for (i = 0; i != scan->dev_count; ++i) {