Searched refs:subclassid (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/staging/usbip/userspace/libsrc/ |
D | names.c | 68 u_int8_t classid, subclassid; member 74 u_int8_t classid, subclassid, protocolid; member 208 const char *names_subclass(u_int8_t classid, u_int8_t subclassid) in names_subclass() argument 212 s = subclasses[hashnum((classid << 8) | subclassid)]; in names_subclass() 214 if (s->classid == classid && s->subclassid == subclassid) in names_subclass() 219 const char *names_protocol(u_int8_t classid, u_int8_t subclassid, u_int8_t protocolid) in names_protocol() argument 223 p = protocols[hashnum((classid << 16) | (subclassid << 8) | protocolid)]; in names_protocol() 225 if (p->classid == classid && p->subclassid == subclassid && p->protocolid == protocolid) in names_protocol() 350 static int new_subclass(const char *name, u_int8_t classid, u_int8_t subclassid) in new_subclass() argument 353 unsigned int h = hashnum((classid << 8) | subclassid); in new_subclass() [all …]
|
D | names.h | 42 extern const char *names_subclass(u_int8_t classid, u_int8_t subclassid); 43 extern const char *names_protocol(u_int8_t classid, u_int8_t subclassid, u_int8_t protocolid);
|