Home
last modified time | relevance | path

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

/drivers/input/misc/
Dgpio_event.c121 int dev_count = 1; in gpio_event_probe() local
136 while (event_info->names[dev_count]) in gpio_event_probe()
137 dev_count++; in gpio_event_probe()
141 sizeof(ip->input_devs->dev[0]) * dev_count, GFP_KERNEL); in gpio_event_probe()
150 for (i = 0; i < dev_count; i++) { in gpio_event_probe()
164 ip->input_devs->count = dev_count; in gpio_event_probe()
173 for (i = 0; i < dev_count; i++) { in gpio_event_probe()
192 for (i = dev_count - 1; i >= registered; i--) { in gpio_event_probe()
/drivers/crypto/chelsio/
Dchcr_core.c31 static atomic_t dev_count; variable
88 atomic_inc(&dev_count); in chcr_dev_add()
112 atomic_dec(&dev_count); in chcr_dev_remove()
202 if (atomic_read(&dev_count) == 1) in chcr_uld_state_change()
212 if (!atomic_read(&dev_count)) in chcr_uld_state_change()
236 if (atomic_read(&dev_count)) in chcr_crypto_exit()
/drivers/crypto/cavium/cpt/
Dcptvf_algs.c27 u32 dev_count; member
501 u32 dev_count; in cvm_crypto_init() local
503 dev_count = dev_handle.dev_count; in cvm_crypto_init()
504 dev_handle.cdev[dev_count] = cptvf; in cvm_crypto_init()
505 dev_handle.dev_count++; in cvm_crypto_init()
507 if (dev_count == 3) { in cvm_crypto_init()
519 u32 dev_count; in cvm_crypto_exit() local
521 dev_count = --dev_handle.dev_count; in cvm_crypto_exit()
522 if (!dev_count) in cvm_crypto_exit()
/drivers/watchdog/
Dwdt_pci.c62 static int dev_count; variable
612 dev_count++; in wdtpci_init_one()
613 if (dev_count > 1) { in wdtpci_init_one()
718 dev_count--; in wdtpci_remove_one()
/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c265 mfa2_file->dev_count) { in mlxfw_mfa2_file_validate()
335 mfa2_file->dev_count = be16_to_cpu(pd->num_devices); in mlxfw_mfa2_file_init()
338 mfa2_file->dev_count); in mlxfw_mfa2_file_init()
372 mfa2_file->dev_count) { in mlxfw_mfa2_tlv_dev_get()
Dmlxfw_mfa2_file.h44 u16 dev_count; member
/drivers/net/ethernet/micrel/
Dksz884x.c1275 int dev_count; member
4255 if (hw->dev_count > 1) { in sw_enable()
4265 if (hw->dev_count > 1) in sw_enable()
4654 if (hw->dev_count > 1) in send_packet()
4810 for (port = 0; port < hw->dev_count; port++) { in tx_done()
4919 if (hw->dev_count > 1) { in netdev_tx_timeout()
4949 if (hw->dev_count > 1) { in netdev_tx_timeout()
5096 if (hw->dev_count > 1) { in port_rcv_packets()
5141 if (hw->dev_count > 1) { in dev_rcv_special()
5372 if (hw->dev_count > 1) { in netdev_close()
[all …]
/drivers/target/
Dtarget_core_hba.c170 WARN_ON(hba->dev_count); in core_delete_hba()
Dtarget_core_device.c1047 hba->dev_count++; in target_configure_device()
1081 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c482 if (hba->dev_count) { in pscsi_configure_device()
Dtarget_core_configfs.c3072 if (hba->dev_count) { in target_hba_mode_store()
/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c80 u8 dev_count; member
932 hdcp_ctrl->dev_count = down_stream_devices; in msm_hdmi_hdcp_recv_check_bstatus()
1042 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_recv_ksv_fifo()
1132 ksv_bytes = 5 * hdcp_ctrl->dev_count; in msm_hdmi_hdcp_write_ksv_fifo()
/drivers/staging/irda/drivers/
Dsmsc-ircc2.c358 static unsigned short dev_count; variable
473 dev_count = 0; in smsc_ircc_init()
533 if (dev_count >= ARRAY_SIZE(dev_self)) { in smsc_ircc_open()
561 dev_self[dev_count] = self; in smsc_ircc_open()
602 dev_count, NULL, 0); in smsc_ircc_open()
610 dev_count++; in smsc_ircc_open()
625 dev_self[dev_count] = NULL; in smsc_ircc_open()
/drivers/firmware/efi/
Dapple-properties.c51 u32 dev_count; member
/drivers/staging/unisys/visorbus/
Dcontrolvmchannel.h371 u32 dev_count; member
/drivers/staging/ks7010/
Dks_wlan.h464 int dev_count; member
Dks_hostif.c2598 priv->dev_count = 0; in hostif_init()
/drivers/scsi/esas2r/
Desas2r_main.c706 int dev_count = 0; in esas2r_show_info() local
744 ++dev_count, in esas2r_show_info()
748 if (dev_count == 0) in esas2r_show_info()
/drivers/block/
Dsx8.c1003 unsigned int i, dev_count = 0; in carm_handle_scan_chan() local
1019 dev_count++; in carm_handle_scan_chan()
1023 pci_name(host->pdev), dev_count); in carm_handle_scan_chan()