Home
last modified time | relevance | path

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

/linux-6.1.9/tools/usb/usbip/libsrc/
Dnames.c45 u_int8_t classid, subclassid; member
51 u_int8_t classid, subclassid, protocolid; member
116 const char *names_subclass(u_int8_t classid, u_int8_t subclassid) in names_subclass() argument
120 s = subclasses[hashnum((classid << 8) | subclassid)]; in names_subclass()
122 if (s->classid == classid && s->subclassid == subclassid) in names_subclass()
127 const char *names_protocol(u_int8_t classid, u_int8_t subclassid, in names_protocol() argument
132 p = protocols[hashnum((classid << 16) | (subclassid << 8) in names_protocol()
135 if (p->classid == classid && p->subclassid == subclassid && in names_protocol()
247 static int new_subclass(const char *name, u_int8_t classid, u_int8_t subclassid) in new_subclass() argument
250 unsigned int h = hashnum((classid << 8) | subclassid); in new_subclass()
[all …]
Dnames.h20 extern const char *names_subclass(u_int8_t classid, u_int8_t subclassid);
21 extern const char *names_protocol(u_int8_t classid, u_int8_t subclassid,