Lines Matching refs:self_id_count
428 static void log_selfids(struct fw_ohci *ohci, int generation, int self_id_count) in log_selfids() argument
436 self_id_count, generation, ohci->node_id); in log_selfids()
438 for (s = ohci->self_id_buffer; self_id_count--; ++s) in log_selfids()
1797 int self_id_count) in get_self_id_pos() argument
1802 for (i = 0; i < self_id_count; i++) { in get_self_id_pos()
1842 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id() argument
1875 pos = get_self_id_pos(ohci, self_id, self_id_count); in find_and_insert_self_id()
1879 (self_id_count - pos) * sizeof(*ohci->self_id_buffer)); in find_and_insert_self_id()
1881 self_id_count++; in find_and_insert_self_id()
1883 return self_id_count; in find_and_insert_self_id()
1890 int self_id_count, generation, new_generation, i, j; in bus_reset_work() local
1926 self_id_count = (reg >> 3) & 0xff; in bus_reset_work()
1928 if (self_id_count > 252) { in bus_reset_work()
1936 for (i = 1, j = 0; j < self_id_count; i += 2, j++) { in bus_reset_work()
1950 self_id_count = j; in bus_reset_work()
1955 j, self_id_count, id, id2); in bus_reset_work()
1962 self_id_count = find_and_insert_self_id(ohci, self_id_count); in bus_reset_work()
1963 if (self_id_count < 0) { in bus_reset_work()
1970 if (self_id_count == 0) { in bus_reset_work()
2063 log_selfids(ohci, generation, self_id_count); in bus_reset_work()
2066 self_id_count, ohci->self_id_buffer, in bus_reset_work()