/external/qemu/ |
vl.c | 839 int bus_id, unit_id; local 864 bus_id = 0; 884 bus_id = strtol(buf, NULL, 0); 885 if (bus_id < 0) { 1070 if (bus_id != 0 || unit_id != -1) { 1078 bus_id = 0; 1081 bus_id = index / max_devs; 1091 while (drive_get_index(type, bus_id, unit_id) != -1) { 1095 bus_id++; 1112 if (drive_get_index(type, bus_id, unit_id) != -1 [all...] |
vl-android.c | 1032 int bus_id, unit_id; local 1057 bus_id = 0; 1077 bus_id = strtol(buf, NULL, 0); 1078 if (bus_id < 0) { 1263 if (bus_id != 0 || unit_id != -1) { 1271 bus_id = 0; 1274 bus_id = index / max_devs; 1284 while (drive_get_index(type, bus_id, unit_id) != -1) { [all...] |
/external/bluetooth/bluez/tools/ |
dfutool.c | 120 int i, intf, sel = 0, num = 0, try = 5, bus_id = -1, dev_id = -1; local 129 if (bus_id > 0) { 130 snprintf(str, sizeof(str) - 1, "%03i", bus_id); 136 if (bus_id > 0 && dev_id > 0) {
|
/external/kernel-headers/original/linux/ |
device.h | 307 char bus_id[BUS_ID_SIZE]; /* position on parent bus */ member in struct:device 421 printk(level "%s %s: " format , dev_driver_string(dev) , (dev)->bus_id , ## arg)
|
pci.h | 725 return pdev->dev.bus_id;
|
/system/core/init/ |
devices.c | 535 int bus_id = uevent->minor / 128 + 1; local 540 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d", bus_id); 542 snprintf(devpath, sizeof(devpath), "/dev/bus/usb/%03d/%03d", bus_id, device_id);
|