Lines Matching refs:idVendor
29 __u16 idVendor; member
184 static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor, in usbhid_exists_dquirk() argument
191 if (q->hid_bl_item.idVendor == idVendor && in usbhid_exists_dquirk()
200 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_dquirk()
220 static int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct, in usbhid_modify_dquirk() argument
226 if (!idVendor) { in usbhid_modify_dquirk()
237 q_new->hid_bl_item.idVendor = idVendor; in usbhid_modify_dquirk()
245 if (q->hid_bl_item.idVendor == idVendor && in usbhid_modify_dquirk()
291 u16 idVendor, idProduct; in usbhid_quirks_init() local
298 &idVendor, &idProduct, &quirks); in usbhid_quirks_init()
301 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) { in usbhid_quirks_init()
336 static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor, in usbhid_exists_squirk() argument
342 for (; hid_blacklist[n].idVendor; n++) in usbhid_exists_squirk()
343 if (hid_blacklist[n].idVendor == idVendor && in usbhid_exists_squirk()
350 bl_entry->quirks, bl_entry->idVendor, in usbhid_exists_squirk()
366 u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct) in usbhid_lookup_quirk() argument
372 if (idVendor == USB_VENDOR_ID_NCR && in usbhid_lookup_quirk()
378 bl_entry = usbhid_exists_dquirk(idVendor, idProduct); in usbhid_lookup_quirk()
380 bl_entry = usbhid_exists_squirk(idVendor, idProduct); in usbhid_lookup_quirk()