Home
last modified time | relevance | path

Searched refs:psr_state (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_psr.c37 static void convert_psr_state(uint32_t *psr_state) in convert_psr_state() argument
39 if (*psr_state == 0) in convert_psr_state()
40 *psr_state = 0; in convert_psr_state()
41 else if (*psr_state == 0x10) in convert_psr_state()
42 *psr_state = 1; in convert_psr_state()
43 else if (*psr_state == 0x11) in convert_psr_state()
44 *psr_state = 2; in convert_psr_state()
45 else if (*psr_state == 0x20) in convert_psr_state()
46 *psr_state = 3; in convert_psr_state()
47 else if (*psr_state == 0x21) in convert_psr_state()
[all …]
Ddce_dmcu.c102 static void dce_get_dmcu_psr_state(struct dmcu *dmcu, uint32_t *psr_state) in dce_get_dmcu_psr_state() argument
117 *psr_state = REG_READ(DMCU_IRAM_RD_DATA); in dce_get_dmcu_psr_state()
132 uint32_t psr_state = 0; in dce_dmcu_set_psr_enable() local
151 dce_get_dmcu_psr_state(dmcu, &psr_state); in dce_dmcu_set_psr_enable()
153 if (psr_state != 0) in dce_dmcu_set_psr_enable()
156 if (psr_state == 0) in dce_dmcu_set_psr_enable()
516 static void dcn10_get_dmcu_psr_state(struct dmcu *dmcu, uint32_t *psr_state) in dcn10_get_dmcu_psr_state() argument
535 *psr_state = REG_READ(DMCU_IRAM_RD_DATA); in dcn10_get_dmcu_psr_state()
550 uint32_t psr_state = 0; in dcn10_dmcu_set_psr_enable() local
578 dcn10_get_dmcu_psr_state(dmcu, &psr_state); in dcn10_dmcu_set_psr_enable()
[all …]
Ddmub_psr.h40 void (*psr_get_state)(struct dmub_psr *dmub, uint32_t *psr_state);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Ddmcu.h69 void (*get_psr_state)(struct dmcu *dmcu, uint32_t *psr_state);
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/
Ddc_link.h224 bool dc_link_get_psr_state(const struct dc_link *dc_link, uint32_t *psr_state);
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/power/
Dpower_helpers.c148 uint8_t psr_state; /* 0xf0 */ member
194 uint8_t psr_state; /* 0xf0 */ member
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c2212 uint32_t psr_state = 0; in psr_get() local
2214 dc_link_get_psr_state(link, &psr_state); in psr_get()
2216 *val = psr_state; in psr_get()
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c2578 bool dc_link_get_psr_state(const struct dc_link *link, uint32_t *psr_state) in dc_link_get_psr_state() argument
2585 psr->funcs->psr_get_state(psr, psr_state); in dc_link_get_psr_state()
2587 dmcu->funcs->get_psr_state(dmcu, psr_state); in dc_link_get_psr_state()