Home
last modified time | relevance | path

Searched refs:busnum (Results 1 – 25 of 42) sorted by relevance

12

/drivers/i2c/
Di2c-boardinfo.c51 int i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) in i2c_register_board_info() argument
58 if (busnum >= __i2c_first_dynamic_bus_num) in i2c_register_board_info()
59 __i2c_first_dynamic_bus_num = busnum + 1; in i2c_register_board_info()
71 devinfo->busnum = busnum; in i2c_register_board_info()
Di2c-core.h11 int busnum; member
/drivers/pci/controller/
Dpci-loongson.c121 unsigned char busnum = bus->number; in pci_loongson_map_bus() local
129 if (priv->flags & FLAG_DEV_FIX && busnum != 0 && in pci_loongson_map_bus()
135 return cfg0_map(priv, busnum, devfn, where); in pci_loongson_map_bus()
139 return cfg1_map(priv, busnum, devfn, where); in pci_loongson_map_bus()
/drivers/usb/mon/
Dmon_text.c61 int busnum; member
212 ep->busnum = urb->dev->bus->busnum; in mon_text_event()
284 ep->busnum = urb->dev->bus->busnum; in mon_text_error()
544 utype, udir, ep->busnum, ep->devnum, ep->epnum); in mon_text_read_head_u()
705 int busnum = ubus? ubus->busnum: 0; in mon_text_add() local
712 rc = snprintf(name, NAMESZ, "%dt", busnum); in mon_text_add()
719 rc = snprintf(name, NAMESZ, "%du", busnum); in mon_text_add()
725 rc = snprintf(name, NAMESZ, "%ds", busnum); in mon_text_add()
Dmon_bin.c95 unsigned short busnum; /* Bus number */ member
571 ep->busnum = urb->dev->bus->busnum; in mon_bin_event()
659 ep->busnum = urb->dev->bus->busnum; in mon_bin_error()
1364 unsigned minor = ubus? ubus->busnum: 0; in mon_bin_add()
Dmon_main.c343 if (mbus->u_bus->busnum == num) { in mon_bus_lookup()
412 mbus->nreaders, mbus->u_bus->busnum); in mon_exit()
/drivers/usb/host/
Dxhci-hub.c587 hcd->self.busnum, wIndex + 1, port_status); in xhci_disable_port()
668 hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp); in xhci_set_port_power()
781 port->rhub->hcd->self.busnum, port->hcd_portnum + 1, in xhci_set_link_state()
953 hcd->self.busnum, wIndex + 1); in xhci_handle_usb2_port_link_resume()
982 hcd->self.busnum, wIndex + 1, port_status); in xhci_handle_usb2_port_link_resume()
1266 hcd->self.busnum, wIndex + 1, temp, status); in xhci_hub_control()
1323 hcd->self.busnum, wIndex + 1); in xhci_hub_control()
1352 hcd->self.busnum, wIndex + 1); in xhci_hub_control()
1369 hcd->self.busnum, wIndex + 1); in xhci_hub_control()
1402 hcd->self.busnum, wIndex + 1); in xhci_hub_control()
[all …]
/drivers/gpu/drm/
Ddrm_pci.c81 if ((p->busnum >> 8) != drm_get_pci_domain(dev) || in drm_legacy_pci_irq_by_busid()
82 (p->busnum & 0xff) != pdev->bus->number || in drm_legacy_pci_irq_by_busid()
88 DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, in drm_legacy_pci_irq_by_busid()
/drivers/usb/usbip/
Dstub_dev.c258 int busnum = udev->bus->busnum; in stub_device_alloc() local
275 sdev->devid = (busnum << 16) | devnum; in stub_device_alloc()
364 udev->bus->busnum, udev->devnum); in stub_probe()
Dusbip_common.h338 return udev->bus->busnum; in interface_to_busnum()
/drivers/i2c/busses/
Di2c-robotfuzz-osif.c150 priv->usb_dev->bus->busnum, priv->usb_dev->devnum); in osif_probe()
170 priv->usb_dev->bus->busnum, priv->usb_dev->devnum); in osif_probe()
Di2c-tiny-usb.c242 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe()
251 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe()
Di2c-diolan-u2c.c315 dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); in diolan_init()
469 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in diolan_u2c_probe()
Di2c-viperboard.c379 vb->usb_dev->bus->busnum, vb->usb_dev->devnum); in vprbrd_i2c_probe()
/drivers/usb/core/
Dhcd.c901 bus->busnum = -1; in usb_bus_init()
924 int busnum; in usb_register_bus() local
927 busnum = idr_alloc(&usb_bus_idr, bus, 1, USB_MAXBUS, GFP_KERNEL); in usb_register_bus()
928 if (busnum < 0) { in usb_register_bus()
932 bus->busnum = busnum; in usb_register_bus()
938 "number %d\n", bus->busnum); in usb_register_bus()
957 dev_info (bus->controller, "USB bus %d deregistered\n", bus->busnum); in usb_deregister_bus()
965 idr_remove(&usb_bus_idr, bus->busnum); in usb_deregister_bus()
1673 kcov_remote_start_usb_softirq((u64)urb->dev->bus->busnum); in __usb_hcd_giveback_urb()
2748 hcd->driver->description, hcd->self.busnum); in usb_hcd_request_irqs()
Dusb.c554 if (add_uevent_var(env, "BUSNUM=%03d", usb_dev->bus->busnum)) in usb_dev_uevent()
637 usb_dev->bus->busnum, usb_dev->devnum); in usb_devnode()
750 dev_set_name(&dev->dev, "usb%d", bus->busnum); in usb_alloc_dev()
772 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); in usb_alloc_dev()
Ddevices.c485 bus->busnum, level, parent_devnum, in usb_device_dump()
/drivers/media/usb/uvc/
Duvc_debugfs.c81 snprintf(dir_name, sizeof(dir_name), "%u-%u-%u", udev->bus->busnum, in uvc_debugfs_init_stream()
/drivers/mfd/
Dviperboard.c87 vb->usb_dev->bus->busnum, vb->usb_dev->devnum); in vprbrd_probe()
/drivers/acpi/
Dpci_root.c870 int ret, busnum = root->secondary.start; in acpi_pci_root_create() local
882 root->segment, busnum); in acpi_pci_root_create()
895 bus = pci_create_root_bus(NULL, busnum, ops->pci_ops, in acpi_pci_root_create()
/drivers/most/
Dmost_usb.c991 usb_dev->bus->busnum, in hdm_probe()
1046 usb_dev->bus->busnum, in hdm_probe()
1050 usb_dev->bus->busnum, in hdm_probe()
/drivers/media/usb/tm6000/
Dtm6000-alsa.c353 dev->udev->bus->busnum, dev->udev->devnum); in tm6000_audio_init()
/drivers/media/usb/usbtv/
Dusbtv-audio.c337 "USBTV Audio at bus %d device %d", usbtv->udev->bus->busnum, in usbtv_audio_init()
/drivers/net/usb/
Dax88172a.c78 dev->udev->bus->busnum, dev->udev->devnum); in ax88172a_init_mdio()
/drivers/hid/usbhid/
Dhiddev.c646 dinfo.busnum = dev->bus->busnum; in hiddev_ioctl()

12