Lines Matching defs:id
20 while (*drv_id->id){
21 if (compare_pnp_id(card->id,drv_id->id)) {
26 if (i == PNP_MAX_DEVICES || ! *drv_id->devs[i].id)
30 if (compare_pnp_id(dev->id, drv_id->devs[i].id)) {
64 const struct pnp_card_device_id *id;
70 id = match_card(drv,card);
71 if (!id)
81 if (drv->probe(clink, id) >= 0)
94 * pnp_add_card_id - adds an EISA id to the specified card
95 * @id: pointer to a pnp_id structure
100 int pnp_add_card_id(struct pnp_id *id, struct pnp_card * card)
103 if (!id)
107 id->next = NULL;
108 ptr = card->id;
112 ptr->next = id;
114 card->id = id;
120 struct pnp_id * id;
124 id = card->id;
125 while (id) {
126 next = id->next;
127 kfree(id);
128 id = next;
154 struct pnp_id * pos = card->id;
157 str += sprintf(str,"%s\n", pos->id);
282 * @id: pointer to a PnP ID structure that explains the rules for finding the device
286 struct pnp_dev * pnp_request_card_device(struct pnp_card_link *clink, const char * id, struct pnp_dev * from)
292 if (!clink || !id)
305 if ((!dev->card_link) && compare_pnp_id(dev->id,id))