Home
last modified time | relevance | path

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

/third_party/eudev/src/udev/
Dudev-builtin-usb_id.c388 const char *usb_model = NULL; in builtin_usb_id() local
390 usb_model = udev_device_get_sysattr_value(dev_usb, "product"); in builtin_usb_id()
391 if (!usb_model) in builtin_usb_id()
392 usb_model = product_id; in builtin_usb_id()
393 if (!usb_model) in builtin_usb_id()
395 udev_util_encode_string(usb_model, model_str_enc, sizeof(model_str_enc)); in builtin_usb_id()
396 util_replace_whitespace(usb_model, model_str, sizeof(model_str)-1); in builtin_usb_id()