Searched refs:psr_state (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.c | 37 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 …]
|
D | dce_dmcu.c | 102 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 …]
|
D | dmub_psr.h | 40 void (*psr_get_state)(struct dmub_psr *dmub, uint32_t *psr_state);
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | dmcu.h | 69 void (*get_psr_state)(struct dmcu *dmcu, uint32_t *psr_state);
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_link.h | 224 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/ |
D | power_helpers.c | 148 uint8_t psr_state; /* 0xf0 */ member 194 uint8_t psr_state; /* 0xf0 */ member
|
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 2212 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/ |
D | dc_link.c | 2578 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()
|