Home
last modified time | relevance | path

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

/tools/usb/usbip/libsrc/
Dnames.c45 u_int16_t vendorid; member
51 u_int16_t vendorid, productid; member
101 const char *names_vendor(u_int16_t vendorid) in names_vendor() argument
105 v = vendors[hashnum(vendorid)]; in names_vendor()
107 if (v->vendorid == vendorid) in names_vendor()
112 const char *names_product(u_int16_t vendorid, u_int16_t productid) in names_product() argument
116 p = products[hashnum((vendorid << 16) | productid)]; in names_product()
118 if (p->vendorid == vendorid && p->productid == productid) in names_product()
206 static int new_vendor(const char *name, u_int16_t vendorid) in new_vendor() argument
209 unsigned int h = hashnum(vendorid); in new_vendor()
[all …]
Dnames.h32 extern const char *names_vendor(u_int16_t vendorid);
33 extern const char *names_product(u_int16_t vendorid, u_int16_t productid);