Lines Matching refs:a
276 static bool sja1105_vl_key_lower(struct sja1105_vl_lookup_entry *a, in sja1105_vl_key_lower() argument
279 if (a->macaddr < b->macaddr) in sja1105_vl_key_lower()
281 if (a->macaddr > b->macaddr) in sja1105_vl_key_lower()
283 if (a->vlanid < b->vlanid) in sja1105_vl_key_lower()
285 if (a->vlanid > b->vlanid) in sja1105_vl_key_lower()
287 if (a->port < b->port) in sja1105_vl_key_lower()
289 if (a->port > b->port) in sja1105_vl_key_lower()
291 if (a->vlanprior < b->vlanprior) in sja1105_vl_key_lower()
293 if (a->vlanprior > b->vlanprior) in sja1105_vl_key_lower()
436 struct sja1105_vl_lookup_entry *a = &vl_lookup[i]; in sja1105_init_virtual_links() local
441 if (sja1105_vl_key_lower(b, a)) { in sja1105_init_virtual_links()
442 struct sja1105_vl_lookup_entry tmp = *a; in sja1105_init_virtual_links()
444 *a = *b; in sja1105_init_virtual_links()