Searched defs:bus_id (Results 1 - 4 of 4) sorted by relevance

/external/qemu/
H A Dblockdev.c143 int bus_id, unit_id; local
172 bus_id = qemu_opt_get_number(opts, "bus", 0);
350 if (bus_id != 0 || unit_id != -1) {
358 bus_id = 0;
361 bus_id = index / max_devs;
371 while (drive_get(type, bus_id, unit_id) != NULL) {
375 bus_id++;
392 if (drive_get(type, bus_id, unit_id) != NULL) {
409 devname, bus_id, mediastr, unit_id);
417 dinfo->bus = bus_id;
[all...]
H A Dvl-android.c1036 int bus_id, unit_id; local
1061 bus_id = 0;
1081 bus_id = strtol(buf, NULL, 0);
1082 if (bus_id < 0) {
1267 if (bus_id != 0 || unit_id != -1) {
1275 bus_id = 0;
1278 bus_id = index / max_devs;
1288 while (drive_get_index(type, bus_id, unit_id) != -1) {
1292 bus_id++;
1309 if (drive_get_index(type, bus_id, unit_i
[all...]
H A Dvl.c839 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_i
[all...]
/external/kernel-headers/original/linux/
H A Ddevice.h307 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)

Completed in 109 milliseconds