Searched refs:bus_num (Results 1 – 5 of 5) sorted by relevance
/external/qemu/ |
D | usb-linux.c | 61 typedef int USBScanFunc(void *opaque, int bus_num, int addr, int class_id, 119 int bus_num; member 169 static USBHostDevice *hostdev_find(int bus_num, int addr) in hostdev_find() argument 173 if (s->bus_num == bus_num && s->addr == addr) in hostdev_find() 238 printf("husb: device %d.%d disconnected\n", s->bus_num, s->addr); in async_complete() 394 dprintf("husb: reset device %u.%u\n", s->bus_num, s->addr); in usb_host_handle_reset() 877 static USBDevice *usb_host_device_open_addr(int bus_num, int addr, const char *prod_name) in usb_host_device_open_addr() argument 888 dev->bus_num = bus_num; in usb_host_device_open_addr() 891 printf("husb: open device %d.%d\n", bus_num, addr); in usb_host_device_open_addr() 894 bus_num, addr); in usb_host_device_open_addr() [all …]
|
D | vl.c | 6065 int usb_device_del_addr(int bus_num, int addr) in usb_device_del_addr() argument 6074 if (bus_num != 0) in usb_device_del_addr() 6098 int bus_num, addr; in usb_device_del() local 6110 bus_num = strtoul(devname, NULL, 0); in usb_device_del() 6113 return usb_device_del_addr(bus_num, addr); in usb_device_del()
|
/external/qemu/hw/ |
D | pci.c | 32 int bus_num; member 117 return s->bus_num; in pci_bus_num() 419 int config_addr, bus_num; in pci_data_write() local 425 bus_num = (addr >> 16) & 0xff; in pci_data_write() 426 while (s && s->bus_num != bus_num) in pci_data_write() 445 int config_addr, bus_num; in pci_data_read() local 448 bus_num = (addr >> 16) & 0xff; in pci_data_read() 449 while (s && s->bus_num != bus_num) in pci_data_read() 565 d->bus->bus_num, d->devfn >> 3, d->devfn & 7); in pci_info_device() 604 void pci_for_each_device(int bus_num, void (*fn)(PCIDevice *d)) in pci_for_each_device() argument [all …]
|
D | pci.h | 93 void pci_for_each_device(int bus_num, void (*fn)(PCIDevice *d));
|
D | usb.h | 232 int usb_device_del_addr(int bus_num, int addr);
|