Lines Matching refs:match
174 struct ifmedia_entry *match;
176 match = ifmedia_match(ifm, target, ifm->ifm_mask);
178 if (match == NULL) {
179 TRACE("ifmedia_set: no match for 0x%x/0x%x\n",
183 ifm->ifm_cur = match;
203 struct ifmedia_entry *match;
221 match = ifmedia_match(ifm, newmedia, ifm->ifm_mask);
222 if (match == NULL) {
232 * Similarly, if best match changed (kernel debugger?).
236 (match == ifm->ifm_cur))
240 * We found a match, now make the driver switch to it.
247 ifmedia_printword(match->ifm_media);
251 ifm->ifm_cur = match;
363 struct ifmedia_entry *match, *next;
365 match = NULL;
371 if (match) {
372 TRACE("ifmedia_match: multiple match for "
376 match = next;
380 return match;