Searched refs:bus (Results 1 – 5 of 5) sorted by relevance
/system/core/init/ |
D | devices.cpp | 269 struct platform_node *bus; in add_platform_device() local 280 bus = (platform_node*) calloc(1, sizeof(struct platform_node)); in add_platform_device() 281 bus->path = strdup(path); in add_platform_device() 282 bus->path_len = path_len; in add_platform_device() 283 bus->name = bus->path + (name - path); in add_platform_device() 284 list_add_tail(&platform_names, &bus->list); in add_platform_device() 296 struct platform_node *bus; in find_platform_device() local 299 bus = node_to_item(node, struct platform_node, list); in find_platform_device() 300 if ((bus->path_len < path_len) && in find_platform_device() 301 (path[bus->path_len] == '/') && in find_platform_device() [all …]
|
/system/core/libusbhost/ |
D | usbhost.c | 414 int bus = 0, dev = 0; in usb_device_get_unique_id() local 415 sscanf(device->dev_name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id() 416 return bus * 1000 + dev; in usb_device_get_unique_id() 421 int bus = 0, dev = 0; in usb_device_get_unique_id_from_name() local 422 sscanf(name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id_from_name() 423 return bus * 1000 + dev; in usb_device_get_unique_id_from_name() 428 int bus = id / 1000; in usb_device_get_name_from_unique_id() local 431 snprintf(result, strlen(USB_FS_ID_FORMAT) - 1, USB_FS_ID_FORMAT, bus, dev); in usb_device_get_name_from_unique_id()
|
/system/core/rootdir/ |
D | ueventd.rc | 82 /dev/bus/usb/* 0660 root usb
|
/system/core/toolbox/ |
D | getevent.c | 279 static void print_hid_descriptor(int bus, int vendor, int product) in print_hid_descriptor() argument 289 snprintf(prefix, sizeof(prefix), "%04X:%04X:%04X.", bus, vendor, product); in print_hid_descriptor()
|
/system/bt/btif/co/ |
D | bta_hh_co.c | 479 ev.u.create.bus = BUS_BLUETOOTH; in bta_hh_co_send_hid_info()
|