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()
1784 int self_id_count) in get_self_id_pos() argument
1789 for (i = 0; i < self_id_count; i++) { in get_self_id_pos()
1829 static int find_and_insert_self_id(struct fw_ohci *ohci, int self_id_count) in find_and_insert_self_id() argument
1862 pos = get_self_id_pos(ohci, self_id, self_id_count); in find_and_insert_self_id()
1866 (self_id_count - pos) * sizeof(*ohci->self_id_buffer)); in find_and_insert_self_id()
1868 self_id_count++; in find_and_insert_self_id()
1870 return self_id_count; in find_and_insert_self_id()
1877 int self_id_count, generation, new_generation, i, j; in bus_reset_work() local
1913 self_id_count = (reg >> 3) & 0xff; in bus_reset_work()
1915 if (self_id_count > 252) { in bus_reset_work()
1923 for (i = 1, j = 0; j < self_id_count; i += 2, j++) { in bus_reset_work()
1937 self_id_count = j; in bus_reset_work()
1942 j, self_id_count, id, id2); in bus_reset_work()
1949 self_id_count = find_and_insert_self_id(ohci, self_id_count); in bus_reset_work()
1950 if (self_id_count < 0) { in bus_reset_work()
1957 if (self_id_count == 0) { in bus_reset_work()
2050 log_selfids(ohci, generation, self_id_count); in bus_reset_work()
2053 self_id_count, ohci->self_id_buffer, in bus_reset_work()