Home
last modified time | relevance | path

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

12

/drivers/i2c/
Di2c-boardinfo.c59 int i2c_register_board_info(int busnum, struct i2c_board_info const *info, unsigned len) in i2c_register_board_info() argument
66 if (busnum >= __i2c_first_dynamic_bus_num) in i2c_register_board_info()
67 __i2c_first_dynamic_bus_num = busnum + 1; in i2c_register_board_info()
79 devinfo->busnum = busnum; in i2c_register_board_info()
Di2c-core.h19 int busnum; member
/drivers/usb/mon/
Dmon_text.c58 int busnum; member
209 ep->busnum = urb->dev->bus->busnum; in mon_text_event()
281 ep->busnum = urb->dev->bus->busnum; in mon_text_error()
541 utype, udir, ep->busnum, ep->devnum, ep->epnum); in mon_text_read_head_u()
703 int busnum = ubus? ubus->busnum: 0; in mon_text_add() local
710 rc = snprintf(name, NAMESZ, "%dt", busnum); in mon_text_add()
720 rc = snprintf(name, NAMESZ, "%du", busnum); in mon_text_add()
728 rc = snprintf(name, NAMESZ, "%ds", busnum); in mon_text_add()
Dmon_bin.c92 unsigned short busnum; /* Bus number */ member
568 ep->busnum = urb->dev->bus->busnum; in mon_bin_event()
656 ep->busnum = urb->dev->bus->busnum; in mon_bin_error()
1350 unsigned minor = ubus? ubus->busnum: 0; in mon_bin_add()
Dmon_main.c342 if (mbus->u_bus->busnum == num) { in mon_bus_lookup()
412 mbus->nreaders, mbus->u_bus->busnum); in mon_exit()
/drivers/usb/usbip/
Dstub_dev.c291 int busnum = udev->bus->busnum; in stub_device_alloc() local
308 sdev->devid = (busnum << 16) | devnum; in stub_device_alloc()
391 udev->bus->busnum, udev->devnum); in stub_probe()
Dusbip_common.h333 return udev->bus->busnum; in interface_to_busnum()
Dusbip_protocol.txt130 0x12C | 4 | | busnum
212 0x128 | 4 | | busnum
/drivers/gpu/drm/
Ddrm_pci.c193 if ((p->busnum >> 8) != drm_get_pci_domain(dev) || in drm_pci_irq_by_busid()
194 (p->busnum & 0xff) != dev->pdev->bus->number || in drm_pci_irq_by_busid()
200 DRM_DEBUG("%d:%d:%d => IRQ %d\n", p->busnum, p->devnum, p->funcnum, in drm_pci_irq_by_busid()
/drivers/i2c/busses/
Di2c-robotfuzz-osif.c156 priv->usb_dev->bus->busnum, priv->usb_dev->devnum); in osif_probe()
176 priv->usb_dev->bus->busnum, priv->usb_dev->devnum); in osif_probe()
Di2c-tiny-usb.c248 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe()
257 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in i2c_tiny_usb_probe()
Di2c-diolan-u2c.c320 dev->usb_dev->bus->busnum, dev->usb_dev->devnum, frequency); in diolan_init()
477 dev->usb_dev->bus->busnum, dev->usb_dev->devnum); in diolan_u2c_probe()
/drivers/staging/fbtft/
Dfbtft_device.c40 static unsigned busnum; variable
41 module_param(busnum, uint, 0);
42 MODULE_PARM_DESC(busnum, "SPI bus number (default=0)");
1430 pr_debug("name='%s', busnum=%d, cs=%d\n", name, busnum, cs); in fbtft_device_init()
1469 spi->bus_num = busnum; in fbtft_device_init()
/drivers/scsi/
Dgdth_proc.h17 static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id);
Dgdth_proc.c619 static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id) in gdth_wait_completion() argument
636 b == (u8)busnum) { in gdth_wait_completion()
/drivers/usb/core/
Dhcd.c975 bus->busnum = -1; in usb_bus_init()
999 int busnum; in usb_register_bus() local
1002 busnum = find_next_zero_bit(busmap, USB_MAXBUS, 1); in usb_register_bus()
1003 if (busnum >= USB_MAXBUS) { in usb_register_bus()
1007 set_bit(busnum, busmap); in usb_register_bus()
1008 bus->busnum = busnum; in usb_register_bus()
1017 "number %d\n", bus->busnum); in usb_register_bus()
1035 dev_info (bus->controller, "USB bus %d deregistered\n", bus->busnum); in usb_deregister_bus()
1048 clear_bit(bus->busnum, busmap); in usb_deregister_bus()
2665 hcd->driver->description, hcd->self.busnum); in usb_hcd_request_irqs()
Dusb.c384 if (add_uevent_var(env, "BUSNUM=%03d", usb_dev->bus->busnum)) in usb_dev_uevent()
467 usb_dev->bus->busnum, usb_dev->devnum); in usb_devnode()
557 dev_set_name(&dev->dev, "usb%d", bus->busnum); in usb_alloc_dev()
579 dev_set_name(&dev->dev, "%d-%s", bus->busnum, dev->devpath); in usb_alloc_dev()
/drivers/pci/hotplug/
Dsgi_hotplug.c111 u16 busnum, segment, ioboard_type; in sn_pci_slot_valid() local
120 busnum = pcibus_info->pbi_buscommon.bs_persist_busnum; in sn_pci_slot_valid()
126 (segment == 1 && busnum == 0 && device != 1)) in sn_pci_slot_valid()
/drivers/mfd/
Dviperboard.c94 vb->usb_dev->bus->busnum, vb->usb_dev->devnum); in vprbrd_probe()
/drivers/media/usb/uvc/
Duvc_debugfs.c87 sprintf(dir_name, "%u-%u", udev->bus->busnum, udev->devnum); in uvc_debugfs_init_stream()
/drivers/acpi/
Dpci_root.c829 int ret, busnum = root->secondary.start; in acpi_pci_root_create() local
839 root->segment, busnum); in acpi_pci_root_create()
852 bus = pci_create_root_bus(NULL, busnum, ops->pci_ops, in acpi_pci_root_create()
/drivers/staging/most/hdm-usb/
Dhdm_usb.c1259 usb_dev->bus->busnum, in hdm_probe()
1320 usb_dev->bus->busnum, in hdm_probe()
1324 usb_dev->bus->busnum, in hdm_probe()
/drivers/media/usb/usbtv/
Dusbtv-audio.c349 "USBTV Audio at bus %d device %d", usbtv->udev->bus->busnum, in usbtv_audio_init()
/drivers/net/usb/
Dax88172a.c115 dev->udev->bus->busnum, dev->udev->devnum); in ax88172a_init_mdio()
/drivers/media/usb/tm6000/
Dtm6000-alsa.c443 dev->udev->bus->busnum, dev->udev->devnum); in tm6000_audio_init()

12