Lines Matching refs:hgp
521 cvmx_app_hotplug_global_t *hgp;
557 hgp = (cvmx_app_hotplug_global_t *)(vaddr + ( block_desc->base_addr & (pg_sz-1)));
560 hgp = CASTPTR(void, CVMX_ADD_SEG(CVMX_MIPS_SPACE_XKPHYS, block_desc->base_addr));
562 hotplug_global_ptr = hgp;
563 return hgp;
578 cvmx_app_hotplug_global_t *hgp;
585 hgp = cvmx_app_get_hotplug_global_ptr();
586 if (!hgp) return NULL;
587 hip = hgp->hotplug_info_array;
613 cvmx_app_hotplug_global_t *hgp;
620 hgp = cvmx_app_get_hotplug_global_ptr();
621 if (!hgp) return -1;
622 hip = hgp->hotplug_info_array;
654 cvmx_app_hotplug_global_t *hgp;
656 hgp = cvmx_app_get_hotplug_global_ptr();
657 if (!hgp) return NULL;
658 hip = hgp->hotplug_info_array;
662 block_desc->base_addr, hgp);
838 cvmx_app_hotplug_global_t *hgp;
840 hgp = cvmx_app_get_hotplug_global_ptr();
841 cvmx_spinlock_lock(&hgp->hotplug_global_lock);
842 if (hgp->app_under_boot || hgp->app_under_shutdown) ret=1;
843 cvmx_spinlock_unlock(&hgp->hotplug_global_lock);
860 cvmx_app_hotplug_global_t *hgp;
862 hgp = cvmx_app_get_hotplug_global_ptr();
863 cvmx_spinlock_lock(&hgp->hotplug_global_lock);
864 hgp->app_under_boot = val;
865 cvmx_spinlock_unlock(&hgp->hotplug_global_lock);
879 cvmx_app_hotplug_global_t *hgp;
881 hgp = cvmx_app_get_hotplug_global_ptr();
882 cvmx_spinlock_lock(&hgp->hotplug_global_lock);
883 hgp->app_under_shutdown = val;
884 cvmx_spinlock_unlock(&hgp->hotplug_global_lock);