Lines Matching refs:ept_index
651 int ept_index; in match_bound_msg() local
659 ept_index = find_ept_by_name(dev_data, buffer); in match_bound_msg()
660 if (ept_index < 0) { in match_bound_msg()
665 ept = &dev_data->ept[ept_index]; in match_bound_msg()
667 dev_data->ept_map[ept->addr] = ept_index; in match_bound_msg()
1089 int ept_index; in register_ept() local
1093 for (ept_index = 0; ept_index < NUM_EPT; ept_index++) { in register_ept()
1094 ept = &dev_data->ept[ept_index]; in register_ept()
1111 ept_index = atomic_inc(&dev_data->flags) & FLAG_EPT_COUNT_MASK; in register_ept()
1112 if (ept_index >= NUM_EPT) { in register_ept()
1119 ept = &dev_data->ept[ept_index]; in register_ept()
1122 ept->addr = ept_index; in register_ept()