/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn20/ |
D | dcn20_mpc.c | 408 enum dc_lut_mode next_mode) in apply_DEDCN20_305_wa() argument 427 next_mode == LUT_RAM_A ? 1:2); in apply_DEDCN20_305_wa() 436 enum dc_lut_mode next_mode; in mpc2_set_output_gamma() local 451 next_mode = LUT_RAM_B; in mpc2_set_output_gamma() 453 next_mode = LUT_RAM_A; in mpc2_set_output_gamma() 456 mpc20_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc2_set_output_gamma() 458 if (next_mode == LUT_RAM_A) in mpc2_set_output_gamma() 463 apply_DEDCN20_305_wa(mpc, mpcc_id, current_mode, next_mode); in mpc2_set_output_gamma() 469 next_mode == LUT_RAM_A ? 1:2); in mpc2_set_output_gamma()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn30/ |
D | dcn30_dpp_cm.c | 219 enum dc_lut_mode next_mode; in dpp3_program_gamcor_lut() local 236 next_mode = LUT_RAM_B; in dpp3_program_gamcor_lut() 238 next_mode = LUT_RAM_A; in dpp3_program_gamcor_lut() 241 dpp3_configure_gamcor_lut(dpp_base, next_mode == LUT_RAM_A); in dpp3_program_gamcor_lut() 243 if (next_mode == LUT_RAM_B) { in dpp3_program_gamcor_lut() 296 next_mode == LUT_RAM_A); in dpp3_program_gamcor_lut() 299 REG_UPDATE(CM_GAMCOR_CONTROL, CM_GAMCOR_SELECT, next_mode == LUT_RAM_A ? 0:1); in dpp3_program_gamcor_lut()
|
D | dcn30_dpp.c | 787 enum dc_lut_mode next_mode; in dpp3_program_blnd_lut() local 799 next_mode = LUT_RAM_A; in dpp3_program_blnd_lut() 801 next_mode = LUT_RAM_B; in dpp3_program_blnd_lut() 804 dpp3_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A); in dpp3_program_blnd_lut() 806 if (next_mode == LUT_RAM_A) in dpp3_program_blnd_lut() 816 CM_BLNDGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dpp3_program_blnd_lut() 1200 enum dc_lut_mode next_mode; in dpp3_program_shaper() local 1217 next_mode = LUT_RAM_B; in dpp3_program_shaper() 1219 next_mode = LUT_RAM_A; in dpp3_program_shaper() 1221 dpp3_configure_shaper_lut(dpp_base, next_mode == LUT_RAM_A); in dpp3_program_shaper() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dwb/dcn30/ |
D | dcn30_dwb_cm.c | 239 enum dc_lut_mode next_mode; in dwb3_program_ogam_lut() local 253 next_mode = LUT_RAM_B; in dwb3_program_ogam_lut() 255 next_mode = LUT_RAM_A; in dwb3_program_ogam_lut() 257 dwb3_configure_ogam_lut(dwbc30, next_mode == LUT_RAM_A); in dwb3_program_ogam_lut() 259 if (next_mode == LUT_RAM_A) in dwb3_program_ogam_lut() 267 REG_UPDATE(DWB_OGAM_CONTROL, DWB_OGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dwb3_program_ogam_lut()
|
/linux-6.12.1/drivers/gpu/drm/rockchip/ |
D | rk3066_hdmi.c | 112 u8 current_mode, next_mode; in rk3066_hdmi_set_power_mode() local 125 next_mode = current_mode / 2; in rk3066_hdmi_set_power_mode() 128 next_mode = HDMI_SYS_POWER_MODE_A; in rk3066_hdmi_set_power_mode() 130 next_mode = current_mode * 2; in rk3066_hdmi_set_power_mode() 133 DRM_DEV_DEBUG(hdmi->dev, "%d: next_mode :%d\n", i, next_mode); in rk3066_hdmi_set_power_mode() 135 if (next_mode != HDMI_SYS_POWER_MODE_D) { in rk3066_hdmi_set_power_mode() 137 HDMI_SYS_POWER_MODE_MASK, next_mode); in rk3066_hdmi_set_power_mode() 150 current_mode = next_mode; in rk3066_hdmi_set_power_mode() 152 } while ((next_mode != mode) && (i < 5)); in rk3066_hdmi_set_power_mode()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn20/ |
D | dcn20_dpp_cm.c | 526 enum dc_lut_mode next_mode; in dpp20_program_blnd_lut() local 535 next_mode = LUT_RAM_B; in dpp20_program_blnd_lut() 537 next_mode = LUT_RAM_A; in dpp20_program_blnd_lut() 540 dpp20_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A); in dpp20_program_blnd_lut() 542 if (next_mode == LUT_RAM_A) in dpp20_program_blnd_lut() 551 next_mode == LUT_RAM_A ? 1:2); in dpp20_program_blnd_lut() 936 enum dc_lut_mode next_mode; in dpp20_program_shaper() local 947 next_mode = LUT_RAM_B; in dpp20_program_shaper() 949 next_mode = LUT_RAM_A; in dpp20_program_shaper() 951 dpp20_configure_shaper_lut(dpp_base, next_mode == LUT_RAM_A); in dpp20_program_shaper() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn32/ |
D | dcn32_mpc.c | 268 enum dc_lut_mode next_mode; in mpc32_program_post1dlut() local 280 next_mode = LUT_RAM_A; in mpc32_program_post1dlut() 282 next_mode = LUT_RAM_B; in mpc32_program_post1dlut() 285 mpc32_configure_post1dlut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc32_program_post1dlut() 287 if (next_mode == LUT_RAM_A) in mpc32_program_post1dlut() 297 MPCC_MCM_1DLUT_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in mpc32_program_post1dlut() 715 enum dc_lut_mode next_mode; in mpc32_program_shaper() local 730 next_mode = LUT_RAM_B; in mpc32_program_shaper() 732 next_mode = LUT_RAM_A; in mpc32_program_shaper() 734 mpc32_configure_shaper_lut(mpc, next_mode == LUT_RAM_A, mpcc_id); in mpc32_program_shaper() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn401/ |
D | dcn401_mpc.c | 123 const enum dc_lut_mode next_mode = lut_bank_a ? LUT_RAM_A : LUT_RAM_B; in mpc401_populate_lut() 142 mpc32_configure_post1dlut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc401_populate_lut() 144 if (next_mode == LUT_RAM_A) in mpc401_populate_lut() 159 mpc32_configure_shaper_lut(mpc, next_mode == LUT_RAM_A, mpcc_id); in mpc401_populate_lut() 161 if (next_mode == LUT_RAM_A) in mpc401_populate_lut() 201 mpc32_select_3dlut_ram(mpc, next_mode, in mpc401_populate_lut()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn30/ |
D | dcn30_mpc.c | 330 enum dc_lut_mode next_mode; in mpc3_set_output_gamma() local 347 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 349 next_mode = LUT_RAM_B; in mpc3_set_output_gamma() 351 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 354 mpc3_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc3_set_output_gamma() 356 if (next_mode == LUT_RAM_A) in mpc3_set_output_gamma() 366 MPCC_OGAM_SELECT, next_mode == LUT_RAM_A ? 0:1); in mpc3_set_output_gamma() 852 enum dc_lut_mode next_mode; in mpc3_program_shaper() local 867 next_mode = LUT_RAM_B; in mpc3_program_shaper() 869 next_mode = LUT_RAM_A; in mpc3_program_shaper() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 601 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_connect() 1229 if (vif->next_mode == AP_NETWORK && key_type == WEP_CRYPT && in ath6kl_cfg80211_add_key() 1355 if (vif->next_mode == AP_NETWORK && !test_bit(CONNECTED, &vif->flags)) in ath6kl_cfg80211_set_default_key() 1600 vif->next_mode = INFRA_NETWORK; in ath6kl_cfg80211_change_iface() 1603 vif->next_mode = ADHOC_NETWORK; in ath6kl_cfg80211_change_iface() 1607 vif->next_mode = AP_NETWORK; in ath6kl_cfg80211_change_iface() 1665 vif->nw_type = vif->next_mode; in ath6kl_cfg80211_join_ibss() 2780 if (vif->next_mode != AP_NETWORK) in ath6kl_start_ap() 2889 vif->nw_type = vif->next_mode; in ath6kl_start_ap() 2964 if (vif->next_mode != AP_NETWORK) in ath6kl_change_beacon() [all …]
|
D | core.h | 617 u8 next_mode; member
|