Lines Matching refs:a
792 static bool __init same_name(const char *a, const char *b) in same_name() argument
794 return a && b && !strcmp(a, b); in same_name()
991 const struct sh_pfc_pin_group *a, in sh_pfc_compare_groups() argument
997 if (same_name(a->name, b->name)) in sh_pfc_compare_groups()
998 sh_pfc_err("group %s: name conflict\n", a->name); in sh_pfc_compare_groups()
1000 if (a->nr_pins > b->nr_pins) in sh_pfc_compare_groups()
1001 swap(a, b); in sh_pfc_compare_groups()
1003 len = a->nr_pins * sizeof(a->pins[0]); in sh_pfc_compare_groups()
1004 for (i = 0; i <= b->nr_pins - a->nr_pins; i++) { in sh_pfc_compare_groups()
1005 if (a->pins == b->pins + i || a->mux == b->mux + i || in sh_pfc_compare_groups()
1006 memcmp(a->pins, b->pins + i, len) || in sh_pfc_compare_groups()
1007 memcmp(a->mux, b->mux + i, len)) in sh_pfc_compare_groups()
1010 if (a->nr_pins == b->nr_pins) in sh_pfc_compare_groups()
1012 a->name, b->name); in sh_pfc_compare_groups()
1014 sh_pfc_warn("group %s is a subset of %s\n", a->name, in sh_pfc_compare_groups()