Lines Matching refs:ate
18 * mark_ate: Mark the ate as either free or inuse.
23 u64 *ate = ate_resource->ate;
28 ate[index] = value;
32 * find_free_ate: Find the first free ate index starting from the given
38 u64 *ate = ate_resource->ate;
43 if (!ate[index]) {
47 start_free = index; /* Found start free ate */
49 if (!ate[i]) { /* This is free */
58 index++; /* Try next ate */
70 mark_ate(ate_resource, start, ate_resource->ate[start], 0);
85 * Check for ate exhaustion.
139 * Update the ate.
143 volatile u64 ate)
147 pcireg_int_ate_set(pcibus_info, ate_index, ate);
152 ate += IOPGSIZE;
161 volatile u64 ate;
167 ate = *pcibr_ate_addr(pcibus_info, index);
168 count = pcibus_info->pbi_int_ate_resource.ate[index];
169 ate_write(pcibus_info, index, count, (ate & ~PCI32_ATE_V));