Lines Matching defs:table
140 * Returns the entry from specified table with type == key
145 const struct sme_descr_entry *table = sme_find_table(table_id);
147 if (table != NULL)
148 for (; table->type != -1; table++)
149 if (table->type == key)
150 return table;
158 const struct sme_descr_entry *table = sme_find_table(table_id);
160 if (table != NULL)
161 for (; table->type != -1; table++)
162 if (strcmp(table->desc, str) == 0)
163 return table;