Lines Matching refs:id_table
174 static bool match_ids(const struct ieee1394_device_id *id_table, int *id) in match_ids() argument
178 if (id[0] == id_table->vendor_id) in match_ids()
180 if (id[1] == id_table->model_id) in match_ids()
182 if (id[2] == id_table->specifier_id) in match_ids()
184 if (id[3] == id_table->version) in match_ids()
187 return (match & id_table->match_flags) == id_table->match_flags; in match_ids()
193 const struct ieee1394_device_id *id_table = in unit_match() local
194 container_of_const(drv, struct fw_driver, driver)->id_table; in unit_match()
199 for (; id_table->match_flags != 0; id_table++) in unit_match()
200 if (match_ids(id_table, id)) in unit_match()
201 return id_table; in unit_match()