Searched refs:dev_type (Results 1 – 2 of 2) sorted by relevance
12 dev_type="cdev"220 if [ "$dev_type" != "sysfs" ]; then322 dev_type=$OPTARG341 case "$dev_type" in353 fail "unknown interface type: $dev_type"
143 def path_to_dir(parent_sysfs, dev_type, path): argument144 if dev_type == "usb-device":214 dev_type = device["type"]216 dev_type = dev_type.replace("usb", "usb" + str(device["usb-version"]))218 dev_type = dev_type.replace("pci", "pci" + str(device["acpi-uid"]))219 pathname = pathname + "/" + dev_type
Completed in 4 milliseconds