/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_mpc.c | 407 enum dc_lut_mode next_mode) in apply_DEDCN20_305_wa() 426 next_mode == LUT_RAM_A ? 1:2); in apply_DEDCN20_305_wa() 435 enum dc_lut_mode next_mode; in mpc2_set_output_gamma() local 450 next_mode = LUT_RAM_B; in mpc2_set_output_gamma() 452 next_mode = LUT_RAM_A; in mpc2_set_output_gamma() 455 mpc20_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc2_set_output_gamma() 457 if (next_mode == LUT_RAM_A) in mpc2_set_output_gamma() 462 apply_DEDCN20_305_wa(mpc, mpcc_id, current_mode, next_mode); in mpc2_set_output_gamma() 468 next_mode == LUT_RAM_A ? 1:2); in mpc2_set_output_gamma() 404 apply_DEDCN20_305_wa( struct mpc *mpc, int mpcc_id, enum dc_lut_mode current_mode, enum dc_lut_mode next_mode) apply_DEDCN20_305_wa() argument
|
H A D | dcn20_dpp_cm.c | 471 enum dc_lut_mode next_mode; in dpp20_program_blnd_lut() local 480 next_mode = LUT_RAM_B; in dpp20_program_blnd_lut() 482 next_mode = LUT_RAM_A; in dpp20_program_blnd_lut() 485 dpp20_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A ? true:false); in dpp20_program_blnd_lut() 487 if (next_mode == LUT_RAM_A) in dpp20_program_blnd_lut() 496 next_mode == LUT_RAM_A ? 1:2); in dpp20_program_blnd_lut() 881 enum dc_lut_mode next_mode; in dpp20_program_shaper() local 892 next_mode = LUT_RAM_B; in dpp20_program_shaper() 894 next_mode = LUT_RAM_A; in dpp20_program_shaper() 896 dpp20_configure_shaper_lut(dpp_base, next_mode in dpp20_program_shaper() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_mpc.c | 405 enum dc_lut_mode next_mode) in apply_DEDCN20_305_wa() 424 next_mode == LUT_RAM_A ? 1:2); in apply_DEDCN20_305_wa() 433 enum dc_lut_mode next_mode; in mpc2_set_output_gamma() local 448 next_mode = LUT_RAM_B; in mpc2_set_output_gamma() 450 next_mode = LUT_RAM_A; in mpc2_set_output_gamma() 453 mpc20_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc2_set_output_gamma() 455 if (next_mode == LUT_RAM_A) in mpc2_set_output_gamma() 460 apply_DEDCN20_305_wa(mpc, mpcc_id, current_mode, next_mode); in mpc2_set_output_gamma() 466 next_mode == LUT_RAM_A ? 1:2); in mpc2_set_output_gamma() 403 apply_DEDCN20_305_wa(struct mpc *mpc, int mpcc_id, enum dc_lut_mode current_mode, enum dc_lut_mode next_mode) apply_DEDCN20_305_wa() argument
|
H A D | dcn20_dpp_cm.c | 471 enum dc_lut_mode next_mode; in dpp20_program_blnd_lut() local 480 next_mode = LUT_RAM_B; in dpp20_program_blnd_lut() 482 next_mode = LUT_RAM_A; in dpp20_program_blnd_lut() 485 dpp20_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A); in dpp20_program_blnd_lut() 487 if (next_mode == LUT_RAM_A) in dpp20_program_blnd_lut() 496 next_mode == LUT_RAM_A ? 1:2); in dpp20_program_blnd_lut() 881 enum dc_lut_mode next_mode; in dpp20_program_shaper() local 892 next_mode = LUT_RAM_B; in dpp20_program_shaper() 894 next_mode = LUT_RAM_A; in dpp20_program_shaper() 896 dpp20_configure_shaper_lut(dpp_base, next_mode in dpp20_program_shaper() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dpp_cm.c | 224 enum dc_lut_mode next_mode; in dpp3_program_gamcor_lut() local 239 next_mode = LUT_RAM_B; in dpp3_program_gamcor_lut() 241 next_mode = LUT_RAM_A; in dpp3_program_gamcor_lut() 244 dpp3_configure_gamcor_lut(dpp_base, next_mode == LUT_RAM_A ? true:false); in dpp3_program_gamcor_lut() 246 if (next_mode == LUT_RAM_B) { in dpp3_program_gamcor_lut() 299 next_mode == LUT_RAM_A ? true:false); in dpp3_program_gamcor_lut() 302 REG_UPDATE(CM_GAMCOR_CONTROL, CM_GAMCOR_SELECT, next_mode == LUT_RAM_A ? 0:1); in dpp3_program_gamcor_lut()
|
H A D | dcn30_dwb_cm.c | 239 enum dc_lut_mode next_mode; in dwb3_program_ogam_lut() local 250 next_mode = LUT_RAM_B; in dwb3_program_ogam_lut() 252 next_mode = LUT_RAM_A; in dwb3_program_ogam_lut() 254 dwb3_configure_ogam_lut(dwbc30, next_mode == LUT_RAM_A ? true : false); in dwb3_program_ogam_lut() 256 if (next_mode == LUT_RAM_A) in dwb3_program_ogam_lut() 264 REG_UPDATE(DWB_OGAM_CONTROL, DWB_OGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dwb3_program_ogam_lut()
|
H A D | dcn30_dpp.c | 676 enum dc_lut_mode next_mode; in dpp3_program_blnd_lut() local 686 next_mode = LUT_RAM_A; in dpp3_program_blnd_lut() 688 next_mode = LUT_RAM_B; in dpp3_program_blnd_lut() 691 dpp3_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A ? true:false); in dpp3_program_blnd_lut() 693 if (next_mode == LUT_RAM_A) in dpp3_program_blnd_lut() 703 CM_BLNDGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dpp3_program_blnd_lut() 1088 enum dc_lut_mode next_mode; in dpp3_program_shaper() local 1099 next_mode = LUT_RAM_B; in dpp3_program_shaper() 1101 next_mode = LUT_RAM_A; in dpp3_program_shaper() 1103 dpp3_configure_shaper_lut(dpp_base, next_mode in dpp3_program_shaper() [all...] |
H A D | dcn30_mpc.c | 326 enum dc_lut_mode next_mode; in mpc3_set_output_gamma() local 343 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 345 next_mode = LUT_RAM_B; in mpc3_set_output_gamma() 347 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 350 mpc3_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A ? true:false); in mpc3_set_output_gamma() 352 if (next_mode == LUT_RAM_A) in mpc3_set_output_gamma() 362 MPCC_OGAM_SELECT, next_mode == LUT_RAM_A ? 0:1); in mpc3_set_output_gamma() 833 enum dc_lut_mode next_mode; in mpc3_program_shaper() local 844 next_mode = LUT_RAM_B; in mpc3_program_shaper() 846 next_mode in mpc3_program_shaper() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dpp_cm.c | 222 enum dc_lut_mode next_mode; in dpp3_program_gamcor_lut() local 239 next_mode = LUT_RAM_B; in dpp3_program_gamcor_lut() 241 next_mode = LUT_RAM_A; in dpp3_program_gamcor_lut() 244 dpp3_configure_gamcor_lut(dpp_base, next_mode == LUT_RAM_A); in dpp3_program_gamcor_lut() 246 if (next_mode == LUT_RAM_B) { in dpp3_program_gamcor_lut() 299 next_mode == LUT_RAM_A); in dpp3_program_gamcor_lut() 302 REG_UPDATE(CM_GAMCOR_CONTROL, CM_GAMCOR_SELECT, next_mode == LUT_RAM_A ? 0:1); in dpp3_program_gamcor_lut()
|
H A D | dcn30_dwb_cm.c | 239 enum dc_lut_mode next_mode; in dwb3_program_ogam_lut() local 250 next_mode = LUT_RAM_B; in dwb3_program_ogam_lut() 252 next_mode = LUT_RAM_A; in dwb3_program_ogam_lut() 254 dwb3_configure_ogam_lut(dwbc30, next_mode == LUT_RAM_A); in dwb3_program_ogam_lut() 256 if (next_mode == LUT_RAM_A) in dwb3_program_ogam_lut() 264 REG_UPDATE(DWB_OGAM_CONTROL, DWB_OGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dwb3_program_ogam_lut()
|
H A D | dcn30_mpc.c | 336 enum dc_lut_mode next_mode; in mpc3_set_output_gamma() local 353 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 355 next_mode = LUT_RAM_B; in mpc3_set_output_gamma() 357 next_mode = LUT_RAM_A; in mpc3_set_output_gamma() 360 mpc3_configure_ogam_lut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc3_set_output_gamma() 362 if (next_mode == LUT_RAM_A) in mpc3_set_output_gamma() 372 MPCC_OGAM_SELECT, next_mode == LUT_RAM_A ? 0:1); in mpc3_set_output_gamma() 858 enum dc_lut_mode next_mode; in mpc3_program_shaper() local 873 next_mode = LUT_RAM_B; in mpc3_program_shaper() 875 next_mode in mpc3_program_shaper() [all...] |
H A D | dcn30_dpp.c | 751 enum dc_lut_mode next_mode; in dpp3_program_blnd_lut() local 763 next_mode = LUT_RAM_A; in dpp3_program_blnd_lut() 765 next_mode = LUT_RAM_B; in dpp3_program_blnd_lut() 768 dpp3_configure_blnd_lut(dpp_base, next_mode == LUT_RAM_A); in dpp3_program_blnd_lut() 770 if (next_mode == LUT_RAM_A) in dpp3_program_blnd_lut() 780 CM_BLNDGAM_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in dpp3_program_blnd_lut() 1164 enum dc_lut_mode next_mode; in dpp3_program_shaper() local 1181 next_mode = LUT_RAM_B; in dpp3_program_shaper() 1183 next_mode = LUT_RAM_A; in dpp3_program_shaper() 1185 dpp3_configure_shaper_lut(dpp_base, next_mode in dpp3_program_shaper() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
H A D | rk3066_hdmi.c | 103 u8 current_mode, next_mode; in rk3066_hdmi_set_power_mode() local 116 next_mode = current_mode / 2; in rk3066_hdmi_set_power_mode() 119 next_mode = HDMI_SYS_POWER_MODE_A; in rk3066_hdmi_set_power_mode() 121 next_mode = current_mode * 2; in rk3066_hdmi_set_power_mode() 124 DRM_DEV_DEBUG(hdmi->dev, "%d: next_mode :%d\n", i, next_mode); in rk3066_hdmi_set_power_mode() 126 if (next_mode != HDMI_SYS_POWER_MODE_D) { in rk3066_hdmi_set_power_mode() 128 HDMI_SYS_POWER_MODE_MASK, next_mode); in rk3066_hdmi_set_power_mode() 141 current_mode = next_mode; in rk3066_hdmi_set_power_mode() 143 } while ((next_mode ! in rk3066_hdmi_set_power_mode() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/rockchip/ |
H A D | rk3066_hdmi.c | 113 u8 current_mode, next_mode; in rk3066_hdmi_set_power_mode() local 126 next_mode = current_mode / 2; in rk3066_hdmi_set_power_mode() 129 next_mode = HDMI_SYS_POWER_MODE_A; in rk3066_hdmi_set_power_mode() 131 next_mode = current_mode * 2; in rk3066_hdmi_set_power_mode() 134 DRM_DEV_DEBUG(hdmi->dev, "%d: next_mode :%d\n", i, next_mode); in rk3066_hdmi_set_power_mode() 136 if (next_mode != HDMI_SYS_POWER_MODE_D) { in rk3066_hdmi_set_power_mode() 138 HDMI_SYS_POWER_MODE_MASK, next_mode); in rk3066_hdmi_set_power_mode() 151 current_mode = next_mode; in rk3066_hdmi_set_power_mode() 153 } while ((next_mode ! in rk3066_hdmi_set_power_mode() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dcn32/ |
H A D | dcn32_mpc.c | 263 enum dc_lut_mode next_mode; in mpc32_program_post1dlut() local 275 next_mode = LUT_RAM_A; in mpc32_program_post1dlut() 277 next_mode = LUT_RAM_B; in mpc32_program_post1dlut() 280 mpc32_configure_post1dlut(mpc, mpcc_id, next_mode == LUT_RAM_A); in mpc32_program_post1dlut() 282 if (next_mode == LUT_RAM_A) in mpc32_program_post1dlut() 292 MPCC_MCM_1DLUT_SELECT, next_mode == LUT_RAM_A ? 0 : 1); in mpc32_program_post1dlut() 710 enum dc_lut_mode next_mode; in mpc32_program_shaper() local 725 next_mode = LUT_RAM_B; in mpc32_program_shaper() 727 next_mode = LUT_RAM_A; in mpc32_program_shaper() 729 mpc32_configure_shaper_lut(mpc, next_mode in mpc32_program_shaper() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A 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 ! in ath6kl_change_beacon() [all...] |
H A D | core.h | 617 u8 next_mode; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A 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 ! in ath6kl_change_beacon() [all...] |
H A D | core.h | 617 u8 next_mode; member
|