Searched refs:bus (Results 1 – 5 of 5) sorted by relevance
/system/core/init/ |
D | devices.c | 229 struct platform_node *bus; in add_platform_device() local 232 bus = node_to_item(node, struct platform_node, list); in add_platform_device() 233 if ((bus->name_len < name_len) && in add_platform_device() 234 (name[bus->name_len] == '/') && in add_platform_device() 235 !strncmp(name, bus->name, bus->name_len)) in add_platform_device() 242 bus = calloc(1, sizeof(struct platform_node)); in add_platform_device() 243 bus->name = strdup(name); in add_platform_device() 244 bus->name_len = name_len; in add_platform_device() 245 list_add_tail(&platform_names, &bus->list); in add_platform_device() 257 struct platform_node *bus; in find_platform_device() local [all …]
|
/system/core/libusbhost/ |
D | usbhost.c | 351 int bus = 0, dev = 0; in usb_device_get_unique_id() local 352 sscanf(device->dev_name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id() 353 return bus * 1000 + dev; in usb_device_get_unique_id() 358 int bus = 0, dev = 0; in usb_device_get_unique_id_from_name() local 359 sscanf(name, USB_FS_ID_SCANNER, &bus, &dev); in usb_device_get_unique_id_from_name() 360 return bus * 1000 + dev; in usb_device_get_unique_id_from_name() 365 int bus = id / 1000; in usb_device_get_name_from_unique_id() local 368 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/etc/ |
D | dbus.conf | 5 <!-- Our well-known bus type, do not change this -->
|
/system/core/rootdir/ |
D | ueventd.rc | 75 /dev/bus/usb/* 0660 root usb
|
/system/core/toolbox/ |
D | getevent.c | 260 static void print_hid_descriptor(int bus, int vendor, int product) in print_hid_descriptor() argument 270 snprintf(prefix, sizeof(prefix), "%04X:%04X:%04X.", bus, vendor, product); in print_hid_descriptor()
|