Lines Matching refs:bmap
60 static int ddr_cal_get_first_edge_index(unsigned long *bmap, enum edge e, in ddr_cal_get_first_edge_index() argument
72 if (test_bit(i, bmap)) { in ddr_cal_get_first_edge_index()
73 if (!test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index()
74 test_bit(i + 1, bmap) && in ddr_cal_get_first_edge_index()
75 test_bit(i + 2, bmap) && in ddr_cal_get_first_edge_index()
76 test_bit(i + 3, bmap)) { in ddr_cal_get_first_edge_index()
84 if (!test_bit(i, bmap)) { in ddr_cal_get_first_edge_index()
85 if (test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index()
86 test_bit(i - 2, bmap) && in ddr_cal_get_first_edge_index()
87 test_bit(i - 3, bmap)) { in ddr_cal_get_first_edge_index()
97 static void bitmap_print(unsigned long *bmap, int max) in bitmap_print() argument
101 debug("BITMAP [0x%p]:\n", bmap); in bitmap_print()
103 debug("%d ", test_bit(i, bmap) ? 1 : 0); in bitmap_print()