Lines Matching refs:idVendor
29 __u16 idVendor; member
171 static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor, in usbhid_exists_dquirk() argument
178 if (q->hid_bl_item.idVendor == idVendor && in usbhid_exists_dquirk()
187 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk()
207 static int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, in usbhid_modify_dquirk() argument
213 if (!idVendor) { in usbhid_modify_dquirk()
224 q_new->hid_bl_item.idVendor = idVendor; in usbhid_modify_dquirk()
232 if (q->hid_bl_item.idVendor == idVendor && in usbhid_modify_dquirk()
278 u16 idVendor, idProduct; in usbhid_quirks_init() local
285 &idVendor, &idProduct, &quirks); in usbhid_quirks_init()
288 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init()
323 static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor, in usbhid_exists_squirk() argument
329 for (; hid_blacklist[n].idVendor; n++) in usbhid_exists_squirk()
330 if (hid_blacklist[n].idVendor == idVendor && in usbhid_exists_squirk()
336 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk()
352 u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct) in usbhid_lookup_quirk() argument
358 if (idVendor == USB_VENDOR_ID_NCR && in usbhid_lookup_quirk()
364 bl_entry = usbhid_exists_dquirk(idVendor, idProduct); in usbhid_lookup_quirk()
366 bl_entry = usbhid_exists_squirk(idVendor, idProduct); in usbhid_lookup_quirk()