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