of_call_method
extern intptr_t of_call_method(uint32_t handle, const char *method,
int status = of_call_method(sMmuInstance, "map", 5, 0, (uint64)mode, size,
status = of_call_method(sMmuInstance, "claim", 3, 1, 0, size,
status = of_call_method(sMemoryInstance, "claim", 3, 1, physicalAddress,
if (of_call_method(fHandle, "dma-alloc", 1, 1, size, &dmaMemory)
if (of_call_method(parentInstance, "dma-alloc", 1, 1, size, &dmaMemory)
of_call_method(fHandle, "dma-free", 1, 0, buffer);
if (of_call_method(sHandle, "get-time", 0, 6, &year, &month, &day,
if (of_call_method(sScreen, "set-colors", 3, 0,
of_call_method(sScreen, "color!", 4, 0, index,
if (of_call_method(sScreen, "dimensions", 0, 2, &height, &width)
if (of_call_method(fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday,
if (of_call_method(fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon,
if (of_call_method((uint32_t)fRTC, "set-time", 6, 0, t.tm_year, t.tm_mon, t.tm_mday,
if (of_call_method((uint32_t)fRTC, "get-time", 0, 6, &t.tm_year, &t.tm_mon,