Searched refs:subclassid (Results 1 – 2 of 2) sorted by relevance
/drivers/staging/usbip/userspace/libsrc/ |
D | names.c | 63 u_int8_t classid, subclassid; member 69 u_int8_t classid, subclassid, protocolid; member 134 const char *names_subclass(u_int8_t classid, u_int8_t subclassid) in names_subclass() argument 138 s = subclasses[hashnum((classid << 8) | subclassid)]; in names_subclass() 140 if (s->classid == classid && s->subclassid == subclassid) in names_subclass() 145 const char *names_protocol(u_int8_t classid, u_int8_t subclassid, in names_protocol() argument 150 p = protocols[hashnum((classid << 16) | (subclassid << 8) in names_protocol() 153 if (p->classid == classid && p->subclassid == subclassid && in names_protocol() 265 static int new_subclass(const char *name, u_int8_t classid, u_int8_t subclassid) in new_subclass() argument 268 unsigned int h = hashnum((classid << 8) | subclassid); in new_subclass() [all …]
|
D | names.h | 35 extern const char *names_subclass(u_int8_t classid, u_int8_t subclassid); 36 extern const char *names_protocol(u_int8_t classid, u_int8_t subclassid,
|