/drivers/staging/iio/Documentation/ |
H A D | generic_buffer.c | 157 int dev_num, trig_num; local 195 dev_num = find_type_by_name(device_name, "iio:device"); 196 if (dev_num < 0) { 201 printf("iio device number being used is %d\n", dev_num); 203 asprintf(&dev_dir_name, "%siio:device%d", iio_dir, dev_num); 211 "%s-dev%d", device_name, dev_num); 244 "%siio:device%d/buffer", iio_dir, dev_num); 275 ret = asprintf(&buffer_access, "/dev/iio:device%d", dev_num);
|
H A D | iio_event_monitor.c | 200 int dev_num; local 210 dev_num = find_type_by_name(device_name, "iio:device"); 211 if (dev_num >= 0) { 213 device_name, dev_num); 214 ret = asprintf(&chrdev_name, "/dev/iio:device%d", dev_num);
|
/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 158 * @dev_num: device number of PCI device 161 int cpqhp_set_irq (u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num) argument 178 fakedev->devfn = dev_num << 3; 182 __func__, dev_num, bus_num, int_pin, irq_num); 206 static int PCI_ScanBusForNonBridge(struct controller *ctrl, u8 bus_num, u8 *dev_num) argument 218 dbg("Looking for nonbridge bus_num %d dev_num %d\n", bus_num, tdevice); 221 *dev_num = tdevice; 230 dbg("Looking for bridge bus_num %d dev_num %d\n", bus_num, tdevice); 244 static int PCI_GetBusDevHelper(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot, u8 nobridge) argument 258 *dev_num 283 cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num, u8 slot) argument [all...] |
H A D | acpiphp_ibm.c | 74 u8 dev_num; member in struct:apci_descriptor::__anon4793
|
H A D | cpqphp_core.c | 328 * @dev_num - device number of PCI device 334 get_slot_mapping(struct pci_bus *bus, u8 bus_num, u8 dev_num, u8 *slot) argument 342 dbg("%s: %p, %d, %d, %p\n", __func__, bus, bus_num, dev_num, slot); 352 if ((tbus == bus_num) && (tdevice == dev_num)) {
|
H A D | cpqphp.h | 430 int cpqhp_set_irq(u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num); 431 int cpqhp_get_bus_dev(struct controller *ctrl, u8 *bus_num, u8 *dev_num,
|
/drivers/infiniband/core/ |
H A D | user_mad.c | 97 int dev_num; member in struct:ib_umad_port 1162 port->dev_num = devnum + IB_UMAD_MAX_PORTS; 1166 port->dev_num = devnum; 1181 kobject_set_name(&port->cdev.kobj, "umad%d", port->dev_num); 1187 "umad%d", port->dev_num); 1200 kobject_set_name(&port->sm_cdev.kobj, "issm%d", port->dev_num); 1206 "issm%d", port->dev_num); 1228 if (port->dev_num < IB_UMAD_MAX_PORTS) 1266 if (port->dev_num < IB_UMAD_MAX_PORTS) 1267 clear_bit(port->dev_num, dev_ma [all...] |
/drivers/s390/char/ |
H A D | vmlogrdr.c | 310 int dev_num = 0; local 315 dev_num = iminor(inode); 316 if (dev_num >= MAXMINOR) 318 logptr = &sys_ser[dev_num];
|
/drivers/char/tpm/ |
H A D | tpm-interface.c | 648 if (chip_num != TPM_ANY_NUM && chip_num != pos->dev_num) 1051 clear_bit(chip->dev_num, dev_mask); 1095 chip->dev_num = find_first_zero_bit(dev_mask, TPM_NUM_DEVICES); 1097 if (chip->dev_num >= TPM_NUM_DEVICES) { 1102 set_bit(chip->dev_num, dev_mask); 1105 chip->dev_num);
|
H A D | tpm-dev.c | 190 if (chip->dev_num == 0)
|
H A D | tpm.h | 101 int dev_num; /* /dev/tpm# */ member in struct:tpm_chip
|
/drivers/nfc/st21nfca/ |
H A D | st21nfca.c | 900 int dev_num; local 924 dev_num = find_first_zero_bit(dev_mask, ST21NFCA_NUM_DEVICES); 926 if (dev_num >= ST21NFCA_NUM_DEVICES) 929 set_bit(dev_num, dev_mask); 932 "ST21AH", dev_num);
|
/drivers/scsi/csiostor/ |
H A D | csio_hw.h | 504 uint32_t dev_num; /* device number */ member in struct:csio_hw 589 #define CSIO_DEVID(__dev) ((__dev)->dev_num)
|
H A D | csio_lnode.h | 154 uint32_t dev_num; /* Device number */ member in struct:csio_lnode
|
H A D | csio_hw.c | 61 static int dev_num; variable 3936 hw->dev_num = dev_num; 3937 dev_num++;
|
H A D | csio_lnode.c | 889 ln->dev_num &= ~0xFFFF; 890 ln->dev_num |= vnpi;
|
H A D | csio_init.c | 632 ln->dev_num = (shost->host_no << 16);
|
/drivers/ata/ |
H A D | sata_fsl.c | 1154 unsigned int dev_num; local 1160 dev_num = ffs(dereg) - 1; 1161 if (dev_num < ap->nr_pmp_links && dereg != 0) { 1162 link = &ap->pmp_link[dev_num];
|
/drivers/usb/host/ |
H A D | fhci.h | 220 int dev_num; /* USB address of the root hub */ member in struct:virtual_root_hub
|
H A D | fhci-hcd.c | 354 fhci->vroot_hub->dev_num = 1; /* this field may be needed to fix */
|
/drivers/net/ethernet/marvell/ |
H A D | mv643xx_eth.c | 2659 int dev_num = 0; local 2680 while (dev_num < 3 && port_platdev[dev_num]) 2681 dev_num++; 2683 if (dev_num == 3) { 2706 ppdev = platform_device_alloc(MV643XX_ETH_NAME, dev_num); 2724 port_platdev[dev_num] = ppdev;
|
/drivers/scsi/ |
H A D | st.c | 4029 int dev_num = tape->index; 4031 cdev_devno = MKDEV(SCSI_TAPE_MAJOR, TAPE_MINOR(dev_num, mode, rew)); 4035 pr_err("st%d: out of memory. Device not attached.\n", dev_num); 4044 pr_err("st%d: Can't add %s-rewind mode %d\n", dev_num, 4046 pr_err("st%d: Device not attached.\n", dev_num); 4058 pr_err("st%d: device_create failed\n", dev_num); 4013 int dev_num = tape->index; local
|
H A D | osst.c | 5847 int i, dev_num, err = -ENODEV; 5880 dev_num = i; 5901 os_scsi_tapes[dev_num] = tpnt; 5905 sprintf(drive->disk_name, "osst%d", dev_num); 5978 err = osst_sysfs_add(MKDEV(OSST_MAJOR, dev_num), dev, tpnt, tape_name(tpnt)); 5984 err = osst_sysfs_add(MKDEV(OSST_MAJOR, dev_num + 128), dev, tpnt, name); 5996 osst_sysfs_destroy(MKDEV(OSST_MAJOR, dev_num)); 5841 int i, dev_num, err = -ENODEV; local
|
/drivers/scsi/esas2r/ |
H A D | atioctl.h | 688 u8 dev_num; member in struct:atto_hba_get_adapter_info::__anon5321
|
/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 2198 u_char pb, pbus = 0, dev_num, dnum = 0, timer; local 2206 dev_num = PCI_SLOT(pdev->devfn); 2212 if ((pbus != pb) || (dnum != dev_num)) 2244 lp->device = dev_num;
|