Lines Matching defs:ids
21 * @ids: array of DIO device id structures to search in
30 dio_match_device(const struct dio_device_id *ids,
33 while (ids->id) {
34 if (ids->id == DIO_WILDCARD)
35 return ids;
36 if (DIO_NEEDSSECID(ids->id & 0xff)) {
37 if (ids->id == d->id)
38 return ids;
40 if ((ids->id & 0xff) == (d->id & 0xff))
41 return ids;
43 ids++;
107 * @ids: array of DIO device id structures to search in
119 const struct dio_device_id *ids = dio_drv->id_table;
121 if (!ids)
124 while (ids->id) {
125 if (ids->id == DIO_WILDCARD)
127 if (DIO_NEEDSSECID(ids->id & 0xff)) {
128 if (ids->id == d->id)
131 if ((ids->id & 0xff) == (d->id & 0xff))
134 ids++;