Lines Matching defs:idVendor
29 __u16 idVendor;
151 * @idVendor: the 16-bit USB vendor ID, in native byteorder
161 static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor,
168 if (q->hid_bl_item.idVendor == idVendor &&
177 bl_entry->quirks, bl_entry->idVendor,
186 * @idVendor: the 16-bit USB vendor ID, in native byteorder
191 * If an dynamic quirk exists in memory for this (idVendor,
197 static int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct,
203 if (!idVendor) {
204 dbg_hid("Cannot add a quirk with idVendor = 0\n");
214 q_new->hid_bl_item.idVendor = idVendor;
222 if (q->hid_bl_item.idVendor == idVendor &&
268 u16 idVendor, idProduct;
275 &idVendor, &idProduct, &quirks);
278 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) {
304 * @idVendor: the 16-bit USB vendor ID, in native byteorder
313 static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor,
319 for (; hid_blacklist[n].idVendor; n++)
320 if (hid_blacklist[n].idVendor == idVendor &&
326 bl_entry->quirks, bl_entry->idVendor,
333 * @idVendor: the 16-bit USB vendor ID, in native byteorder
342 u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct)
348 if (idVendor == USB_VENDOR_ID_NCR &&
354 bl_entry = usbhid_exists_dquirk(idVendor, idProduct);
356 bl_entry = usbhid_exists_squirk(idVendor, idProduct);