Lines Matching refs:id_table
155 static bool match_ids(const struct ieee1394_device_id *id_table, int *id) in match_ids() argument
159 if (id[0] == id_table->vendor_id) in match_ids()
161 if (id[1] == id_table->model_id) in match_ids()
163 if (id[2] == id_table->specifier_id) in match_ids()
165 if (id[3] == id_table->version) in match_ids()
168 return (match & id_table->match_flags) == id_table->match_flags; in match_ids()
174 const struct ieee1394_device_id *id_table = in unit_match() local
175 container_of(drv, struct fw_driver, driver)->id_table; in unit_match()
180 for (; id_table->match_flags != 0; id_table++) in unit_match()
181 if (match_ids(id_table, id)) in unit_match()
182 return id_table; in unit_match()