Home
last modified time | relevance | path

Searched refs:dev_count (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/u-boot/drivers/pci/
H A Dpci-emul-uclass.c15 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 Deeh-basic.sh34 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 Dcptvf_algs.c22 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 Dmemory_hotplug.c58 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()
218 state->dev_count = machine->ram_slots; in acpi_memory_hotplug_init()
219 if (!state->dev_count) { in acpi_memory_hotplug_init()
223 state->devs = g_malloc0(sizeof(*state->devs) * state->dev_count); in acpi_memory_hotplug_init()
252 if (slot >= mem_st->dev_count) { in acpi_memory_slot_status()
335 VMSTATE_STRUCT_VARRAY_POINTER_UINT32(devs, MemHotplugState, dev_count,
H A Dcpu.c49 for (i = 0; i < cpu_st->dev_count; i++) { in acpi_cpu_ospm_status()
60 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_rd()
112 assert(cpu_st->dev_count); in cpu_hotplug_wr()
115 if (cpu_st->selector >= cpu_st->dev_count) { in cpu_hotplug_wr()
174 iter = iter + 1 < cpu_st->dev_count ? iter + 1 : 0; in cpu_hotplug_wr()
226 state->dev_count = id_list->len; in cpu_hotplug_hw_init()
227 state->devs = g_new0(typeof(*state->devs), state->dev_count); in cpu_hotplug_hw_init()
243 for (i = 0; i < cpu_st->dev_count; i++) { in get_cpu_status()
316 VMSTATE_STRUCT_VARRAY_POINTER_UINT32(devs, CPUHotplugState, dev_count,
/openbmc/linux/drivers/crypto/chelsio/
H A Dchcr_core.c121 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 Dchcr_core.h78 atomic_t dev_count; member
/openbmc/linux/drivers/watchdog/
H A Dwdt_pci.c58 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 Dmlxfw_mfa2_file.h13 u16 dev_count; member
H A Dmlxfw_mfa2.c234 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()
/openbmc/qemu/include/hw/acpi/
H A Dmemory_hotplug.h31 uint32_t dev_count; member
H A Dcpu.h35 uint32_t dev_count; member
/openbmc/linux/drivers/net/ethernet/micrel/
H A Dksz884x.c1200 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()
4535 if (hw->dev_count > 1) { in netdev_tx_timeout()
4985 if (hw->dev_count > 1) { in netdev_close()
5052 if (hw->dev_count > 1) in hw_cfg_huge_frame()
5159 if (hw->dev_count > 1) { in netdev_open()
5416 if (hw->dev_count > 1) in netdev_change_mtu()
6604 hw->dev_count = 1; in pcidev_init()
[all …]
/openbmc/qemu/include/hw/i3c/
H A Daspeed_i3c.h135 uint16_t dev_count:5; member
/openbmc/linux/drivers/target/
H A Dtarget_core_hba.c157 WARN_ON(hba->dev_count); in core_delete_hba()
H A Dtarget_core_device.c959 hba->dev_count++; in target_configure_device()
991 hba->dev_count--; in target_free_device()
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-dev.c39 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 Dhdmi_hdcp.c71 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/drivers/firmware/efi/
H A Dapple-properties.c45 u32 dev_count; member
/openbmc/linux/virt/kvm/
H A Dkvm_main.c5376 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy()
5425 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev()
5447 while (idx < bus->dev_count && in __kvm_io_bus_write()
5496 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie()
5518 while (idx < bus->dev_count && in __kvm_io_bus_read()
5576 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev()
5581 new_bus->dev_count++; in kvm_io_bus_register_dev()
5584 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev()
5604 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_unregister_dev()
5610 if (i == bus->dev_count) in kvm_io_bus_unregister_dev()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Ddiag.h291 u32 dev_count; member
/openbmc/linux/drivers/staging/ks7010/
H A Dks_wlan.h481 int dev_count; member
/openbmc/linux/drivers/scsi/esas2r/
H A Desas2r_main.c660 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 Dtarget_core_base.h896 u32 dev_count; member
/openbmc/linux/fs/fuse/
H A Dfuse_i.h569 atomic_t dev_count; member

12