Lines Matching refs:inst
432 OfInstance *inst = NULL; in vof_do_open() local
439 inst = g_new0(OfInstance, 1); in vof_do_open()
440 inst->phandle = fdt_get_phandle(fdt, offset); in vof_do_open()
441 g_assert(inst->phandle); in vof_do_open()
444 inst->path = g_strdup(path); in vof_do_open()
447 inst); in vof_do_open()
451 trace_vof_open(path, inst ? inst->phandle : 0, ret); in vof_do_open()
460 uint32_t inst; in vof_client_open_store() local
468 inst = vof_do_open(fdt, vof, offset, path); in vof_client_open_store()
470 return fdt_setprop_cell(fdt, node, prop, inst) >= 0 ? 0 : PROM_ERROR; in vof_client_open_store()
555 OfInstance *inst = (OfInstance *) in vof_write() local
558 if (!inst) { in vof_write()
776 OfInstance *inst; in vof_call_method() local
782 inst = (OfInstance *)g_hash_table_lookup(vof->of_instances, in vof_call_method()
784 if (!inst) { in vof_call_method()
792 if (strcmp(inst->path, "/") == 0) { in vof_call_method()
806 } else if (strcmp(inst->path, "/rtas") == 0) { in vof_call_method()
996 OfInstance *inst = (OfInstance *)data; in vof_instance_free() local
998 g_free(inst->path); in vof_instance_free()
999 g_free(inst); in vof_instance_free()