Lines Matching refs:table_ptr
339 rsc = (void *)rproc->table_ptr + rvdev->rsc_offset;
422 * such and as per rproc_stop(), rproc->table_ptr points to the cached
430 if (rproc->table_ptr) {
431 rsc = (void *)rproc->table_ptr + rvring->rvdev->rsc_offset;
1027 if (!rproc->table_ptr)
1030 for (i = 0; i < rproc->table_ptr->num; i++) {
1031 int offset = rproc->table_ptr->offset[i];
1032 struct fw_rsc_hdr *hdr = (void *)rproc->table_ptr + offset;
1174 rsc = (void *)rproc->table_ptr + entry->rsc_offset;
1285 * this information to device memory. We also update the table_ptr so
1291 rproc->table_ptr = loaded_table;
1327 rproc->table_ptr = rproc->cached_table;
1444 rproc->table_ptr = NULL;
1455 struct resource_table *table_ptr;
1460 table_ptr = rproc_get_loaded_rsc_table(rproc, &table_sz);
1461 if (!table_ptr) {
1466 if (IS_ERR(table_ptr)) {
1467 ret = PTR_ERR(table_ptr);
1483 rproc->clean_table = kmemdup(table_ptr, table_sz, GFP_KERNEL);
1491 rproc->table_ptr = table_ptr;
1499 struct resource_table *table_ptr;
1502 if (!rproc->table_ptr)
1514 table_ptr = rproc->table_ptr;
1523 rproc->cached_table = kmemdup(rproc->table_ptr,
1532 rproc->table_ptr = rproc->cached_table;
1539 memcpy(table_ptr, rproc->clean_table, rproc->table_sz);
1553 if (!rproc->table_ptr)
1571 rproc->cached_table = kmemdup(rproc->table_ptr,
1587 rproc->table_ptr = rproc->cached_table;
1632 * we expect the platform driver to properly set rproc->table_ptr.
2027 rproc->table_ptr = NULL;
2093 rproc->table_ptr = NULL;