Lines Matching refs:idVendor
29 __u16 idVendor; member
180 static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor, in usbhid_exists_dquirk() argument
187 if (q->hid_bl_item.idVendor == idVendor && in usbhid_exists_dquirk()
196 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk()
216 static int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, in usbhid_modify_dquirk() argument
222 if (!idVendor) { in usbhid_modify_dquirk()
233 q_new->hid_bl_item.idVendor = idVendor; in usbhid_modify_dquirk()
241 if (q->hid_bl_item.idVendor == idVendor && in usbhid_modify_dquirk()
287 u16 idVendor, idProduct; in usbhid_quirks_init() local
294 &idVendor, &idProduct, &quirks); in usbhid_quirks_init()
297 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init()
332 static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor, in usbhid_exists_squirk() argument
338 for (; hid_blacklist[n].idVendor; n++) in usbhid_exists_squirk()
339 if (hid_blacklist[n].idVendor == idVendor && in usbhid_exists_squirk()
346 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk()
362 u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct) in usbhid_lookup_quirk() argument
368 if (idVendor == USB_VENDOR_ID_NCR && in usbhid_lookup_quirk()
374 bl_entry = usbhid_exists_dquirk(idVendor, idProduct); in usbhid_lookup_quirk()
376 bl_entry = usbhid_exists_squirk(idVendor, idProduct); in usbhid_lookup_quirk()