Lines Matching defs:indexed
1417 /* Read a block of data from an indexed register pair */
1420 struct a6xx_indexed_registers *indexed,
1425 obj->handle = (const void *) indexed;
1426 if (indexed->count_fn)
1427 indexed->count = indexed->count_fn(gpu);
1429 obj->data = state_kcalloc(a6xx_state, indexed->count, sizeof(u32));
1433 /* All the indexed banks start at address 0 */
1434 gpu_write(gpu, indexed->addr, 0);
1437 for (i = 0; i < indexed->count; i++)
1438 obj->data[i] = gpu_read(gpu, indexed->data);
1558 /* Get the banks of indexed registers */
1859 const struct a6xx_indexed_registers *indexed = obj->handle;
1861 if (!indexed)
1864 print_name(p, " - regs-name: ", indexed->name);
1865 drm_printf(p, " dwords: %d\n", indexed->count);
1867 print_ascii85(p, indexed->count << 2, obj->data);
1994 drm_puts(p, "indexed-registers:\n");