/openbmc/u-boot/drivers/pci/ |
H A D | pci-emul-uclass.c | 15 int dev_count; member 48 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()
|
/openbmc/linux/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-basic.sh | 34 dev_count="$(echo $devices | wc -w)" 35 echo "Found ${dev_count} breakable devices..." 52 echo "$failed devices failed to recover ($dev_count tested)"
|
/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 22 u32 dev_count; member 463 u32 dev_count; in cvm_crypto_init() local 465 dev_count = dev_handle.dev_count; in cvm_crypto_init() 466 dev_handle.cdev[dev_count] = cptvf; in cvm_crypto_init() 467 dev_handle.dev_count++; in cvm_crypto_init() 469 if (dev_count == 3) { in cvm_crypto_init() 481 u32 dev_count; in cvm_crypto_exit() local 483 dev_count = --dev_handle.dev_count; in cvm_crypto_exit() 484 if (!dev_count) in cvm_crypto_exit()
|
/openbmc/qemu/hw/acpi/ |
H A D | memory_hotplug.c | 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,
|
H A D | cpu.c | 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,
|
/openbmc/linux/drivers/crypto/chelsio/ |
H A D | chcr_core.c | 121 atomic_inc(&drv_data.dev_count); in chcr_dev_init() 142 atomic_dec(&drv_data.dev_count); in chcr_dev_move() 258 if (!atomic_read(&drv_data.dev_count)) in chcr_uld_state_change() 274 atomic_set(&drv_data.dev_count, 0); in chcr_crypto_init()
|
H A D | chcr_core.h | 78 atomic_t dev_count; member
|
/openbmc/linux/drivers/watchdog/ |
H A D | wdt_pci.c | 58 static int dev_count; variable 609 dev_count++; in wdtpci_init_one() 610 if (dev_count > 1) { in wdtpci_init_one() 715 dev_count--; in wdtpci_remove_one()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxfw/ |
H A D | mlxfw_mfa2.c | 234 mfa2_file->dev_count) { in mlxfw_mfa2_file_validate() 304 mfa2_file->dev_count = be16_to_cpu(pd->num_devices); in mlxfw_mfa2_file_init() 307 mfa2_file->dev_count); in mlxfw_mfa2_file_init() 341 mfa2_file->dev_count) { in mlxfw_mfa2_tlv_dev_get()
|
H A D | mlxfw_mfa2_file.h | 13 u16 dev_count; member
|
/openbmc/qemu/include/hw/acpi/ |
H A D | memory_hotplug.h | 32 uint32_t dev_count; member
|
H A D | cpu.h | 38 uint32_t dev_count; member
|
/openbmc/linux/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1200 int dev_count; member 3873 if (hw->dev_count > 1) { in sw_enable() 3883 if (hw->dev_count > 1) in sw_enable() 4272 if (hw->dev_count > 1) in send_packet() 4425 for (port = 0; port < hw->dev_count; port++) { in tx_done() 4535 if (hw->dev_count > 1) { in netdev_tx_timeout() 4565 if (hw->dev_count > 1) { in netdev_tx_timeout() 4710 if (hw->dev_count > 1) { in port_rcv_packets() 4755 if (hw->dev_count > 1) { in dev_rcv_special() 4985 if (hw->dev_count > 1) { in netdev_close() [all …]
|
/openbmc/qemu/include/hw/i3c/ |
H A D | aspeed_i3c.h | 135 uint16_t dev_count:5; member
|
/openbmc/linux/drivers/target/ |
H A D | target_core_hba.c | 157 WARN_ON(hba->dev_count); in core_delete_hba()
|
H A D | target_core_device.c | 959 hba->dev_count++; in target_configure_device() 991 hba->dev_count--; in target_free_device()
|
/openbmc/linux/drivers/crypto/ccp/ |
H A D | ccp-dev.c | 39 static atomic_t dev_count = ATOMIC_INIT(0); variable 610 if (atomic_inc_return(&dev_count) > max_devs) in ccp_dev_init()
|
/openbmc/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_hdcp.c | 71 u8 dev_count; member 923 hdcp_ctrl->dev_count = down_stream_devices; in msm_hdmi_hdcp_recv_check_bstatus() 1033 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_recv_ksv_fifo() 1123 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_write_ksv_fifo()
|
/openbmc/linux/virt/kvm/ |
H A D | kvm_main.c | 5377 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy() 5426 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev() 5448 while (idx < bus->dev_count && in __kvm_io_bus_write() 5497 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie() 5519 while (idx < bus->dev_count && in __kvm_io_bus_read() 5563 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev() 5566 new_bus = kmalloc(struct_size(bus, range, bus->dev_count + 1), in kvm_io_bus_register_dev() 5577 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev() 5582 new_bus->dev_count++; in kvm_io_bus_register_dev() 5585 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev() [all …]
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | apple-properties.c | 45 u32 dev_count; member
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | diag.h | 291 u32 dev_count; member
|
/openbmc/linux/drivers/staging/ks7010/ |
H A D | ks_wlan.h | 481 int dev_count; member
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_main.c | 660 int dev_count = 0; in esas2r_show_info() local 698 ++dev_count, in esas2r_show_info() 702 if (dev_count == 0) in esas2r_show_info()
|
/openbmc/linux/include/target/ |
H A D | target_core_base.h | 896 u32 dev_count; member
|
/openbmc/linux/fs/fuse/ |
H A D | fuse_i.h | 569 atomic_t dev_count; member
|