static void nvdimm_dsm_root(NvdimmDsmIn *in, hwaddr dsm_mem_addr)

{

    /*

     * function 0 is called to inquire which functions are supported by

     * OSPM

     */

    if (!in->function) {

        nvdimm_dsm_function0(0 /* No function supported other than

                                  function 0 */, dsm_mem_addr);

        return;

    }



    /* No function except function 0 is supported yet. */

    nvdimm_dsm_no_payload(1 /* Not Supported */, dsm_mem_addr);

}

static void nvdimm_dsm_root(NvdimmDsmIn *in, hwaddr dsm_mem_addr)

{

    







    if (!in->function) {

        nvdimm_dsm_function0(0 

, dsm_mem_addr);

        return;

    }



    

    nvdimm_dsm_no_payload(1 , dsm_mem_addr);

}

static void FUNC_0(NvdimmDsmIn *VAR_0, hwaddr VAR_1)

{

    







    if (!VAR_0->function) {

        nvdimm_dsm_function0(0 

, VAR_1);

        return;

    }



    

    nvdimm_dsm_no_payload(1 , VAR_1);

}

static void FUNC_0(NvdimmDsmIn *VAR_0, hwaddr VAR_1)
{ if (!VAR_0->function) { nvdimm_dsm_function0(0
, VAR_1); return; } nvdimm_dsm_no_payload(1 , VAR_1); }