Lines Matching refs:dynid
100 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()
127 list_add_tail(&dynid->node, &pdrv->dynids.list); in pcmcia_store_new_id()
141 struct pcmcia_dynid *dynid, *n; in pcmcia_free_dynids() local
144 list_for_each_entry_safe(dynid, n, &drv->dynids.list, node) { in pcmcia_free_dynids()
145 list_del(&dynid->node); in pcmcia_free_dynids()
146 kfree(dynid); in pcmcia_free_dynids()
897 struct pcmcia_dynid *dynid; in pcmcia_bus_match() local
901 list_for_each_entry(dynid, &p_drv->dynids.list, node) { in pcmcia_bus_match()
903 if (pcmcia_devmatch(p_dev, &dynid->id)) { in pcmcia_bus_match()