Lines Matching refs:NULL
54 static char *usbfs = NULL;
84 return (len >= 0) ? buf : NULL;
97 return NULL;
103 if ((attr = sysfs_attr(e->d_name, "busnum")) != NULL)
104 dev.bus_num = strtoul(attr, NULL, 10);
106 if ((attr = sysfs_attr(e->d_name, "devnum")) != NULL)
107 dev.dev_num = strtoul(attr, NULL, 10);
109 if ((attr = sysfs_attr(e->d_name, "idVendor")) != NULL)
110 dev.vendor_id = strtoul(attr, NULL, 16);
112 if ((attr = sysfs_attr(e->d_name, "idProduct")) != NULL)
113 dev.product_id = strtoul(attr, NULL, 16);
115 if ((attr = sysfs_attr(e->d_name, "manufacturer")) != NULL)
118 if ((attr = sysfs_attr(e->d_name, "product")) != NULL)
124 return NULL;
135 while ((dev = parse_devlist(devs)) != NULL)
152 struct usbentry *e, *match = NULL;
155 return NULL;
157 while ((e = parse_devlist(devs)) != NULL)
206 dev = find_device(&id1, &id2, NULL, NULL, NULL);
210 dev = find_device(NULL, NULL, &id1, &id2, NULL);
214 dev = find_device(NULL, NULL, NULL, NULL, argv[1]);