Lines Matching refs:pd_info

312 	const struct rockchip_domain_info *pd_info = pd->info;  in rockchip_pmu_domain_is_idle()  local
316 return (val & pd_info->idle_mask) == pd_info->idle_mask; in rockchip_pmu_domain_is_idle()
329 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_ungate_clk() local
332 int clk_ungate_w_mask = pd_info->clk_ungate_mask << 16; in rockchip_pmu_ungate_clk()
334 if (!pd_info->clk_ungate_mask) in rockchip_pmu_ungate_clk()
340 val = ungate ? (pd_info->clk_ungate_mask | clk_ungate_w_mask) : in rockchip_pmu_ungate_clk()
350 const struct rockchip_domain_info *pd_info = pd->info; in rockchip_pmu_set_idle_request() local
353 u32 pd_req_offset = pd_info->req_offset; in rockchip_pmu_set_idle_request()
359 if (pd_info->req_mask == 0) in rockchip_pmu_set_idle_request()
361 else if (pd_info->req_w_mask) in rockchip_pmu_set_idle_request()
363 idle ? (pd_info->req_mask | pd_info->req_w_mask) : in rockchip_pmu_set_idle_request()
364 pd_info->req_w_mask); in rockchip_pmu_set_idle_request()
367 pd_info->req_mask, idle ? -1U : 0); in rockchip_pmu_set_idle_request()
372 target_ack = idle ? pd_info->ack_mask : 0; in rockchip_pmu_set_idle_request()
374 (val & pd_info->ack_mask) == target_ack, in rockchip_pmu_set_idle_request()
668 const struct rockchip_domain_info *pd_info; in rockchip_pm_add_one_domain() local
692 pd_info = &pmu->info->domain_info[id]; in rockchip_pm_add_one_domain()
693 if (!pd_info) { in rockchip_pm_add_one_domain()
703 pd->info = pd_info; in rockchip_pm_add_one_domain()
780 if (pd_info->active_wakeup) in rockchip_pm_add_one_domain()