Lines Matching defs:ids
20 * @ids: array of DIO device id structures to search in
29 dio_match_device(const struct dio_device_id *ids,
32 while (ids->id) {
33 if (ids->id == DIO_WILDCARD)
34 return ids;
35 if (DIO_NEEDSSECID(ids->id & 0xff)) {
36 if (ids->id == d->id)
37 return ids;
39 if ((ids->id & 0xff) == (d->id & 0xff))
40 return ids;
42 ids++;
117 const struct dio_device_id *ids = dio_drv->id_table;
119 if (!ids)
122 return dio_match_device(ids, d) ? 1 : 0;