busnum 29 arch/mips/pci/ops-bonito64.c u32 busnum = bus->number; busnum 37 arch/mips/pci/ops-bonito64.c if (busnum == 0) { busnum 46 arch/mips/pci/ops-bonito64.c addr = (busnum << 16) | (device << 11) | (function << 8) | reg; busnum 33 arch/mips/pci/ops-gt64xxx_pci0.c unsigned char busnum = bus->number; busnum 36 arch/mips/pci/ops-gt64xxx_pci0.c if ((busnum == 0) && (devfn >= PCI_DEVFN(31, 0))) busnum 45 arch/mips/pci/ops-gt64xxx_pci0.c (busnum << GT_PCI0_CFGADDR_BUSNUM_SHF) | busnum 51 arch/mips/pci/ops-gt64xxx_pci0.c if (busnum == 0 && PCI_SLOT(devfn) == 0) { busnum 60 arch/mips/pci/ops-gt64xxx_pci0.c if (busnum == 0 && PCI_SLOT(devfn) == 0) { busnum 37 arch/mips/pci/ops-loongson2.c u32 busnum = bus->number; busnum 45 arch/mips/pci/ops-loongson2.c if (busnum == 0) { busnum 77 arch/mips/pci/ops-loongson2.c addr = (busnum << 16) | (device << 11) | (function << 8) | reg; busnum 20 arch/mips/pci/ops-loongson3.c unsigned char busnum = bus->number; busnum 28 arch/mips/pci/ops-loongson3.c addr = (busnum << 16) | (device << 11) | (function << 8) | reg; busnum 29 arch/mips/pci/ops-loongson3.c if (busnum == 0) { busnum 47 arch/mips/pci/ops-loongson3.c addr |= busnum << 20 | device << 15 | function << 12 | reg; busnum 36 arch/mips/pci/ops-msc.c unsigned char busnum = bus->number; busnum 44 arch/mips/pci/ops-msc.c ((busnum << MSC01_PCI_CFGADDR_BNUM_SHF) | busnum 20 arch/mips/pci/ops-nile4.c unsigned char busnum = bus->number; busnum 23 arch/mips/pci/ops-nile4.c if ((busnum == 0) && (PCI_SLOT(devfn) > 8)) busnum 29 arch/mips/pci/ops-nile4.c if ((busnum == 0) && (devfn == PCI_DEVFN(0, 0))) { busnum 41 arch/mips/pci/ops-nile4.c vrc_pciregs[LO(NILE4_PCIINIT1)] = 0x0000001a | (busnum ? 0x200 : 0); busnum 49 arch/mips/pci/ops-nile4.c if (busnum == 0) busnum 55 arch/mips/pci/ops-nile4.c adr = KSEG1ADDR(PCI_WINDOW1) | (busnum << 16) | (devfn << 8) | busnum 658 arch/x86/kernel/pci-calgary_64.c unsigned char busnum = dev->bus->number; busnum 662 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_LOW); busnum 664 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_HIGH); busnum 666 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_1_SIZE); busnum 682 arch/x86/kernel/pci-calgary_64.c unsigned char busnum = dev->bus->number; busnum 686 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); busnum 691 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_LOW); busnum 693 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_HIGH); busnum 695 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_LOW); busnum 697 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_MEM_2_SIZE_HIGH); busnum 905 arch/x86/kernel/pci-calgary_64.c unsigned char busnum, unsigned long timeout) busnum 912 arch/x86/kernel/pci-calgary_64.c switch (busno_to_phbid(busnum)) { busnum 922 arch/x86/kernel/pci-calgary_64.c BUG_ON(busno_to_phbid(busnum)); busnum 938 arch/x86/kernel/pci-calgary_64.c unsigned char busnum = dev->bus->number; busnum 946 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_SAVIOR_L2); busnum 954 arch/x86/kernel/pci-calgary_64.c unsigned char busnum = dev->bus->number; busnum 960 arch/x86/kernel/pci-calgary_64.c if (is_calgary(dev->device) && (busnum == 1)) busnum 961 arch/x86/kernel/pci-calgary_64.c calgary_set_split_completion_timeout(tbl->bbar, busnum, busnum 968 arch/x86/kernel/pci-calgary_64.c unsigned char busnum; busnum 973 arch/x86/kernel/pci-calgary_64.c busnum = dev->bus->number; busnum 978 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); busnum 984 arch/x86/kernel/pci-calgary_64.c "Calgary" : "CalIOC2", busnum); busnum 998 arch/x86/kernel/pci-calgary_64.c unsigned char busnum; busnum 1003 arch/x86/kernel/pci-calgary_64.c busnum = dev->bus->number; busnum 1008 arch/x86/kernel/pci-calgary_64.c target = calgary_reg(bbar, phb_offset(busnum) | PHB_CONFIG_RW_OFFSET); busnum 1012 arch/x86/kernel/pci-calgary_64.c printk(KERN_INFO "Calgary: disabling translation on PHB %#x!\n", busnum); busnum 247 arch/x86/pci/acpi.c int busnum = root->secondary.start; busnum 252 arch/x86/pci/acpi.c node = x86_pci_root_bus_node(busnum); busnum 297 arch/x86/pci/acpi.c int busnum = ci->root->secondary.start; busnum 314 arch/x86/pci/acpi.c x86_pci_root_bus_resources(busnum, &ci->resources); busnum 329 arch/x86/pci/acpi.c int busnum = root->secondary.start; busnum 339 arch/x86/pci/acpi.c domain, busnum); busnum 343 arch/x86/pci/acpi.c bus = pci_find_bus(domain, busnum); busnum 363 arch/x86/pci/acpi.c domain, busnum); busnum 316 arch/x86/pci/amd_bus.c int busnum; busnum 319 arch/x86/pci/amd_bus.c busnum = info->busn.start; busnum 324 arch/x86/pci/amd_bus.c busnum, &root_res->res); busnum 457 arch/x86/pci/common.c void pcibios_scan_root(int busnum) busnum 465 arch/x86/pci/common.c printk(KERN_ERR "PCI: OOM, skipping PCI bus %02x\n", busnum); busnum 468 arch/x86/pci/common.c sd->node = x86_pci_root_bus_node(busnum); busnum 469 arch/x86/pci/common.c x86_pci_root_bus_resources(busnum, &resources); busnum 470 arch/x86/pci/common.c printk(KERN_DEBUG "PCI: Probing PCI hardware (bus %02x)\n", busnum); busnum 471 arch/x86/pci/common.c bus = pci_scan_root_bus(NULL, busnum, &pci_root_ops, sd, &resources); busnum 98 arch/x86/pci/intel_mid_pci.c unsigned int domain, busnum; busnum 102 arch/x86/pci/intel_mid_pci.c busnum = bus->number; busnum 107 arch/x86/pci/intel_mid_pci.c raw_pci_ext_ops->read(domain, busnum, devfn, busnum 130 arch/x86/pci/intel_mid_pci.c return raw_pci_ext_ops->write(domain, busnum, devfn, reg, 4, busnum 135 arch/x86/pci/intel_mid_pci.c return raw_pci_ext_ops->write(domain, busnum, devfn, reg, len, val); busnum 878 drivers/acpi/pci_root.c int ret, busnum = root->secondary.start; busnum 890 drivers/acpi/pci_root.c root->segment, busnum); busnum 903 drivers/acpi/pci_root.c bus = pci_create_root_bus(NULL, busnum, ops->pci_ops, busnum 141 drivers/gpu/drm/drm_pci.c if ((p->busnum >> 8) != drm_get_pci_domain(dev) || busnum 142 drivers/gpu/drm/drm_pci.c (p->busnum & 0xff) != dev->pdev->bus->number || busnum 148 drivers/gpu/drm/drm_pci.c DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, busnum 642 drivers/hid/usbhid/hiddev.c dinfo.busnum = dev->bus->busnum; busnum 317 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); busnum 471 drivers/i2c/busses/i2c-diolan-u2c.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); busnum 150 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); busnum 170 drivers/i2c/busses/i2c-robotfuzz-osif.c priv->usb_dev->bus->busnum, priv->usb_dev->devnum); busnum 244 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); busnum 253 drivers/i2c/busses/i2c-tiny-usb.c dev->usb_dev->bus->busnum, dev->usb_dev->devnum); busnum 379 drivers/i2c/busses/i2c-viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); busnum 52 drivers/i2c/i2c-boardinfo.c int i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) busnum 59 drivers/i2c/i2c-boardinfo.c if (busnum >= __i2c_first_dynamic_bus_num) busnum 60 drivers/i2c/i2c-boardinfo.c __i2c_first_dynamic_bus_num = busnum + 1; busnum 72 drivers/i2c/i2c-boardinfo.c devinfo->busnum = busnum; busnum 1214 drivers/i2c/i2c-core-base.c if (devinfo->busnum == adapter->nr busnum 10 drivers/i2c/i2c-core.h int busnum; busnum 2437 drivers/media/rc/imon.c usbdev->bus->busnum, usbdev->devnum); busnum 430 drivers/media/rc/streamzap.c usbdev->bus->busnum, usbdev->devnum); busnum 550 drivers/media/usb/siano/smsusb.c udev->bus->busnum, udev->devpath); busnum 435 drivers/media/usb/tm6000/tm6000-alsa.c dev->udev->bus->busnum, dev->udev->devnum); busnum 364 drivers/media/usb/usbtv/usbtv-audio.c "USBTV Audio at bus %d device %d", usbtv->udev->bus->busnum, busnum 183 drivers/media/usb/usbvision/usbvision-i2c.c usbvision->dev->bus->busnum, usbvision->dev->devpath); busnum 82 drivers/media/usb/uvc/uvc_debugfs.c snprintf(dir_name, sizeof(dir_name), "%u-%u-%u", udev->bus->busnum, busnum 87 drivers/mfd/viperboard.c vb->usb_dev->bus->busnum, vb->usb_dev->devnum); busnum 626 drivers/misc/cardreader/rtsx_usb.c usb_dev->bus->busnum, usb_dev->devnum); busnum 103 drivers/net/usb/ax88172a.c dev->udev->bus->busnum, dev->udev->devnum); busnum 1815 drivers/net/usb/lan78xx.c dev->udev->bus->busnum, dev->udev->devnum); busnum 560 drivers/scsi/gdth_proc.c static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id) busnum 577 drivers/scsi/gdth_proc.c b == (u8)busnum) { busnum 15 drivers/scsi/gdth_proc.h static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id); busnum 1076 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, busnum 1128 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, busnum 1132 drivers/staging/most/usb/usb.c usb_dev->bus->busnum, busnum 615 drivers/usb/class/usblp.c twoints[0] = usblp->dev->bus->busnum; busnum 517 drivers/usb/core/devices.c bus->busnum, level, parent_devnum, busnum 1364 drivers/usb/core/devio.c ci.busnum = udev->bus->busnum; busnum 894 drivers/usb/core/hcd.c bus->busnum = -1; busnum 916 drivers/usb/core/hcd.c int busnum; busnum 919 drivers/usb/core/hcd.c busnum = idr_alloc(&usb_bus_idr, bus, 1, USB_MAXBUS, GFP_KERNEL); busnum 920 drivers/usb/core/hcd.c if (busnum < 0) { busnum 924 drivers/usb/core/hcd.c bus->busnum = busnum; busnum 930 drivers/usb/core/hcd.c "number %d\n", bus->busnum); busnum 948 drivers/usb/core/hcd.c dev_info (bus->controller, "USB bus %d deregistered\n", bus->busnum); busnum 956 drivers/usb/core/hcd.c idr_remove(&usb_bus_idr, bus->busnum); busnum 2584 drivers/usb/core/hcd.c hcd->driver->description, hcd->self.busnum); busnum 2526 drivers/usb/core/hub.c udev->devnum, udev->bus->busnum, busnum 2527 drivers/usb/core/hub.c (((udev->bus->busnum-1) * 128) + (udev->devnum-1))); busnum 2530 drivers/usb/core/hub.c (((udev->bus->busnum-1) * 128) + (udev->devnum-1))); busnum 1965 drivers/usb/core/message.c dev_set_name(&intf->dev, "%d-%s:%d.%d", dev->bus->busnum, busnum 205 drivers/usb/core/sysfs.c return sprintf(buf, "%d\n", udev->bus->busnum); busnum 207 drivers/usb/core/sysfs.c static DEVICE_ATTR_RO(busnum); busnum 434 drivers/usb/core/usb.c if (add_uevent_var(env, "BUSNUM=%03d", usb_dev->bus->busnum)) busnum 517 drivers/usb/core/usb.c usb_dev->bus->busnum, usb_dev->devnum); busnum 641 drivers/usb/core/usb.c dev_set_name(&dev->dev, "usb%d", bus->busnum); busnum 663 drivers/usb/core/usb.c dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); busnum 2097 drivers/usb/host/r8a66597-hcd.c bus = idr_find(&usb_bus_idr, hcd->self.busnum); busnum 500 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1, port_status); busnum 580 drivers/usb/host/xhci-hub.c hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp); busnum 691 drivers/usb/host/xhci-hub.c port->rhub->hcd->self.busnum, port->hcd_portnum + 1, busnum 862 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1); busnum 891 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1, port_status); busnum 1157 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1, temp, status); busnum 1214 drivers/usb/host/xhci-hub.c hcd->self.busnum, wIndex + 1); busnum 1631 drivers/usb/host/xhci-ring.c hcd->self.busnum, hcd_portnum + 1, port_id, portsc); busnum 444 drivers/usb/host/xhci.c hcd->driver->description, hcd->self.busnum); busnum 906 drivers/usb/host/xhci.c xhci->usb3_rhub.hcd->self.busnum, busnum 922 drivers/usb/host/xhci.c xhci->usb2_rhub.hcd->self.busnum, busnum 95 drivers/usb/mon/mon_bin.c unsigned short busnum; /* Bus number */ busnum 571 drivers/usb/mon/mon_bin.c ep->busnum = urb->dev->bus->busnum; busnum 659 drivers/usb/mon/mon_bin.c ep->busnum = urb->dev->bus->busnum; busnum 1354 drivers/usb/mon/mon_bin.c unsigned minor = ubus? ubus->busnum: 0; busnum 343 drivers/usb/mon/mon_main.c if (mbus->u_bus->busnum == num) { busnum 412 drivers/usb/mon/mon_main.c mbus->nreaders, mbus->u_bus->busnum); busnum 61 drivers/usb/mon/mon_text.c int busnum; busnum 212 drivers/usb/mon/mon_text.c ep->busnum = urb->dev->bus->busnum; busnum 284 drivers/usb/mon/mon_text.c ep->busnum = urb->dev->bus->busnum; busnum 544 drivers/usb/mon/mon_text.c utype, udir, ep->busnum, ep->devnum, ep->epnum); busnum 705 drivers/usb/mon/mon_text.c int busnum = ubus? ubus->busnum: 0; busnum 712 drivers/usb/mon/mon_text.c rc = snprintf(name, NAMESZ, "%dt", busnum); busnum 719 drivers/usb/mon/mon_text.c rc = snprintf(name, NAMESZ, "%du", busnum); busnum 725 drivers/usb/mon/mon_text.c rc = snprintf(name, NAMESZ, "%ds", busnum); busnum 224 drivers/usb/usbip/stub_dev.c int busnum = udev->bus->busnum; busnum 241 drivers/usb/usbip/stub_dev.c sdev->devid = (busnum << 16) | devnum; busnum 329 drivers/usb/usbip/stub_dev.c udev->bus->busnum, udev->devnum); busnum 330 drivers/usb/usbip/usbip_common.h return udev->bus->busnum; busnum 489 include/linux/i2c.h i2c_register_board_info(int busnum, struct i2c_board_info const *info, busnum 493 include/linux/i2c.h i2c_register_board_info(int busnum, struct i2c_board_info const *info, busnum 671 include/linux/spi/spi.h extern struct spi_controller *spi_busnum_to_master(u16 busnum); busnum 427 include/linux/usb.h int busnum; /* Bus number (in order of reg) */ busnum 473 include/uapi/drm/drm.h int busnum; /**< bus number */ busnum 44 include/uapi/linux/hiddev.h __u32 busnum; busnum 84 include/uapi/linux/usbdevice_fs.h __u32 busnum; /* USB bus number, as enumerated by the */ busnum 132 sound/usb/6fire/chip.c device->bus->busnum, device->devnum); busnum 37 sound/usb/proc.c snd_iprintf(buffer, "%03d/%03d\n", chip->dev->bus->busnum, chip->dev->devnum); busnum 456 sound/usb/usx2y/us122l.c dev->bus->busnum, dev->devnum); busnum 549 sound/usb/usx2y/us122l.c US122L(card)->dev->bus->busnum, busnum 247 sound/usb/usx2y/usX2Yhwdep.c sprintf(hw->name, "/dev/bus/usb/%03d/%03d", device->bus->busnum, device->devnum); busnum 357 sound/usb/usx2y/usbusx2y.c usX2Y(card)->dev->bus->busnum, usX2Y(card)->dev->devnum busnum 716 sound/usb/usx2y/usx2yhwdeppcm.c sprintf(hw->name, "/dev/bus/usb/%03d/%03d/hwdeppcm", dev->bus->busnum, dev->devnum); busnum 473 tools/include/uapi/drm/drm.h int busnum; /**< bus number */ busnum 84 tools/include/uapi/linux/usbdevice_fs.h __u32 busnum; /* USB bus number, as enumerated by the */ busnum 136 tools/usb/usbip/libsrc/usbip_common.c DBG_UDEV_INTEGER(busnum); busnum 208 tools/usb/usbip/libsrc/usbip_common.c uint32_t busnum, devnum; busnum 234 tools/usb/usbip/libsrc/usbip_common.c sscanf(name, "%u-%u", &busnum, &devnum); busnum 235 tools/usb/usbip/libsrc/usbip_common.c udev->busnum = busnum; busnum 115 tools/usb/usbip/libsrc/usbip_common.h uint32_t busnum; busnum 113 tools/usb/usbip/libsrc/usbip_device_driver.c dev->busnum = 0; busnum 85 tools/usb/usbip/libsrc/vhci_driver.c idev->busnum = (devid >> 16); busnum 385 tools/usb/usbip/libsrc/vhci_driver.c static unsigned long get_devid(uint8_t busnum, uint8_t devnum) busnum 387 tools/usb/usbip/libsrc/vhci_driver.c return (busnum << 16) | devnum; busnum 391 tools/usb/usbip/libsrc/vhci_driver.c int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, busnum 394 tools/usb/usbip/libsrc/vhci_driver.c int devid = get_devid(busnum, devnum); busnum 458 tools/usb/usbip/libsrc/vhci_driver.c idev->busnum, idev->devnum); busnum 463 tools/usb/usbip/libsrc/vhci_driver.c idev->busnum, idev->devnum); busnum 29 tools/usb/usbip/libsrc/vhci_driver.h uint8_t busnum; busnum 60 tools/usb/usbip/libsrc/vhci_driver.h int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, busnum 102 tools/usb/usbip/src/usbip_attach.c rc = usbip_vhci_attach_device(port, sockfd, udev->busnum, busnum 79 tools/usb/usbip/src/usbip_network.c udev->busnum = usbip_net_pack_uint32_t(pack, udev->busnum);