Searched refs:pld_ctx (Results 1 – 2 of 2) sorted by relevance
83 static struct pld_context *pld_ctx; variable97 pld_ctx = pld_context; in pld_init()108 pld_context = pld_ctx; in pld_deinit()110 pld_ctx = NULL; in pld_deinit()125 pld_ctx = NULL; in pld_deinit()130 if (!pld_ctx) in pld_set_mode()133 pld_ctx->mode = mode; in pld_set_mode()139 return pld_ctx; in pld_get_global_context()
482 struct pld_context *pld_ctx = pld_get_global_context(); in pld_pcie_get_mode() local485 if (!pld_ctx) in pld_pcie_get_mode()488 switch (pld_ctx->mode) { in pld_pcie_get_mode()