Home
last modified time | relevance | path

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

/linux-4.1.27/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()
/linux-4.1.27/drivers/staging/unisys/uislib/
Duislib.c147 u32 bus_no, dev_count; in create_bus() local
158 dev_count = msg->cmd.create_bus.dev_count; in create_bus()
160 POSTCODE_LINUX_4(BUS_CREATE_ENTRY_PC, bus_no, dev_count, in create_bus()
165 (dev_count * sizeof(struct device_info *)); in create_bus()
186 bus->device_count = dev_count; in create_bus()
223 cmd.add_vbus.dev_count = dev_count; in create_bus()
757 msg.cmd.create_bus.dev_count = 23; /* devNo+1; */ in uislib_client_inject_add_bus()
/linux-4.1.27/virt/kvm/
Dkvm_main.c2928 for (i = 0; i < bus->dev_count; i++) { in kvm_io_bus_destroy()
2969 bus->range[bus->dev_count++] = (struct kvm_io_range) { in kvm_io_bus_insert_dev()
2975 sort(bus->range, bus->dev_count, sizeof(struct kvm_io_range), in kvm_io_bus_insert_dev()
2992 range = bsearch(&key, bus->range, bus->dev_count, in kvm_io_bus_get_first_dev()
3014 while (idx < bus->dev_count && in __kvm_io_bus_write()
3058 if ((cookie >= 0) && (cookie < bus->dev_count) && in kvm_io_bus_write_cookie()
3080 while (idx < bus->dev_count && in __kvm_io_bus_read()
3119 if (bus->dev_count - bus->ioeventfd_count > NR_IOBUS_DEVS - 1) in kvm_io_bus_register_dev()
3122 new_bus = kzalloc(sizeof(*bus) + ((bus->dev_count + 1) * in kvm_io_bus_register_dev()
3126 memcpy(new_bus, bus, sizeof(*bus) + (bus->dev_count * in kvm_io_bus_register_dev()
[all …]
/linux-4.1.27/drivers/target/
Dtarget_core_hba.c151 WARN_ON(hba->dev_count); in core_delete_hba()
Dtarget_core_device.c1618 hba->dev_count++; in target_configure_device()
1650 hba->dev_count--; in target_free_device()
Dtarget_core_pscsi.c505 if (hba->dev_count) { in pscsi_configure_device()
Dtarget_core_configfs.c2729 if (hba->dev_count) { in target_core_hba_store_attr_hba_mode()
/linux-4.1.27/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 …]
/linux-4.1.27/drivers/staging/unisys/include/
Duisqueue.h330 u32 dev_count; /* max num of devices on bus */ member
/linux-4.1.27/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()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
Dcontrolvmchannel.h254 u32 dev_count; /* indicates the max number of member
/linux-4.1.27/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()
/linux-4.1.27/drivers/scsi/esas2r/
Desas2r_main.c707 int dev_count = 0; in esas2r_show_info() local
745 ++dev_count, in esas2r_show_info()
749 if (dev_count == 0) in esas2r_show_info()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dgenops.c481 int index, max_index = class_devno_max(), dev_count = 0; in get_devices_count() local
487 dev_count++; in get_devices_count()
491 return dev_count; in get_devices_count()
/linux-4.1.27/include/target/
Dtarget_core_base.h832 u32 dev_count; member
/linux-4.1.27/include/linux/
Dkvm_host.h155 int dev_count; member
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dvisorchipset_main.c1060 bus_info->dev_no = cmd->create_bus.dev_count; in bus_create()