Home
last modified time | relevance | path

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

/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()
/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.h79 atomic_t dev_count; member
/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()
/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
/drivers/net/ethernet/micrel/
Dksz884x.c1268 int dev_count; member
4246 if (hw->dev_count > 1) { in sw_enable()
4256 if (hw->dev_count > 1) in sw_enable()
4645 if (hw->dev_count > 1) in send_packet()
4798 for (port = 0; port < hw->dev_count; port++) { in tx_done()
4908 if (hw->dev_count > 1) { in netdev_tx_timeout()
4938 if (hw->dev_count > 1) { in netdev_tx_timeout()
5083 if (hw->dev_count > 1) { in port_rcv_packets()
5128 if (hw->dev_count > 1) { in dev_rcv_special()
5359 if (hw->dev_count > 1) { in netdev_close()
[all …]
/drivers/crypto/ccp/
Dccp-dev.c39 static atomic_t dev_count = ATOMIC_INIT(0); variable
614 if (atomic_inc_return(&dev_count) > max_devs) in ccp_dev_init()
/drivers/target/
Dtarget_core_hba.c157 WARN_ON(hba->dev_count); in core_delete_hba()
Dtarget_core_device.c977 hba->dev_count++; in target_configure_device()
1009 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c469 if (hba->dev_count) { in pscsi_configure_device()
Dtarget_core_configfs.c3371 if (hba->dev_count) { in target_hba_mode_store()
/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()
/drivers/firmware/efi/
Dapple-properties.c45 u32 dev_count; member
/drivers/visorbus/
Dcontrolvmchannel.h362 u32 dev_count; member
/drivers/staging/ks7010/
Dks_wlan.h481 int dev_count; member
Dks_hostif.c2294 priv->dev_count = 0; in hostif_counters_init()
/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()