Lines Matching refs:self_id_count
415 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) in log_selfids() argument
423 self_id_count, generation, ohci->node_id); in log_selfids()
425 for (s = ohci->self_id_buffer; self_id_count--; ++s) in log_selfids()
1788 int self_id_count) in get_self_id_pos() argument
1793 for (i = 0; i < self_id_count; i++) { in get_self_id_pos()
1833 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id() argument
1866 pos = get_self_id_pos(ohci, self_id, self_id_count); in find_and_insert_self_id()
1870 (self_id_count - pos) * sizeof(*ohci->self_id_buffer)); in find_and_insert_self_id()
1872 self_id_count++; in find_and_insert_self_id()
1874 return self_id_count; in find_and_insert_self_id()
1881 int self_id_count, generation, new_generation, i, j; in bus_reset_work() local
1917 self_id_count = (reg >> 3) & 0xff; in bus_reset_work()
1919 if (self_id_count > 252) { in bus_reset_work()
1927 for (i = 1, j = 0; j < self_id_count; i += 2, j++) { in bus_reset_work()
1941 self_id_count = j; in bus_reset_work()
1946 j, self_id_count, id, id2); in bus_reset_work()
1953 self_id_count = find_and_insert_self_id(ohci, self_id_count); in bus_reset_work()
1954 if (self_id_count < 0) { in bus_reset_work()
1961 if (self_id_count == 0) { in bus_reset_work()
2054 log_selfids(ohci, generation, self_id_count); in bus_reset_work()
2057 self_id_count, ohci->self_id_buffer, in bus_reset_work()