/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
abm.h | 1 /* $NetBSD: abm.h,v 1.2 2021/12/18 23:45:05 riastradh Exp $ */ 39 struct abm { struct 48 void (*abm_init)(struct abm *abm); 49 bool (*set_abm_level)(struct abm *abm, unsigned int abm_level); 50 bool (*set_abm_immediate_disable)(struct abm *abm); 51 bool (*set_pipe)(struct abm *abm, unsigned int controller_id) [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/ |
amdgpu_dce_abm.c | 42 #define TO_DCE_ABM(abm)\ 43 container_of(abm, struct dce_abm, base) 53 abm->ctx->logger 63 static bool dce_abm_set_pipe(struct abm *abm, uint32_t controller_id) 65 struct dce_abm *abm_dce = TO_DCE_ABM(abm); 68 if (abm->dmcu_is_running == false) 256 static void dce_abm_init(struct abm *abm) 258 struct dce_abm *abm_dce = TO_DCE_ABM(abm); [all...] |
dce_abm.h | 32 #include "abm.h" 60 SRI(DC_ABM1_HG_SAMPLE_RATE, ABM, id), \ 61 SRI(DC_ABM1_LS_SAMPLE_RATE, ABM, id), \ 62 SRI(BL1_PWM_BL_UPDATE_SAMPLE_RATE, ABM, id), \ 63 SRI(DC_ABM1_HG_MISC_CTRL, ABM, id), \ 64 SRI(DC_ABM1_IPCSC_COEFF_SEL, ABM, id), \ 65 SRI(BL1_PWM_CURRENT_ABM_LEVEL, ABM, id), \ 66 SRI(BL1_PWM_TARGET_ABM_LEVEL, ABM, id), \ 67 SRI(BL1_PWM_USER_LEVEL, ABM, id), \ 68 SRI(DC_ABM1_LS_MIN_MAX_PIXEL_VALUE_THRES, ABM, id), [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/ |
core_types.h | 215 struct abm *abm; member in struct:resource_pool 240 struct abm *abm; member in struct:stream_resource
|
/src/usr.sbin/sysinst/arch/mac68k/ |
md.h | 127 } abm; /* altblk map */ member in struct:__anon66f6aa490308 128 u_int32_t filler[7]; /* reserved for abm expansion */
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
amdgpu_dc_link.c | 48 #include "abm.h" 2326 struct abm *abm = link->ctx->dc->res_pool->abm; local in function:dc_link_get_backlight_level 2328 if (abm == NULL || abm->funcs->get_current_backlight == NULL) 2331 return (int) abm->funcs->get_current_backlight(abm); 2339 struct abm *abm = dc->res_pool->abm local in function:dc_link_set_backlight_level 2392 struct abm *abm = dc->res_pool->abm; local in function:dc_link_set_abm_disable [all...] |
amdgpu_dc.c | 54 #include "abm.h" 2130 if (stream_update->abm_level && pipe_ctx->stream_res.abm) { 2140 pipe_ctx->stream_res.abm->funcs->set_abm_immediate_disable(pipe_ctx->stream_res.abm); 2142 pipe_ctx->stream_res.abm->funcs->set_abm_level( 2143 pipe_ctx->stream_res.abm, stream->abm_level); 2529 struct abm *abm = dc->res_pool->abm; local in function:dc_get_current_backlight_pwm 2531 if (abm) 2539 struct abm *abm = dc->res_pool->abm; local in function:dc_get_target_backlight_pwm [all...] |
amdgpu_dc_resource.c | 1320 free_pipe->stream_res.abm = tail_pipe->stream_res.abm; 2035 /* Add ABM to the resource if on EDP */ 2037 pipe_ctx->stream_res.abm = pool->abm;
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
cypress_dpm.h | 69 bool abm; member in struct:evergreen_power_info
|
radeon_cypress_dpm.c | 2122 eg_pi->abm = true;
|
radeon_btc_dpm.c | 2681 eg_pi->abm = true;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce80/ |
amdgpu_dce80_resource.c | 830 if (pool->base.abm != NULL) 831 dce_abm_destroy(&pool->base.abm); 1004 pool->base.abm = dce_abm_create(ctx, 1008 if (pool->base.abm == NULL) { 1009 dm_error("DC: failed to create abm!\n"); 1201 pool->base.abm = dce_abm_create(ctx, 1205 if (pool->base.abm == NULL) { 1206 dm_error("DC: failed to create abm!\n"); 1394 pool->base.abm = dce_abm_create(ctx, 1398 if (pool->base.abm == NULL) [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
amdgpu_dcn10_resource.c | 1005 if (pool->base.abm != NULL) 1006 dce_abm_destroy(&pool->base.abm); 1151 idle_pipe->stream_res.abm = head_pipe->stream_res.abm; 1418 pool->base.abm = dce_abm_create(ctx, 1422 if (pool->base.abm == NULL) { 1423 dm_error("DC: failed to create abm!\n");
|
amdgpu_dcn10_hw_sequencer.c | 40 #include "abm.h" 819 /* TODO: OPP FMT, ABM. etc. should be done here. */ 1242 struct abm *abm = dc->res_pool->abm; local in function:dcn10_init_hw 1341 if (abm != NULL) { 1342 abm->funcs->init_backlight(abm); 1343 abm->funcs->abm_init(abm); [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
amdgpu_dce110_hw_sequencer.c | 58 #include "abm.h" 2364 struct abm *abm; local in function:init_hw 2413 abm = dc->res_pool->abm; 2414 if (abm != NULL) { 2415 abm->funcs->init_backlight(abm); 2416 abm->funcs->abm_init(abm); [all...] |
amdgpu_dce110_resource.c | 848 if (pool->base.abm != NULL) 849 dce_abm_destroy(&pool->base.abm); 1396 pool->base.abm = dce_abm_create(ctx, 1400 if (pool->base.abm == NULL) { 1401 dm_error("DC: failed to create abm!\n");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/ |
amdgpu_dce100_resource.c | 789 if (pool->base.abm != NULL) 790 dce_abm_destroy(&pool->base.abm); 1022 pool->base.abm = dce_abm_create(ctx, 1026 if (pool->base.abm == NULL) { 1027 dm_error("DC: failed to create abm!\n");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/ |
amdgpu_dce120_resource.c | 656 if (pool->base.abm != NULL) 657 dce_abm_destroy(&pool->base.abm); 1116 pool->base.abm = dce_abm_create(ctx, 1120 if (pool->base.abm == NULL) { 1121 dm_error("DC: failed to create abm!\n");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
amdgpu_dcn20_hwseq.c | 42 #include "abm.h" 964 if (stream_res->abm) 965 stream_res->abm->funcs->set_abm_immediate_disable(stream_res->abm); 997 if (stream_res->abm) { 998 stream_res->abm->funcs->set_pipe(stream_res->abm, stream_res->tg->inst + 1); 999 stream_res->abm->funcs->set_abm_level(stream_res->abm, stream->abm_level);
|
amdgpu_dcn20_resource.c | 1409 if (pool->base.abm != NULL) 1410 dce_abm_destroy(&pool->base.abm); 3605 pool->base.abm = dce_abm_create(ctx, 3609 if (pool->base.abm == NULL) { 3610 dm_error("DC: failed to create abm!\n");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce112/ |
amdgpu_dce112_resource.c | 809 if (pool->base.abm != NULL) 810 dce_abm_destroy(&pool->base.abm); 1277 pool->base.abm = dce_abm_create(ctx, 1281 if (pool->base.abm == NULL) { 1282 dm_error("DC: failed to create abm!\n");
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn21/ |
amdgpu_dcn21_resource.c | 964 if (pool->base.abm != NULL) 965 dce_abm_destroy(&pool->base.abm); 1770 pool->base.abm = dce_abm_create(ctx, 1774 if (pool->base.abm == NULL) { 1775 dm_error("DC: failed to create abm!\n");
|
/src/sys/netinet/ |
sctp_output.c | 8954 struct sctp_abort_msg *abm; local in function:sctp_send_abort 8974 mout->m_len = sizeof(*iph_out) + sizeof(*abm); 8991 abm = (struct sctp_abort_msg *)((vaddr_t)iph_out + iphlen_out); 8995 mout->m_len = sizeof(*ip6_out) + sizeof(*abm); 9006 abm = (struct sctp_abort_msg *)((vaddr_t)ip6_out + iphlen_out); 9012 abm->sh.src_port = sh->dest_port; 9013 abm->sh.dest_port = sh->src_port; 9014 abm->sh.checksum = 0; 9016 abm->sh.v_tag = sh->v_tag; 9017 abm->msg.ch.chunk_flags = SCTP_HAD_NO_TCB [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
si_dpm.h | 653 bool abm; member in struct:evergreen_power_info
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/ |
amdgpu_dm.c | 40 #include "dc/inc/hw/abm.h" 770 struct abm *abm = adev->dm.dc->res_pool->abm; local in function:dm_dmub_hw_init 858 /* Init DMCU and ABM if available. */ 859 if (dmcu && abm) { 861 abm->dmcu_is_running = dmcu->funcs->is_dmcu_initialized(dmcu); 1390 /* Min backlight level after ABM reduction, Don't allow below 1% 7531 /* ABM settings */
|