Searched refs:sysattr (Results 1 – 1 of 1) sorted by relevance
251 const char *sysattr; in fill_usb_card_info() local258 sysattr = udev_device_get_sysattr_value(parent_dev, "idVendor"); in fill_usb_card_info()259 if (sysattr) in fill_usb_card_info()260 card_info->usb_vendor_id = strtol(sysattr, NULL, 16); in fill_usb_card_info()261 sysattr = udev_device_get_sysattr_value(parent_dev, "idProduct"); in fill_usb_card_info()262 if (sysattr) in fill_usb_card_info()263 card_info->usb_product_id = strtol(sysattr, NULL, 16); in fill_usb_card_info()264 sysattr = udev_device_get_sysattr_value(parent_dev, "serial"); in fill_usb_card_info()265 if (sysattr) { in fill_usb_card_info()266 strncpy(card_info->usb_serial_number, sysattr, in fill_usb_card_info()