Lines Matching defs:id
21 * rio_match_device - Tell if a RIO device has a matching RIO device id structure
22 * @id: the RIO device id structure to match against
26 * matches a device id structure provided by a RIO driver. Returns the
30 *id,
33 while (id->vid || id->asm_vid) {
34 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) &&
35 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) &&
36 ((id->asm_vid == RIO_ANY_ID)
37 || (id->asm_vid == rdev->asm_vid))
38 && ((id->asm_did == RIO_ANY_ID)
39 || (id->asm_did == rdev->asm_did)))
40 return id;
41 id++;
81 * rio_device_probe - Tell if a RIO device structure has a matching RIO device id structure
91 const struct rio_device_id *id;
96 id = rio_match_device(rdrv->id_table, rdev);
98 if (id)
99 error = rdrv->probe(rdev, id);
168 * rio_match_bus - Tell if a RIO device structure has a matching RIO driver device id structure
181 const struct rio_device_id *id = rdrv->id_table;
184 if (!id)
187 found_id = rio_match_device(id, rdev);