Lines Matching refs:status
914 enum pm_ret_status status; in pm_clock_gate() local
918 status = pm_clock_id_is_valid(clock_id); in pm_clock_gate()
919 if (status != PM_RET_SUCCESS) in pm_clock_gate()
920 return status; in pm_clock_gate()
929 status = pm_ipi_send_sync(primary_proc, payload, NULL, 0); in pm_clock_gate()
932 if (status == PM_RET_ERROR_ACCESS) in pm_clock_gate()
933 status = PM_RET_SUCCESS; in pm_clock_gate()
935 return status; in pm_clock_gate()
999 enum pm_ret_status status; in pm_clock_getstate() local
1007 status = pm_clock_id_is_valid(clock_id); in pm_clock_getstate()
1008 if (status != PM_RET_SUCCESS) in pm_clock_getstate()
1009 return status; in pm_clock_getstate()
1029 enum pm_ret_status status; in pm_clock_setdivider() local
1038 status = pm_clock_get_pll_node_id(clock_id, &nid); in pm_clock_setdivider()
1039 if (status == PM_RET_SUCCESS) in pm_clock_setdivider()
1043 status = pm_clock_id_is_valid(clock_id); in pm_clock_setdivider()
1044 if (status != PM_RET_SUCCESS) in pm_clock_setdivider()
1045 return status; in pm_clock_setdivider()
1075 enum pm_ret_status status; in pm_clock_getdivider() local
1081 status = pm_clock_get_pll_node_id(clock_id, &nid); in pm_clock_getdivider()
1082 if (status == PM_RET_SUCCESS) in pm_clock_getdivider()
1086 status = pm_clock_id_is_valid(clock_id); in pm_clock_getdivider()
1087 if (status != PM_RET_SUCCESS) in pm_clock_getdivider()
1088 return status; in pm_clock_getdivider()
1094 status = pm_ipi_send_sync(primary_proc, payload, &val, 1); in pm_clock_getdivider()
1095 if (status != PM_RET_SUCCESS) in pm_clock_getdivider()
1096 return status; in pm_clock_getdivider()
1104 status = pm_ipi_send_sync(primary_proc, payload, &val, 1); in pm_clock_getdivider()
1105 if (status != PM_RET_SUCCESS) in pm_clock_getdivider()
1106 return status; in pm_clock_getdivider()
1110 return status; in pm_clock_getdivider()
1158 enum pm_ret_status status; in pm_clock_setparent() local
1166 status = pm_clock_id_is_valid(clock_id); in pm_clock_setparent()
1167 if (status != PM_RET_SUCCESS) in pm_clock_setparent()
1168 return status; in pm_clock_setparent()
1190 enum pm_ret_status status; in pm_clock_getparent() local
1198 status = pm_clock_id_is_valid(clock_id); in pm_clock_getparent()
1199 if (status != PM_RET_SUCCESS) in pm_clock_getparent()
1200 return status; in pm_clock_getparent()