Lines Matching full:diff
23 int diff = memcmp(&p1->clk_id, &p2->clk_id, sizeof(p1->clk_id)); in btca_port_id_cmp() local
25 if (diff == 0) { in btca_port_id_cmp()
26 diff = p1->port_number - p2->port_number; in btca_port_id_cmp()
29 return diff; in btca_port_id_cmp()
34 int diff; in btca_ds_cmp2() local
43 diff = btca_port_id_cmp(&a->receiver, &a->sender); in btca_ds_cmp2()
44 if (diff > 0) { in btca_ds_cmp2()
47 if (diff < 0) { in btca_ds_cmp2()
54 diff = btca_port_id_cmp(&b->receiver, &b->sender); in btca_ds_cmp2()
55 if (diff > 0) { in btca_ds_cmp2()
58 if (diff < 0) { in btca_ds_cmp2()
65 diff = btca_port_id_cmp(&a->sender, &b->sender); in btca_ds_cmp2()
66 if (diff > 0) { in btca_ds_cmp2()
69 if (diff < 0) { in btca_ds_cmp2()