Home
last modified time | relevance | path

Searched refs:dynid (Results 1 – 6 of 6) sorted by relevance

/drivers/pci/
Dpci-driver.c56 struct pci_dynid *dynid; in pci_add_dynid() local
59 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in pci_add_dynid()
60 if (!dynid) in pci_add_dynid()
63 dynid->id.vendor = vendor; in pci_add_dynid()
64 dynid->id.device = device; in pci_add_dynid()
65 dynid->id.subvendor = subvendor; in pci_add_dynid()
66 dynid->id.subdevice = subdevice; in pci_add_dynid()
67 dynid->id.class = class; in pci_add_dynid()
68 dynid->id.class_mask = class_mask; in pci_add_dynid()
69 dynid->id.driver_data = driver_data; in pci_add_dynid()
[all …]
/drivers/usb/core/
Ddriver.c45 struct usb_dynid *dynid; in usb_store_new_id() local
57 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in usb_store_new_id()
58 if (!dynid) in usb_store_new_id()
61 INIT_LIST_HEAD(&dynid->node); in usb_store_new_id()
62 dynid->id.idVendor = idVendor; in usb_store_new_id()
63 dynid->id.idProduct = idProduct; in usb_store_new_id()
64 dynid->id.match_flags = USB_DEVICE_ID_MATCH_DEVICE; in usb_store_new_id()
66 dynid->id.bInterfaceClass = (u8)bInterfaceClass; in usb_store_new_id()
67 dynid->id.match_flags |= USB_DEVICE_ID_MATCH_INT_CLASS; in usb_store_new_id()
71 list_add_tail(&dynid->node, &dynids->list); in usb_store_new_id()
[all …]
/drivers/pcmcia/
Dds.c100 struct pcmcia_dynid *dynid; in pcmcia_store_new_id() local
114 dynid = kzalloc(sizeof(struct pcmcia_dynid), GFP_KERNEL); in pcmcia_store_new_id()
115 if (!dynid) in pcmcia_store_new_id()
118 dynid->id.match_flags = match_flags; in pcmcia_store_new_id()
119 dynid->id.manf_id = manf_id; in pcmcia_store_new_id()
120 dynid->id.card_id = card_id; in pcmcia_store_new_id()
121 dynid->id.func_id = func_id; in pcmcia_store_new_id()
122 dynid->id.function = function; in pcmcia_store_new_id()
123 dynid->id.device_no = device_no; in pcmcia_store_new_id()
124 memcpy(dynid->id.prod_id_hash, prod_id_hash, sizeof(__u32) * 4); in pcmcia_store_new_id()
[all …]
/drivers/usb/serial/
Dbus.c134 struct usb_dynid *dynid, *n; in free_dynids() local
137 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in free_dynids()
138 list_del(&dynid->node); in free_dynids()
139 kfree(dynid); in free_dynids()
Dusb-serial.c640 struct usb_dynid *dynid; in match_dynamic_id() local
643 list_for_each_entry(dynid, &drv->dynids.list, node) { in match_dynamic_id()
644 if (usb_match_one_id(intf, &dynid->id)) { in match_dynamic_id()
646 return &dynid->id; in match_dynamic_id()
/drivers/hid/
Dhid-core.c1693 struct hid_dynid *dynid; in store_new_id() local
1703 dynid = kzalloc(sizeof(*dynid), GFP_KERNEL); in store_new_id()
1704 if (!dynid) in store_new_id()
1707 dynid->id.bus = bus; in store_new_id()
1708 dynid->id.vendor = vendor; in store_new_id()
1709 dynid->id.product = product; in store_new_id()
1710 dynid->id.driver_data = driver_data; in store_new_id()
1713 list_add_tail(&dynid->list, &hdrv->dyn_list); in store_new_id()
1724 struct hid_dynid *dynid, *n; in hid_free_dynids() local
1727 list_for_each_entry_safe(dynid, n, &hdrv->dyn_list, list) { in hid_free_dynids()
[all …]