devnum 1807 drivers/char/xillybus/xillybus_core.c int devnum, i, minor, major; devnum 1833 drivers/char/xillybus/xillybus_core.c for (i = minor, devnum = 0; devnum 1834 drivers/char/xillybus/xillybus_core.c devnum < endpoint->num_channels; devnum 1835 drivers/char/xillybus/xillybus_core.c devnum++, i++) { devnum 1863 drivers/char/xillybus/xillybus_core.c devnum--; i--; devnum 1864 drivers/char/xillybus/xillybus_core.c for (; devnum >= 0; devnum--, i--) devnum 143 drivers/gpu/drm/drm_pci.c p->devnum != PCI_SLOT(dev->pdev->devfn) || p->funcnum != PCI_FUNC(dev->pdev->devfn)) devnum 148 drivers/gpu/drm/drm_pci.c DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, devnum 643 drivers/hid/usbhid/hiddev.c dinfo.devnum = dev->devnum; devnum 317 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); devnum 471 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); devnum 30 drivers/i2c/busses/i2c-pxa-pci.c static int devnum; devnum 73 drivers/i2c/busses/i2c-pxa-pci.c pdev = platform_device_alloc("ce4100-i2c", devnum); devnum 93 drivers/i2c/busses/i2c-pxa-pci.c devnum++; devnum 150 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); devnum 170 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); devnum 244 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); devnum 253 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); devnum 379 drivers/i2c/busses/i2c-viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); devnum 126 drivers/ide/ide-acpi.c unsigned int bus, devnum, func; devnum 134 drivers/ide/ide-acpi.c devnum = PCI_SLOT(pdev->devfn); devnum 137 drivers/ide/ide-acpi.c addr = (u64)(devnum << 16 | func); devnum 139 drivers/ide/ide-acpi.c DEBPRINT("ENTER: pci %02x:%02x.%01x\n", bus, devnum, func); devnum 165 drivers/ide/ide-acpi.c devnum, func, (unsigned long long)addr, *handle); devnum 1266 drivers/infiniband/core/user_mad.c int devnum; devnum 1271 drivers/infiniband/core/user_mad.c devnum = ida_alloc_max(&umad_ida, IB_UMAD_MAX_PORTS - 1, GFP_KERNEL); devnum 1272 drivers/infiniband/core/user_mad.c if (devnum < 0) devnum 1274 drivers/infiniband/core/user_mad.c port->dev_num = devnum; devnum 1275 drivers/infiniband/core/user_mad.c if (devnum >= IB_UMAD_NUM_FIXED_MINOR) { devnum 1276 drivers/infiniband/core/user_mad.c base_umad = dynamic_umad_dev + devnum - IB_UMAD_NUM_FIXED_MINOR; devnum 1277 drivers/infiniband/core/user_mad.c base_issm = dynamic_issm_dev + devnum - IB_UMAD_NUM_FIXED_MINOR; devnum 1279 drivers/infiniband/core/user_mad.c base_umad = devnum + base_umad_dev; devnum 1280 drivers/infiniband/core/user_mad.c base_issm = devnum + base_issm_dev; devnum 1317 drivers/infiniband/core/user_mad.c ida_free(&umad_ida, devnum); devnum 107 drivers/infiniband/core/uverbs.h int devnum; devnum 1256 drivers/infiniband/core/uverbs_main.c int devnum; devnum 1290 drivers/infiniband/core/uverbs_main.c devnum = ida_alloc_max(&uverbs_ida, IB_UVERBS_MAX_DEVICES - 1, devnum 1292 drivers/infiniband/core/uverbs_main.c if (devnum < 0) devnum 1294 drivers/infiniband/core/uverbs_main.c uverbs_dev->devnum = devnum; devnum 1295 drivers/infiniband/core/uverbs_main.c if (devnum >= IB_UVERBS_NUM_FIXED_MINOR) devnum 1296 drivers/infiniband/core/uverbs_main.c base = dynamic_uverbs_dev + devnum - IB_UVERBS_NUM_FIXED_MINOR; devnum 1298 drivers/infiniband/core/uverbs_main.c base = IB_UVERBS_BASE_DEV + devnum; devnum 1304 drivers/infiniband/core/uverbs_main.c dev_set_name(&uverbs_dev->dev, "uverbs%d", uverbs_dev->devnum); devnum 1318 drivers/infiniband/core/uverbs_main.c ida_free(&uverbs_ida, devnum); devnum 1393 drivers/infiniband/core/uverbs_main.c ida_free(&uverbs_ida, uverbs_dev->devnum); devnum 5560 drivers/md/md.c unsigned long devnum; devnum 5571 drivers/md/md.c kstrtoul(buf+2, 10, &devnum) == 0 && devnum 5572 drivers/md/md.c devnum <= MINORMASK) devnum 5573 drivers/md/md.c return md_alloc(MKDEV(MD_MAJOR, devnum), NULL); devnum 317 drivers/md/raid10.c conf->mirrors[r10_bio->devs[slot].devnum].head_position = devnum 346 drivers/md/raid10.c return r10_bio->devs[slot].devnum; devnum 594 drivers/md/raid10.c r10bio->devs[slot].devnum = d; devnum 612 drivers/md/raid10.c r10bio->devs[slot].devnum = d; devnum 751 drivers/md/raid10.c disk = r10_bio->devs[slot].devnum; devnum 1164 drivers/md/raid10.c disk = r10_bio->devs[slot].devnum; devnum 1240 drivers/md/raid10.c int devnum = r10_bio->devs[n_copy].devnum; devnum 1244 drivers/md/raid10.c rdev = conf->mirrors[devnum].replacement; devnum 1248 drivers/md/raid10.c rdev = conf->mirrors[devnum].rdev; devnum 1251 drivers/md/raid10.c rdev = conf->mirrors[devnum].rdev; devnum 1265 drivers/md/raid10.c &conf->mirrors[devnum].rdev->flags) devnum 1266 drivers/md/raid10.c && enough(conf, devnum)) devnum 1365 drivers/md/raid10.c int d = r10_bio->devs[i].devnum; devnum 1452 drivers/md/raid10.c d = r10_bio->devs[j].devnum; devnum 1457 drivers/md/raid10.c d = r10_bio->devs[j].devnum; devnum 2047 drivers/md/raid10.c d = r10_bio->devs[i].devnum; devnum 2117 drivers/md/raid10.c d = r10_bio->devs[i].devnum; devnum 2156 drivers/md/raid10.c int dr = r10_bio->devs[0].devnum; devnum 2157 drivers/md/raid10.c int dw = r10_bio->devs[1].devnum; devnum 2240 drivers/md/raid10.c d = r10_bio->devs[1].devnum; devnum 2336 drivers/md/raid10.c int d = r10_bio->devs[r10_bio->read_slot].devnum; devnum 2378 drivers/md/raid10.c d = r10_bio->devs[sl].devnum; devnum 2409 drivers/md/raid10.c int dn = r10_bio->devs[r10_bio->read_slot].devnum; devnum 2433 drivers/md/raid10.c d = r10_bio->devs[sl].devnum; devnum 2469 drivers/md/raid10.c d = r10_bio->devs[sl].devnum; devnum 2520 drivers/md/raid10.c struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; devnum 2624 drivers/md/raid10.c int dev = r10_bio->devs[m].devnum; devnum 2663 drivers/md/raid10.c int dev = r10_bio->devs[m].devnum; devnum 3140 drivers/md/raid10.c int d = r10_bio->devs[j].devnum; devnum 3180 drivers/md/raid10.c if (r10_bio->devs[k].devnum == i) devnum 3184 drivers/md/raid10.c r10_bio->devs[0].devnum = d; devnum 3186 drivers/md/raid10.c r10_bio->devs[1].devnum = i; devnum 3232 drivers/md/raid10.c if (r10_bio->devs[k].devnum == i) devnum 3275 drivers/md/raid10.c int d = r10_bio->devs[j].devnum; devnum 3335 drivers/md/raid10.c int d = r10_bio->devs[i].devnum; devnum 3402 drivers/md/raid10.c int d = r10_bio->devs[i].devnum; devnum 4573 drivers/md/raid10.c r10_bio->read_slot = r10_bio->devs[r10_bio->read_slot].devnum; devnum 4610 drivers/md/raid10.c int d = r10_bio->devs[s/2].devnum; devnum 4701 drivers/md/raid10.c int d = r10_bio->devs[s/2].devnum; devnum 4797 drivers/md/raid10.c int d = r10b->devs[slot].devnum; devnum 155 drivers/md/raid10.h int devnum; devnum 1114 drivers/media/pci/saa7134/saa7134-alsa.c static int alsa_card_saa7134_create(struct saa7134_dev *dev, int devnum) devnum 1122 drivers/media/pci/saa7134/saa7134-alsa.c if (devnum >= SNDRV_CARDS) devnum 1124 drivers/media/pci/saa7134/saa7134-alsa.c if (!enable[devnum]) devnum 1127 drivers/media/pci/saa7134/saa7134-alsa.c err = snd_card_new(&dev->pci->dev, index[devnum], id[devnum], devnum 1177 drivers/media/pci/saa7134/saa7134-alsa.c dev->name, card->longname, index[devnum]); devnum 1180 drivers/media/pci/saa7134/saa7134-alsa.c snd_saa7134_cards[devnum] = card; devnum 2437 drivers/media/rc/imon.c usbdev->bus->busnum, usbdev->devnum); devnum 430 drivers/media/rc/streamzap.c usbdev->bus->busnum, usbdev->devnum); devnum 1162 drivers/media/usb/hdpvr/hdpvr-video.c int devnum) devnum 1241 drivers/media/usb/hdpvr/hdpvr-video.c res = video_register_device(&dev->video_dev, VFL_TYPE_GRABBER, devnum); devnum 435 drivers/media/usb/tm6000/tm6000-alsa.c dev->udev->bus->busnum, dev->udev->devnum); devnum 365 drivers/media/usb/usbtv/usbtv-audio.c usbtv->udev->devnum); devnum 83 drivers/media/usb/uvc/uvc_debugfs.c udev->devnum, stream->intfnum); devnum 465 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 529 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 545 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 563 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 592 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, alts->desc.bInterfaceNumber, devnum 617 drivers/media/usb/uvc/uvc_driver.c "interface %d FRAME error\n", dev->udev->devnum, devnum 701 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 733 drivers/media/usb/uvc/uvc_driver.c "video streaming interface\n", dev->udev->devnum, devnum 740 drivers/media/usb/uvc/uvc_driver.c "claimed\n", dev->udev->devnum, devnum 798 drivers/media/usb/uvc/uvc_driver.c "%d HEADER descriptor not found.\n", dev->udev->devnum, devnum 809 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, alts->desc.bInterfaceNumber); devnum 861 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, devnum 886 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, alts->desc.bInterfaceNumber); devnum 935 drivers/media/usb/uvc/uvc_driver.c dev->udev->devnum, alts->desc.bInterfaceNumber, buflen); devnum 1042 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1090 drivers/media/usb/uvc/uvc_driver.c "interface %d HEADER error\n", udev->devnum, devnum 1104 drivers/media/usb/uvc/uvc_driver.c udev->devnum, i); devnum 1116 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1135 drivers/media/usb/uvc/uvc_driver.c "type 0x%04x, skipping\n", udev->devnum, devnum 1158 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1205 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1216 drivers/media/usb/uvc/uvc_driver.c "type 0x%04x, skipping\n", udev->devnum, devnum 1243 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1269 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 1302 drivers/media/usb/uvc/uvc_driver.c udev->devnum, alts->desc.bInterfaceNumber); devnum 87 drivers/mfd/viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); devnum 626 drivers/misc/cardreader/rtsx_usb.c usb_dev->bus->busnum, usb_dev->devnum); devnum 770 drivers/misc/hpilo.c int devnum, minor, start, error = 0; devnum 784 drivers/misc/hpilo.c for (devnum = 0; devnum < MAX_ILO_DEV; devnum++) { devnum 785 drivers/misc/hpilo.c if (ilo_hwdev[devnum] == 0) { devnum 786 drivers/misc/hpilo.c ilo_hwdev[devnum] = 1; devnum 791 drivers/misc/hpilo.c if (devnum == MAX_ILO_DEV) { devnum 832 drivers/misc/hpilo.c start = devnum * max_ccb; devnum 843 drivers/misc/hpilo.c "hpilo!d%dccb%d", devnum, minor); devnum 861 drivers/misc/hpilo.c ilo_hwdev[devnum] = 0; devnum 1031 drivers/mtd/ftl.c partition->mbd.devnum = -1; devnum 61 drivers/mtd/inftlcore.c inftl->mbd.devnum = -1; devnum 112 drivers/mtd/inftlcore.c printk(KERN_INFO "INFTL: Found new inftl%c\n", inftl->mbd.devnum + 'a'); devnum 121 drivers/mtd/inftlcore.c pr_debug("INFTL: remove_dev (i=%d)\n", dev->devnum); devnum 355 drivers/mtd/mtd_blkdevs.c if (new->devnum == -1) { devnum 357 drivers/mtd/mtd_blkdevs.c if (d->devnum != last_devnum+1) { devnum 359 drivers/mtd/mtd_blkdevs.c new->devnum = last_devnum+1; devnum 363 drivers/mtd/mtd_blkdevs.c } else if (d->devnum == new->devnum) { devnum 367 drivers/mtd/mtd_blkdevs.c } else if (d->devnum > new->devnum) { devnum 372 drivers/mtd/mtd_blkdevs.c last_devnum = d->devnum; devnum 376 drivers/mtd/mtd_blkdevs.c if (new->devnum == -1) devnum 377 drivers/mtd/mtd_blkdevs.c new->devnum = last_devnum+1; devnum 382 drivers/mtd/mtd_blkdevs.c if (new->devnum > (MINORMASK >> tr->part_bits) || devnum 383 drivers/mtd/mtd_blkdevs.c (tr->part_bits && new->devnum >= 27 * 26)) { devnum 407 drivers/mtd/mtd_blkdevs.c gd->first_minor = (new->devnum) << tr->part_bits; devnum 411 drivers/mtd/mtd_blkdevs.c if (new->devnum < 26) devnum 413 drivers/mtd/mtd_blkdevs.c "%s%c", tr->name, 'a' + new->devnum); devnum 417 drivers/mtd/mtd_blkdevs.c 'a' - 1 + new->devnum / 26, devnum 418 drivers/mtd/mtd_blkdevs.c 'a' + new->devnum % 26); devnum 421 drivers/mtd/mtd_blkdevs.c "%s%d", tr->name, new->devnum); devnum 313 drivers/mtd/mtdblock.c dev->mbd.devnum = mtd->index; devnum 43 drivers/mtd/mtdblock_ro.c dev->devnum = mtd->index; devnum 50 drivers/mtd/mtdchar.c int devnum = minor >> 1; devnum 62 drivers/mtd/mtdchar.c mtd = get_mtd_device(NULL, devnum); devnum 1438 drivers/mtd/mtdswap.c mbd_dev->devnum = mtd->index; devnum 54 drivers/mtd/nftlcore.c nftl->mbd.devnum = -1; devnum 105 drivers/mtd/nftlcore.c printk(KERN_INFO "NFTL: Found new nftl%c\n", nftl->mbd.devnum + 'a'); devnum 113 drivers/mtd/nftlcore.c pr_debug("NFTL: remove_dev (i=%d)\n", dev->devnum); devnum 748 drivers/mtd/rfd_ftl.c part->mbd.devnum = -1; devnum 1170 drivers/mtd/sm_ftl.c trans->devnum = -1; devnum 304 drivers/mtd/ssfdc.c ssfdc->mbd.devnum = -1; devnum 349 drivers/mtd/ssfdc.c ssfdc->mbd.devnum + 'a', mtd->index, mtd->name); devnum 361 drivers/mtd/ssfdc.c pr_debug("SSFDC_RO: remove_dev (i=%d)\n", dev->devnum); devnum 192 drivers/net/ethernet/marvell/octeontx2/af/rvu.c int devnum, blkaddr = -ENODEV; devnum 231 drivers/net/ethernet/marvell/octeontx2/af/rvu.c devnum = rvu_get_hwvf(rvu, pcifunc); devnum 234 drivers/net/ethernet/marvell/octeontx2/af/rvu.c devnum = rvu_get_pf(pcifunc); devnum 240 drivers/net/ethernet/marvell/octeontx2/af/rvu.c cfg = rvu_read64(rvu, BLKADDR_RVUM, reg | (devnum << 16)); devnum 248 drivers/net/ethernet/marvell/octeontx2/af/rvu.c cfg = rvu_read64(rvu, BLKADDR_RVUM, reg | (devnum << 16)); devnum 263 drivers/net/ethernet/marvell/octeontx2/af/rvu.c int devnum, num_lfs = 0; devnum 277 drivers/net/ethernet/marvell/octeontx2/af/rvu.c devnum = rvu_get_hwvf(rvu, pcifunc); devnum 280 drivers/net/ethernet/marvell/octeontx2/af/rvu.c devnum = rvu_get_pf(pcifunc); devnum 313 drivers/net/ethernet/marvell/octeontx2/af/rvu.c rvu_write64(rvu, BLKADDR_RVUM, reg | (devnum << 16), num_lfs); devnum 1990 drivers/net/phy/phy_device.c int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, devnum 286 drivers/net/phy/realtek.c static int rtlgen_read_mmd(struct phy_device *phydev, int devnum, u16 regnum) devnum 290 drivers/net/phy/realtek.c if (devnum == MDIO_MMD_PCS && regnum == MDIO_PCS_EEE_ABLE) { devnum 294 drivers/net/phy/realtek.c } else if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_ADV) { devnum 298 drivers/net/phy/realtek.c } else if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_LPABLE) { devnum 309 drivers/net/phy/realtek.c static int rtlgen_write_mmd(struct phy_device *phydev, int devnum, u16 regnum, devnum 314 drivers/net/phy/realtek.c if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_ADV) { devnum 325 drivers/net/phy/realtek.c static int rtl8125_read_mmd(struct phy_device *phydev, int devnum, u16 regnum) devnum 327 drivers/net/phy/realtek.c int ret = rtlgen_read_mmd(phydev, devnum, regnum); devnum 332 drivers/net/phy/realtek.c if (devnum == MDIO_MMD_PCS && regnum == MDIO_PCS_EEE_ABLE2) { devnum 336 drivers/net/phy/realtek.c } else if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_ADV2) { devnum 340 drivers/net/phy/realtek.c } else if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_LPABLE2) { devnum 349 drivers/net/phy/realtek.c static int rtl8125_write_mmd(struct phy_device *phydev, int devnum, u16 regnum, devnum 352 drivers/net/phy/realtek.c int ret = rtlgen_write_mmd(phydev, devnum, regnum, val); devnum 357 drivers/net/phy/realtek.c if (devnum == MDIO_MMD_AN && regnum == MDIO_AN_EEE_ADV2) { devnum 103 drivers/net/usb/ax88172a.c dev->udev->bus->busnum, dev->udev->devnum); devnum 974 drivers/net/usb/kaweth.c udev->devnum, le16_to_cpu(udev->descriptor.idVendor), devnum 1815 drivers/net/usb/lan78xx.c dev->udev->bus->busnum, dev->udev->devnum); devnum 43 drivers/parport/daisy.c int devnum; devnum 56 drivers/parport/daisy.c static void add_dev(int devnum, struct parport *port, int daisy) devnum 63 drivers/parport/daisy.c newdev->devnum = devnum; devnum 65 drivers/parport/daisy.c for (p = &topology; *p && (*p)->devnum<devnum; p = &(*p)->next) devnum 213 drivers/parport/daisy.c struct pardevice *parport_open(int devnum, const char *name) devnum 221 drivers/parport/daisy.c while (p && p->devnum != devnum) devnum 257 drivers/parport/probe.c ssize_t parport_device_id (int devnum, char *buffer, size_t count) devnum 260 drivers/parport/probe.c struct pardevice *dev = parport_open (devnum, "Device ID probe"); devnum 665 drivers/s390/net/qeth_core_mpc.h __u16 devnum; devnum 1126 drivers/s390/net/qeth_l2_main.c token->cssid, token->ssid, token->devnum); devnum 671 drivers/scsi/qla1280.c bdp = &ql1280_board_tbl[ha->devnum]; devnum 1509 drivers/scsi/qla1280.c index = ql1280_board_tbl[ha->devnum].fw_index; devnum 4151 drivers/scsi/qla1280.c int devnum = id->driver_data; devnum 4152 drivers/scsi/qla1280.c struct qla_boards *bdp = &ql1280_board_tbl[devnum]; devnum 4187 drivers/scsi/qla1280.c ha->devnum = devnum; /* specifies microcode load address */ devnum 1018 drivers/scsi/qla1280.h uint8_t devnum; devnum 2298 drivers/staging/isdn/gigaset/bas-gigaset.c udev->devnum, hostif->desc.bInterfaceNumber, devnum 1965 drivers/staging/media/soc_camera/soc_camera.c if (ix->iface == icd->iface && ix->devnum == i) { devnum 1981 drivers/staging/media/soc_camera/soc_camera.c icd->devnum = num; devnum 1129 drivers/staging/most/usb/usb.c usb_dev->devnum); devnum 3136 drivers/staging/octeon-usb/octeon-hcd.c split_device = dev->parent->devnum; devnum 81 drivers/staging/unisys/visorhba/visorhba_main.c int devnum; devnum 846 drivers/staging/wusbcore/devconnect.c if (usb_dev->wusb == 0 || usb_dev->devnum == 1) devnum 902 drivers/staging/wusbcore/devconnect.c if (usb_dev->wusb == 0 || usb_dev->devnum == 1) devnum 337 drivers/staging/wusbcore/wa-rpipe.c urb->dev->devnum, urb->dev->devnum | unauth, devnum 353 drivers/staging/wusbcore/wusbhc.h if (usb_dev->devnum > 1 && !usb_dev->wusb) { devnum 355 drivers/staging/wusbcore/wusbhc.h dev_err(&usb_dev->dev, "devnum %d wusb %d\n", usb_dev->devnum, devnum 357 drivers/staging/wusbcore/wusbhc.h BUG_ON(usb_dev->devnum > 1 && !usb_dev->wusb); devnum 616 drivers/usb/class/usblp.c twoints[1] = usblp->dev->devnum; devnum 1187 drivers/usb/class/usblp.c usblp->minor, usblp->bidir ? "Bi" : "Uni", dev->devnum, devnum 494 drivers/usb/core/devices.c if (usbdev->parent && usbdev->parent->devnum != -1) devnum 495 drivers/usb/core/devices.c parent_devnum = usbdev->parent->devnum; devnum 518 drivers/usb/core/devices.c index, count, usbdev->devnum, devnum 1345 drivers/usb/core/devio.c ci.devnum = ps->dev->devnum; devnum 1365 drivers/usb/core/devio.c ci.devnum = udev->devnum; devnum 843 drivers/usb/core/driver.c if (usb_dev->devnum < 0) { devnum 977 drivers/usb/core/hcd.c const int devnum = 1; devnum 980 drivers/usb/core/hcd.c usb_dev->devnum = devnum; devnum 981 drivers/usb/core/hcd.c usb_dev->bus->devnum_next = devnum + 1; devnum 982 drivers/usb/core/hcd.c set_bit (devnum, usb_dev->bus->devmap.devicemap); devnum 1901 drivers/usb/core/hub.c if (hdev->devnum <= 0) devnum 1910 drivers/usb/core/hub.c hub->ports[i]->child->devnum; devnum 2107 drivers/usb/core/hub.c int devnum; devnum 2113 drivers/usb/core/hub.c devnum = udev->portnum + 1; devnum 2114 drivers/usb/core/hub.c BUG_ON(test_bit(devnum, bus->devmap.devicemap)); devnum 2118 drivers/usb/core/hub.c devnum = find_next_zero_bit(bus->devmap.devicemap, 128, devnum 2120 drivers/usb/core/hub.c if (devnum >= 128) devnum 2121 drivers/usb/core/hub.c devnum = find_next_zero_bit(bus->devmap.devicemap, devnum 2123 drivers/usb/core/hub.c bus->devnum_next = (devnum >= 127 ? 1 : devnum + 1); devnum 2125 drivers/usb/core/hub.c if (devnum < 128) { devnum 2126 drivers/usb/core/hub.c set_bit(devnum, bus->devmap.devicemap); devnum 2127 drivers/usb/core/hub.c udev->devnum = devnum; devnum 2134 drivers/usb/core/hub.c if (udev->devnum > 0) { devnum 2135 drivers/usb/core/hub.c clear_bit(udev->devnum, udev->bus->devmap.devicemap); devnum 2136 drivers/usb/core/hub.c udev->devnum = -1; devnum 2140 drivers/usb/core/hub.c static void update_devnum(struct usb_device *udev, int devnum) devnum 2144 drivers/usb/core/hub.c udev->devnum = devnum; devnum 2146 drivers/usb/core/hub.c udev->devaddr = (u8)devnum; devnum 2199 drivers/usb/core/hub.c udev->devnum); devnum 2526 drivers/usb/core/hub.c udev->devnum, udev->bus->busnum, devnum 2527 drivers/usb/core/hub.c (((udev->bus->busnum-1) * 128) + (udev->devnum-1))); devnum 2530 drivers/usb/core/hub.c (((udev->bus->busnum-1) * 128) + (udev->devnum-1))); devnum 4453 drivers/usb/core/hub.c static int hub_set_address(struct usb_device *udev, int devnum) devnum 4462 drivers/usb/core/hub.c if (!hcd->driver->address_device && devnum <= 1) devnum 4472 drivers/usb/core/hub.c USB_REQ_SET_ADDRESS, 0, devnum, 0, devnum 4475 drivers/usb/core/hub.c update_devnum(udev, devnum); devnum 4545 drivers/usb/core/hub.c int devnum = udev->devnum; devnum 4630 drivers/usb/core/hub.c devnum, driver_name); devnum 4747 drivers/usb/core/hub.c retval = hub_set_address(udev, devnum); devnum 4755 drivers/usb/core/hub.c devnum, retval); devnum 4759 drivers/usb/core/hub.c devnum = udev->devnum; devnum 4767 drivers/usb/core/hub.c devnum, driver_name); devnum 4876 drivers/usb/core/hub.c update_devnum(udev, devnum); /* for disconnect processing */ devnum 5047 drivers/usb/core/hub.c if (udev->devnum <= 0) { devnum 215 drivers/usb/core/sysfs.c return sprintf(buf, "%d\n", udev->devnum); devnum 217 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(devnum); devnum 437 drivers/usb/core/usb.c if (add_uevent_var(env, "DEVNUM=%03d", usb_dev->devnum)) devnum 517 drivers/usb/core/usb.c usb_dev->bus->busnum, usb_dev->devnum); devnum 518 drivers/usb/dwc2/hcd.c *hub_addr = urb->dev->tt->hub->devnum; devnum 270 drivers/usb/early/ehci-dbgp.c static int dbgp_bulk_write(unsigned devnum, unsigned endpoint, devnum 280 drivers/usb/early/ehci-dbgp.c addr = DBGP_EPADDR(devnum, endpoint); devnum 298 drivers/usb/early/ehci-dbgp.c static int dbgp_bulk_read(unsigned devnum, unsigned endpoint, void *data, devnum 307 drivers/usb/early/ehci-dbgp.c addr = DBGP_EPADDR(devnum, endpoint); devnum 329 drivers/usb/early/ehci-dbgp.c static int dbgp_control_msg(unsigned devnum, int requesttype, devnum 349 drivers/usb/early/ehci-dbgp.c addr = DBGP_EPADDR(devnum, 0); devnum 365 drivers/usb/early/ehci-dbgp.c return dbgp_bulk_read(devnum, 0, data, size, DBGP_LOOPS); devnum 497 drivers/usb/early/ehci-dbgp.c int devnum; devnum 559 drivers/usb/early/ehci-dbgp.c for (devnum = 0; devnum <= 127; devnum++) { devnum 560 drivers/usb/early/ehci-dbgp.c ret = dbgp_control_msg(devnum, devnum 567 drivers/usb/early/ehci-dbgp.c if (devnum > 127) { devnum 575 drivers/usb/early/ehci-dbgp.c if (devnum != USB_DEBUG_DEVNUM) { devnum 576 drivers/usb/early/ehci-dbgp.c ret = dbgp_control_msg(devnum, devnum 170 drivers/usb/host/ehci-q.c urb->dev->ttport, urb->dev->devnum, devnum 903 drivers/usb/host/ehci-q.c info2 |= tt->hub->devnum << 16; devnum 1062 drivers/usb/host/ehci-sched.c stream->buf0 = cpu_to_hc32(ehci, (epnum << 8) | dev->devnum); devnum 1092 drivers/usb/host/ehci-sched.c addr |= dev->tt->hub->devnum << 16; devnum 1094 drivers/usb/host/ehci-sched.c addr |= dev->devnum; devnum 2126 drivers/usb/host/fotg210-hcd.c urb->dev->ttport, urb->dev->devnum, devnum 2836 drivers/usb/host/fotg210-hcd.c info2 |= tt->hub->devnum << 16; devnum 3949 drivers/usb/host/fotg210-hcd.c stream->buf0 = cpu_to_hc32(fotg210, (epnum << 8) | dev->devnum); devnum 2138 drivers/usb/host/isp1362-hcd.c ep->udev->devnum, ep->epnum, devnum 2151 drivers/usb/host/isp1362-hcd.c ep->udev->devnum, ep->epnum, devnum 536 drivers/usb/host/max3421-hcd.c spi_wr8(hcd, MAX3421_REG_PERADDR, dev->devnum); devnum 227 drivers/usb/host/r8a66597-hcd.c if (udev->parent && udev->parent->devnum != 1) devnum 2028 drivers/usb/host/r8a66597-hcd.c udev->parent && udev->parent->devnum > 1 && devnum 2030 drivers/usb/host/r8a66597-hcd.c map[udev->devnum/32] |= (1 << (udev->devnum % 32)); devnum 859 drivers/usb/host/sl811-hcd.c "dev %d ep%d maxpacket %d\n", udev->devnum, devnum 1479 drivers/usb/host/sl811-hcd.c ep->udev->devnum, ep->epnum, devnum 2160 drivers/usb/host/u132-hcd.c struct u132_addr *addr = &u132->addr[usb_dev->devnum]; devnum 2172 drivers/usb/host/u132-hcd.c udev->usb_addr = usb_dev->devnum; devnum 684 drivers/usb/host/uhci-q.c "reserve", qh->udev->devnum, devnum 717 drivers/usb/host/uhci-q.c "release", qh->udev->devnum, devnum 212 drivers/usb/host/xhci-trace.h __field(int, devnum) devnum 223 drivers/usb/host/xhci-trace.h __entry->devnum = vdev->udev->devnum; devnum 232 drivers/usb/host/xhci-trace.h __entry->devnum, __entry->state, __entry->speed, devnum 575 drivers/usb/isp1760/isp1760-hcd.c ptd->dw1 |= TO_DW1_HUB_NUM(qtd->urb->dev->tt->hub->devnum); devnum 3019 drivers/usb/misc/sisusbvga/sisusb.c dev->devnum); devnum 3042 drivers/usb/misc/sisusbvga/sisusb.c dev->devnum); devnum 381 drivers/usb/misc/usblcd.c (i & 0xF0)>>4, (i & 0xF), dev->udev->devnum); devnum 94 drivers/usb/mon/mon_bin.c unsigned char devnum; /* Device address */ devnum 570 drivers/usb/mon/mon_bin.c ep->devnum = urb->dev->devnum; devnum 658 drivers/usb/mon/mon_bin.c ep->devnum = urb->dev->devnum; devnum 62 drivers/usb/mon/mon_text.c char devnum; devnum 213 drivers/usb/mon/mon_text.c ep->devnum = urb->dev->devnum; devnum 285 drivers/usb/mon/mon_text.c ep->devnum = urb->dev->devnum; devnum 526 drivers/usb/mon/mon_text.c utype, udir, ep->devnum, ep->epnum); devnum 544 drivers/usb/mon/mon_text.c utype, udir, ep->busnum, ep->devnum, ep->epnum); devnum 2274 drivers/usb/musb/musb_host.c qh->h_addr_reg = (u8) parent->devnum; devnum 2281 drivers/usb/musb/musb_host.c (u8) urb->dev->tt->hub->devnum; devnum 233 drivers/usb/renesas_usbhs/common.c int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, devnum 238 drivers/usb/renesas_usbhs/common.c u32 reg = DEVADD0 + (2 * devnum); devnum 240 drivers/usb/renesas_usbhs/common.c if (devnum > 10) { devnum 241 drivers/usb/renesas_usbhs/common.c dev_err(dev, "cannot set speed to unknown device %d\n", devnum); devnum 330 drivers/usb/renesas_usbhs/common.h int usbhs_set_device_config(struct usbhs_priv *priv, int devnum, u16 upphub, devnum 225 drivers/usb/usbip/stub_dev.c int devnum = udev->devnum; devnum 241 drivers/usb/usbip/stub_dev.c sdev->devid = (busnum << 16) | devnum; devnum 329 drivers/usb/usbip/stub_dev.c udev->bus->busnum, udev->devnum); devnum 94 drivers/usb/usbip/stub_rx.c urb->dev->devnum, target_endp, ret); devnum 98 drivers/usb/usbip/stub_rx.c urb->dev->devnum, target_endp); devnum 92 drivers/usb/usbip/usbip_common.c udev->devnum, udev->devpath, usb_speed_string(udev->speed)); devnum 337 drivers/usb/usbip/usbip_common.h return udev->devnum; devnum 24 include/linux/mtd/blktrans.h int devnum; devnum 465 include/linux/parport.h extern struct pardevice *parport_open (int devnum, const char *name); devnum 467 include/linux/parport.h extern ssize_t parport_device_id (int devnum, char *buffer, size_t len); devnum 594 include/linux/phy.h int (*read_mmd)(struct phy_device *dev, int devnum, u16 regnum); devnum 606 include/linux/phy.h int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, devnum 1109 include/linux/phy.h int genphy_write_mmd_unsupported(struct phy_device *phdev, int devnum, devnum 632 include/linux/usb.h int devnum; devnum 1928 include/linux/usb.h return (dev->devnum << 8) | (endpoint << 15); devnum 38 include/media/soc_camera.h unsigned char devnum; /* Device number per host */ devnum 391 include/media/soc_camera.h return (icd->iface << 8) | (icd->devnum + 1); devnum 474 include/uapi/drm/drm.h int devnum; /**< device number */ devnum 73 include/uapi/linux/atmbr2684.h int devnum; devnum 45 include/uapi/linux/hiddev.h __u32 devnum; devnum 75 include/uapi/linux/usbdevice_fs.h unsigned int devnum; devnum 86 include/uapi/linux/usbdevice_fs.h __u32 devnum; /* Device address on the bus. */ devnum 132 net/atm/br2684.c if (BRPRIV(net_dev)->number == s->spec.devnum) devnum 96 sound/drivers/pcsp/pcsp.c static int snd_card_pcsp_probe(int devnum, struct device *dev) devnum 101 sound/drivers/pcsp/pcsp.c if (devnum != 0) devnum 808 sound/isa/sscape.c static int create_mpu401(struct snd_card *card, int devnum, devnum 815 sound/isa/sscape.c err = snd_mpu401_uart_new(card, devnum, MPU401_HW_MPU401, port, devnum 132 sound/usb/6fire/chip.c device->bus->busnum, device->devnum); devnum 397 sound/usb/caiaq/device.c int devnum; devnum 402 sound/usb/caiaq/device.c for (devnum = 0; devnum < SNDRV_CARDS; devnum++) devnum 403 sound/usb/caiaq/device.c if (enable[devnum]) devnum 406 sound/usb/caiaq/device.c if (devnum >= SNDRV_CARDS) devnum 410 sound/usb/caiaq/device.c index[devnum], id[devnum], THIS_MODULE, devnum 37 sound/usb/proc.c snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); devnum 313 sound/usb/usx2y/us122l.c dev->devnum, rate, ep); devnum 456 sound/usb/usx2y/us122l.c dev->bus->busnum, dev->devnum); devnum 550 sound/usb/usx2y/us122l.c US122L(card)->dev->devnum devnum 247 sound/usb/usx2y/usX2Yhwdep.c sprintf(hw->name, "/dev/bus/usb/%03d/%03d", device->bus->busnum, device->devnum); devnum 357 sound/usb/usx2y/usbusx2y.c usX2Y(card)->dev->bus->busnum, usX2Y(card)->dev->devnum devnum 716 sound/usb/usx2y/usx2yhwdeppcm.c sprintf(hw->name, "/dev/bus/usb/%03d/%03d/hwdeppcm", dev->bus->busnum, dev->devnum); devnum 474 tools/include/uapi/drm/drm.h int devnum; /**< device number */ devnum 75 tools/include/uapi/linux/usbdevice_fs.h unsigned int devnum; devnum 86 tools/include/uapi/linux/usbdevice_fs.h __u32 devnum; /* Device address on the bus. */ devnum 137 tools/usb/usbip/libsrc/usbip_common.c DBG_UDEV_INTEGER(devnum); devnum 208 tools/usb/usbip/libsrc/usbip_common.c uint32_t busnum, devnum; devnum 223 tools/usb/usbip/libsrc/usbip_common.c READ_ATTR(udev, uint8_t, sdev, devnum, "%d\n"); devnum 234 tools/usb/usbip/libsrc/usbip_common.c sscanf(name, "%u-%u", &busnum, &devnum); devnum 116 tools/usb/usbip/libsrc/usbip_common.h uint32_t devnum; devnum 86 tools/usb/usbip/libsrc/vhci_driver.c idev->devnum = (devid & 0x0000ffff); devnum 385 tools/usb/usbip/libsrc/vhci_driver.c static unsigned long get_devid(uint8_t busnum, uint8_t devnum) devnum 387 tools/usb/usbip/libsrc/vhci_driver.c return (busnum << 16) | devnum; devnum 392 tools/usb/usbip/libsrc/vhci_driver.c uint8_t devnum, uint32_t speed) devnum 394 tools/usb/usbip/libsrc/vhci_driver.c int devid = get_devid(busnum, devnum); devnum 458 tools/usb/usbip/libsrc/vhci_driver.c idev->busnum, idev->devnum); devnum 463 tools/usb/usbip/libsrc/vhci_driver.c idev->busnum, idev->devnum); devnum 30 tools/usb/usbip/libsrc/vhci_driver.h uint8_t devnum; devnum 61 tools/usb/usbip/libsrc/vhci_driver.h uint8_t devnum, uint32_t speed); devnum 103 tools/usb/usbip/src/usbip_attach.c udev->devnum, udev->speed); devnum 80 tools/usb/usbip/src/usbip_network.c udev->devnum = usbip_net_pack_uint32_t(pack, udev->devnum);