Lines Matching refs:index
24 int index; in mark_ate() local
27 for (index = start; length < number; index++, length++) in mark_ate()
28 ate[index] = value; in mark_ate()
39 int index; in find_free_ate() local
42 for (index = start; index < ate_resource->num_ate;) { in find_free_ate()
43 if (!ate[index]) { in find_free_ate()
47 start_free = index; /* Found start free ate */ in find_free_ate()
53 index = i + 1; in find_free_ate()
60 index++; /* Try next ate */ in find_free_ate()
160 void pcibr_ate_free(struct pcibus_info *pcibus_info, int index) in pcibr_ate_free() argument
169 ate = *pcibr_ate_addr(pcibus_info, index); in pcibr_ate_free()
170 count = pcibus_info->pbi_int_ate_resource.ate[index]; in pcibr_ate_free()
171 ate_write(pcibus_info, index, count, (ate & ~PCI32_ATE_V)); in pcibr_ate_free()
175 free_ate_resource(&pcibus_info->pbi_int_ate_resource, index); in pcibr_ate_free()