Home
last modified time | relevance | path

Searched refs:usb_vendor (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/xserver/config/
H A Dhal.c189 int usb_vendor, usb_product; in device_added() local
193 usb_vendor = libhal_device_get_property_int(hal_ctx, parent, in device_added()
197 "returned %04x\n", parent, usb_vendor); in device_added()
203 if (usb_vendor && usb_product) in device_added()
204 if (asprintf(&attrs.usb_id, "%04x:%04x", usb_vendor, usb_product) in device_added()
H A Dudev.c154 unsigned int usb_vendor, usb_model; in device_added() local
165 sscanf(product, "%*x/%4x/%4x/%*x", &usb_vendor, &usb_model) == 2) { in device_added()
167 if (asprintf(&usb_id, "%04x:%04x", usb_vendor, usb_model) in device_added()