Lines Matching refs:host_pd
58 cy_pd_pdcm_dep_t cy_pd_pdcm_get_dependency(cy_pd_pdcm_id_t host_pd,cy_pd_pdcm_id_t dest_pd) in cy_pd_pdcm_get_dependency() argument
62 CY_ASSERT(CY_SYSPM_IS_PDCM_ID_VALID(host_pd)); in cy_pd_pdcm_get_dependency()
65 …dep = (((_FLD2VAL(PWRMODE_PD_PD_SPT_PD_FORCE_ON, CY_PDCM_PD_SPT(host_pd)) >> ((uint32_t)dest_pd)) … in cy_pd_pdcm_get_dependency()
66 …(((_FLD2VAL(PWRMODE_PD_PD_SPT_PD_CONFIG_ON, CY_PDCM_PD_SPT(host_pd)) >> ((uint32_t)dest_pd)) & CY_… in cy_pd_pdcm_get_dependency()
75 rpcArgs.argv[0] = (uint32_t)host_pd; in cy_pd_pdcm_get_dependency()
100 cy_en_syspm_status_t cy_pd_pdcm_set_dependency(cy_pd_pdcm_id_t host_pd,cy_pd_pdcm_id_t dest_pd) in cy_pd_pdcm_set_dependency() argument
103 CY_ASSERT(CY_SYSPM_IS_PDCM_ID_VALID(host_pd)); in cy_pd_pdcm_set_dependency()
106 if(CY_PD_PDCM_DEP_CONFIG == cy_pd_pdcm_get_dependency(host_pd,dest_pd)) in cy_pd_pdcm_set_dependency()
108 CY_PDCM_PD_SENSE(host_pd) |= (CY_PD_PDCM_DEPENDENCY_MASK << ((uint32_t)dest_pd)); in cy_pd_pdcm_set_dependency()
114 rpcArgs.argv[0] = (uint32_t)host_pd; in cy_pd_pdcm_set_dependency()
139 cy_en_syspm_status_t cy_pd_pdcm_clear_dependency(cy_pd_pdcm_id_t host_pd,cy_pd_pdcm_id_t dest_pd) in cy_pd_pdcm_clear_dependency() argument
142 CY_ASSERT(CY_SYSPM_IS_PDCM_ID_VALID(host_pd)); in cy_pd_pdcm_clear_dependency()
145 if(CY_PD_PDCM_DEP_CONFIG == cy_pd_pdcm_get_dependency(host_pd,dest_pd)) in cy_pd_pdcm_clear_dependency()
147 CY_PDCM_PD_SENSE(host_pd) &= ~(CY_PD_PDCM_DEPENDENCY_MASK << ((uint32_t)dest_pd)); in cy_pd_pdcm_clear_dependency()
153 rpcArgs.argv[0] = (uint32_t)host_pd; in cy_pd_pdcm_clear_dependency()