Home
last modified time | relevance | path

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

12

/linux-6.1.9/tools/testing/selftests/powerpc/eeh/
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)"
/linux-6.1.9/drivers/crypto/cavium/cpt/
Dcptvf_algs.c22 u32 dev_count; member
465 u32 dev_count; in cvm_crypto_init() local
467 dev_count = dev_handle.dev_count; in cvm_crypto_init()
468 dev_handle.cdev[dev_count] = cptvf; in cvm_crypto_init()
469 dev_handle.dev_count++; in cvm_crypto_init()
471 if (dev_count == 3) { in cvm_crypto_init()
483 u32 dev_count; in cvm_crypto_exit() local
485 dev_count = --dev_handle.dev_count; in cvm_crypto_exit()
486 if (!dev_count) in cvm_crypto_exit()
/linux-6.1.9/drivers/crypto/chelsio/
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()
Dchcr_core.h78 atomic_t dev_count; member
/linux-6.1.9/drivers/watchdog/
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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxfw/
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()
Dmlxfw_mfa2_file.h13 u16 dev_count; member
/linux-6.1.9/drivers/net/ethernet/micrel/
Dksz884x.c1200 int dev_count; member
4171 if (hw->dev_count > 1) { in sw_enable()
4181 if (hw->dev_count > 1) in sw_enable()
4570 if (hw->dev_count > 1) in send_packet()
4723 for (port = 0; port < hw->dev_count; port++) { in tx_done()
4833 if (hw->dev_count > 1) { in netdev_tx_timeout()
4863 if (hw->dev_count > 1) { in netdev_tx_timeout()
5008 if (hw->dev_count > 1) { in port_rcv_packets()
5053 if (hw->dev_count > 1) { in dev_rcv_special()
5283 if (hw->dev_count > 1) { in netdev_close()
[all …]
/linux-6.1.9/drivers/target/
Dtarget_core_hba.c157 WARN_ON(hba->dev_count); in core_delete_hba()
Dtarget_core_device.c1006 hba->dev_count++; in target_configure_device()
1038 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c466 if (hba->dev_count) { in pscsi_configure_device()
/linux-6.1.9/drivers/crypto/ccp/
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()
/linux-6.1.9/drivers/gpu/drm/msm/hdmi/
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()
/linux-6.1.9/virt/kvm/
Dkvm_main.c5154 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy()
5203 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev()
5225 while (idx < bus->dev_count && in __kvm_io_bus_write()
5274 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie()
5296 while (idx < bus->dev_count && in __kvm_io_bus_read()
5340 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev()
5343 new_bus = kmalloc(struct_size(bus, range, bus->dev_count + 1), in kvm_io_bus_register_dev()
5354 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev()
5359 new_bus->dev_count++; in kvm_io_bus_register_dev()
5362 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev()
[all …]
/linux-6.1.9/drivers/firmware/efi/
Dapple-properties.c45 u32 dev_count; member
/linux-6.1.9/arch/s390/include/asm/
Ddiag.h276 u32 dev_count; member
/linux-6.1.9/drivers/staging/ks7010/
Dks_wlan.h481 int dev_count; member
Dks_hostif.c2287 priv->dev_count = 0; in hostif_counters_init()
/linux-6.1.9/drivers/scsi/esas2r/
Desas2r_main.c659 int dev_count = 0; in esas2r_show_info() local
697 ++dev_count, in esas2r_show_info()
701 if (dev_count == 0) in esas2r_show_info()
/linux-6.1.9/fs/fuse/
Dfuse_i.h547 atomic_t dev_count; member
Ddev.c2213 if (atomic_dec_and_test(&fc->dev_count)) { in fuse_dev_release()
2246 atomic_inc(&fc->dev_count); in fuse_device_clone()
Dinode.c830 atomic_set(&fc->dev_count, 1); in fuse_conn_init()
/linux-6.1.9/include/target/
Dtarget_core_base.h876 u32 dev_count; member
/linux-6.1.9/fs/nfs/flexfilelayout/
Dflexfilelayout.c2526 const int dev_count = PNFS_LAYOUTSTATS_MAXDEV; in ff_layout_prepare_layoutstats() local
2529 args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), in ff_layout_prepare_layoutstats()
2538 dev_count, in ff_layout_prepare_layoutstats()
/linux-6.1.9/include/linux/
Dkvm_host.h200 int dev_count; member

12