Home
last modified time | relevance | path

Searched refs:dev_count (Results 1 – 12 of 12) 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/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/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()
5097 if (hw->dev_count > 1) { in port_rcv_packets()
5142 if (hw->dev_count > 1) { in dev_rcv_special()
5373 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.c958 hba->dev_count++; in target_configure_device()
990 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c483 if (hba->dev_count) { in pscsi_configure_device()
Dtarget_core_configfs.c2967 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 hdmi_hdcp_recv_check_bstatus()
1042 ksv_bytes = 5 * hdcp_ctrl->dev_count; in hdmi_hdcp_recv_ksv_fifo()
1132 ksv_bytes = 5 * hdcp_ctrl->dev_count; in hdmi_hdcp_write_ksv_fifo()
/drivers/net/irda/
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/staging/unisys/visorbus/
Dcontrolvmchannel.h256 u32 dev_count; /* indicates the max number of member
/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.c1006 unsigned int i, dev_count = 0; in carm_handle_scan_chan() local
1022 dev_count++; in carm_handle_scan_chan()
1026 pci_name(host->pdev), dev_count); in carm_handle_scan_chan()