Lines Matching refs:idVendor
28 __u16 idVendor;
100 * @idVendor: the 16-bit USB vendor ID, in native byteorder
110 static struct hid_blacklist *usbhid_exists_dquirk(const u16 idVendor,
117 if (q->hid_bl_item.idVendor == idVendor &&
126 bl_entry->quirks, bl_entry->idVendor,
135 * @idVendor: the 16-bit USB vendor ID, in native byteorder
140 * If an dynamic quirk exists in memory for this (idVendor,
146 static int usbhid_modify_dquirk(const u16 idVendor, const u16 idProduct,
152 if (!idVendor) {
153 dbg_hid("Cannot add a quirk with idVendor = 0\n");
163 q_new->hid_bl_item.idVendor = idVendor;
171 if (q->hid_bl_item.idVendor == idVendor &&
217 u16 idVendor, idProduct;
224 &idVendor, &idProduct, &quirks);
227 usbhid_modify_dquirk(idVendor, idProduct, quirks) != 0) {
253 * @idVendor: the 16-bit USB vendor ID, in native byteorder
262 static const struct hid_blacklist *usbhid_exists_squirk(const u16 idVendor,
268 for (; hid_blacklist[n].idVendor; n++)
269 if (hid_blacklist[n].idVendor == idVendor &&
275 bl_entry->quirks, bl_entry->idVendor,
282 * @idVendor: the 16-bit USB vendor ID, in native byteorder
291 u32 usbhid_lookup_quirk(const u16 idVendor, const u16 idProduct)
297 if (idVendor == USB_VENDOR_ID_NCR &&
303 bl_entry = usbhid_exists_dquirk(idVendor, idProduct);
305 bl_entry = usbhid_exists_squirk(idVendor, idProduct);