Lines Matching refs:self_id_count
439 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) in log_selfids() argument
456 .quadlet_count = self_id_count, in log_selfids()
463 self_id_count, generation, ohci->node_id); in log_selfids()
1919 int self_id_count) in get_self_id_pos() argument
1924 for (i = 0; i < self_id_count; i++) { in get_self_id_pos()
1973 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id() argument
2018 pos = get_self_id_pos(ohci, self_id, self_id_count); in find_and_insert_self_id()
2022 (self_id_count - pos) * sizeof(*ohci->self_id_buffer)); in find_and_insert_self_id()
2024 self_id_count++; in find_and_insert_self_id()
2026 return self_id_count; in find_and_insert_self_id()
2033 int self_id_count, generation, new_generation, i, j; in bus_reset_work() local
2069 self_id_count = ohci1394_self_id_count_get_size(reg) >> 1; in bus_reset_work()
2071 if (self_id_count > 252) { in bus_reset_work()
2080 for (i = 1, j = 0; j < self_id_count; i += 2, j++) { in bus_reset_work()
2094 self_id_count = j; in bus_reset_work()
2099 j, self_id_count, id, id2); in bus_reset_work()
2106 self_id_count = find_and_insert_self_id(ohci, self_id_count); in bus_reset_work()
2107 if (self_id_count < 0) { in bus_reset_work()
2114 if (self_id_count == 0) { in bus_reset_work()
2195 log_selfids(ohci, generation, self_id_count); in bus_reset_work()
2198 self_id_count, ohci->self_id_buffer, in bus_reset_work()