Lines Matching refs:self_id_count
442 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) in log_selfids() argument
459 .quadlet_count = self_id_count, in log_selfids()
466 self_id_count, generation, ohci->node_id); in log_selfids()
1923 int self_id_count) in get_self_id_pos() argument
1928 for (i = 0; i < self_id_count; i++) { in get_self_id_pos()
1977 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id() argument
2022 pos = get_self_id_pos(ohci, self_id, self_id_count); in find_and_insert_self_id()
2026 (self_id_count - pos) * sizeof(*ohci->self_id_buffer)); in find_and_insert_self_id()
2028 self_id_count++; in find_and_insert_self_id()
2030 return self_id_count; in find_and_insert_self_id()
2036 int self_id_count, generation, new_generation, i, j; in bus_reset_work() local
2072 self_id_count = ohci1394_self_id_count_get_size(reg) >> 1; in bus_reset_work()
2074 if (self_id_count > 252) { in bus_reset_work()
2083 for (i = 1, j = 0; j < self_id_count; i += 2, j++) { in bus_reset_work()
2097 self_id_count = j; in bus_reset_work()
2102 j, self_id_count, id, id2); in bus_reset_work()
2109 self_id_count = find_and_insert_self_id(ohci, self_id_count); in bus_reset_work()
2110 if (self_id_count < 0) { in bus_reset_work()
2117 if (self_id_count == 0) { in bus_reset_work()
2198 log_selfids(ohci, generation, self_id_count); in bus_reset_work()
2201 self_id_count, ohci->self_id_buffer, in bus_reset_work()