Home
last modified time | relevance | path

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

12

/linux-6.6.21/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.6.21/drivers/crypto/cavium/cpt/
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()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/net/ethernet/micrel/
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()
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 …]
/linux-6.6.21/drivers/target/
Dtarget_core_hba.c157 WARN_ON(hba->dev_count); in core_delete_hba()
Dtarget_core_device.c959 hba->dev_count++; in target_configure_device()
991 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c464 if (hba->dev_count) { in pscsi_configure_device()
/linux-6.6.21/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.6.21/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.6.21/virt/kvm/
Dkvm_main.c5375 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy()
5424 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev()
5446 while (idx < bus->dev_count && in __kvm_io_bus_write()
5495 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie()
5517 while (idx < bus->dev_count && in __kvm_io_bus_read()
5561 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev()
5564 new_bus = kmalloc(struct_size(bus, range, bus->dev_count + 1), in kvm_io_bus_register_dev()
5575 for (i = 0; i < bus->dev_count; i++) in kvm_io_bus_register_dev()
5580 new_bus->dev_count++; in kvm_io_bus_register_dev()
5583 (bus->dev_count - i) * sizeof(struct kvm_io_range)); in kvm_io_bus_register_dev()
[all …]
/linux-6.6.21/drivers/firmware/efi/
Dapple-properties.c45 u32 dev_count; member
/linux-6.6.21/arch/s390/include/asm/
Ddiag.h291 u32 dev_count; member
/linux-6.6.21/drivers/staging/ks7010/
Dks_wlan.h481 int dev_count; member
Dks_hostif.c2286 priv->dev_count = 0; in hostif_counters_init()
/linux-6.6.21/drivers/scsi/esas2r/
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()
/linux-6.6.21/include/target/
Dtarget_core_base.h896 u32 dev_count; member
/linux-6.6.21/fs/fuse/
Dfuse_i.h569 atomic_t dev_count; member
Ddev.c2216 if (atomic_dec_and_test(&fc->dev_count)) { in fuse_dev_release()
2249 atomic_inc(&fc->dev_count); in fuse_device_clone()
Dinode.c909 atomic_set(&fc->dev_count, 1); in fuse_conn_init()
/linux-6.6.21/fs/nfs/flexfilelayout/
Dflexfilelayout.c2527 const int dev_count = PNFS_LAYOUTSTATS_MAXDEV; in ff_layout_prepare_layoutstats() local
2530 args->devinfo = kmalloc_array(dev_count, sizeof(*args->devinfo), in ff_layout_prepare_layoutstats()
2540 &ff_layout->generic_hdr, &args->devinfo[0], dev_count, in ff_layout_prepare_layoutstats()
/linux-6.6.21/include/linux/
Dkvm_host.h209 int dev_count; member

12