/linux/drivers/gpu/drm/amd/display/dmub/src/ |
A D | dmub_dcn31.c | 238 return REG_READ(DMCUB_INBOX1_RPTR); in dmub_dcn31_get_inbox1_rptr() 259 return REG_READ(DMCUB_OUTBOX1_WPTR); in dmub_dcn31_get_outbox1_wptr() 276 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_is_hw_init() 303 test.all = REG_READ(DMCUB_GPINT_DATAIN1); in dmub_dcn31_is_gpint_acked() 310 return REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_gpint_response() 315 uint32_t dataout = REG_READ(DMCUB_GPINT_DATAOUT); in dmub_dcn31_get_gpint_dataout() 332 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_fw_boot_status() 353 boot_options.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn31_skip_dmub_panel_power_sequence() 368 return REG_READ(DMCUB_OUTBOX0_WPTR); in dmub_dcn31_get_outbox0_wptr() 378 return REG_READ(DMCUB_TIMER_CURRENT); in dmub_dcn31_get_current_time() [all …]
|
A D | dmub_dcn20.c | 287 return REG_READ(DMCUB_INBOX1_RPTR); in dmub_dcn20_get_inbox1_rptr() 313 return REG_READ(DMCUB_OUTBOX1_WPTR); in dmub_dcn20_get_outbox1_wptr() 335 return REG_READ(DMCUB_OUTBOX0_WPTR); in dmub_dcn20_get_outbox0_wptr() 373 test.all = REG_READ(DMCUB_GPINT_DATAIN1); in dmub_dcn20_is_gpint_acked() 380 return REG_READ(DMCUB_SCRATCH7); in dmub_dcn20_get_gpint_response() 387 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_fw_boot_status() 401 boot_options.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn20_skip_dmub_panel_power_sequence() 408 return REG_READ(DMCUB_TIMER_CURRENT); in dmub_dcn20_get_current_time() 423 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data() 424 diag_data->scratch[1] = REG_READ(DMCUB_SCRATCH1); in dmub_dcn20_get_diagnostic_data() [all …]
|
/linux/drivers/gpu/drm/gma500/ |
A D | cdv_device.c | 36 REG_READ(vga_reg); in cdv_disable_vga() 51 if (REG_READ(SDVOB) & SDVO_DETECTED) { in cdv_output_init() 53 if (REG_READ(DP_B) & DP_DETECTED) in cdv_output_init() 57 if (REG_READ(SDVOC) & SDVO_DETECTED) { in cdv_output_init() 59 if (REG_READ(DP_C) & DP_DETECTED) in cdv_output_init() 80 u32 max = REG_READ(BLC_PWM_CTL); in cdv_get_max_backlight() 282 regs->cdv.saveADPA = REG_READ(ADPA); in cdv_save_display_registers() 332 temp = REG_READ(DPLL_A); in cdv_restore_display_registers() 335 REG_READ(DPLL_A); in cdv_restore_display_registers() 338 temp = REG_READ(DPLL_B); in cdv_restore_display_registers() [all …]
|
A D | gma_display.c | 117 REG_READ(map->base); in gma_pipe_set_base() 120 REG_READ(map->base); in gma_pipe_set_base() 122 REG_READ(map->surf); in gma_pipe_set_base() 218 REG_READ(map->dpll); in gma_crtc_dpms() 222 REG_READ(map->dpll); in gma_crtc_dpms() 226 REG_READ(map->dpll); in gma_crtc_dpms() 287 REG_READ(map->base); in gma_crtc_dpms() 294 REG_READ(map->conf); in gma_crtc_dpms() 638 REG_READ(map->fp0); in gma_crtc_restore() 641 REG_READ(map->fp1); in gma_crtc_restore() [all …]
|
A D | cdv_intel_display.c | 151 *val = REG_READ(SB_DATA); in cdv_sb_read() 202 REG_READ(DPIO_CFG); in cdv_sb_reset() 475 REG_READ(FW_BLC_SELF); in cdv_disable_sr() 483 REG_READ(OV_OVADD); in cdv_disable_sr() 499 fw = REG_READ(DSPFW1); in cdv_update_wm() 506 fw = REG_READ(DSPFW2); in cdv_update_wm() 535 REG_READ(FW_BLC_SELF); in cdv_update_wm() 717 REG_READ(map->dpll); in cdv_intel_crtc_mode_set() 749 REG_READ(LVDS); in cdv_intel_crtc_mode_set() 763 REG_READ(map->dpll); in cdv_intel_crtc_mode_set() [all …]
|
A D | psb_intel_lvds.c | 66 ret = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_get_max_backlight() 188 blc_pwm_ctl = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_set_backlight() 219 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) | in psb_intel_lvds_set_power() 222 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_set_power() 230 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) & in psb_intel_lvds_set_power() 233 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_set_power() 260 lvds_priv->savePP_ON = REG_READ(LVDSPP_ON); in psb_intel_lvds_save() 262 lvds_priv->saveLVDS = REG_READ(LVDS); in psb_intel_lvds_save() 321 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_restore() 327 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_restore() [all …]
|
A D | oaktrail_hdmi.c | 292 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set() 308 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set() 366 REG_READ(pipeconf_reg); in oaktrail_crtc_hdmi_mode_set() 369 REG_READ(PCH_PIPEBCONF); in oaktrail_crtc_hdmi_mode_set() 395 REG_READ(DSPBCNTR); in oaktrail_crtc_hdmi_dpms() 398 REG_READ(DSPBSURF); in oaktrail_crtc_hdmi_dpms() 405 REG_READ(PIPEBCONF); in oaktrail_crtc_hdmi_dpms() 412 REG_READ(PCH_PIPEBCONF); in oaktrail_crtc_hdmi_dpms() 447 REG_READ(PIPEBCONF); in oaktrail_crtc_hdmi_dpms() 454 REG_READ(PCH_PIPEBCONF); in oaktrail_crtc_hdmi_dpms() [all …]
|
A D | psb_intel_display.c | 191 pipeconf = REG_READ(map->conf); in psb_intel_crtc_mode_set() 215 REG_READ(map->dpll); in psb_intel_crtc_mode_set() 224 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set() 245 REG_READ(LVDS); in psb_intel_crtc_mode_set() 250 REG_READ(map->dpll); in psb_intel_crtc_mode_set() 257 REG_READ(map->dpll); in psb_intel_crtc_mode_set() 282 REG_READ(map->conf); in psb_intel_crtc_mode_set() 311 dpll = REG_READ(map->dpll); in psb_intel_crtc_clock_get() 313 fp = REG_READ(map->fp0); in psb_intel_crtc_clock_get() 315 fp = REG_READ(map->fp1); in psb_intel_crtc_clock_get() [all …]
|
A D | psb_lid.c | 28 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) | POWER_TARGET_ON); in psb_lid_timer_func() 30 pp_status = REG_READ(PP_STATUS); in psb_lid_timer_func() 34 if (REG_READ(PP_STATUS) & PP_ON) { in psb_lid_timer_func() 44 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) & ~POWER_TARGET_ON); in psb_lid_timer_func() 46 pp_status = REG_READ(PP_STATUS); in psb_lid_timer_func()
|
A D | cdv_intel_dp.c | 392 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_on() 396 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_on() 406 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_off() 410 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_off() 425 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_on() 430 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_on() 450 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_off() 463 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_off() 487 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_backlight_on() 503 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_backlight_off() [all …]
|
A D | intel_i2c.c | 29 val = REG_READ(chan->reg); in get_clock() 39 val = REG_READ(chan->reg); in get_data() 51 REG_READ(chan->reg) & (GPIO_DATA_PULLUP_DISABLE | in set_clock() 71 REG_READ(chan->reg) & (GPIO_DATA_PULLUP_DISABLE | in set_data()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/ |
A D | rv1_clk_mgr_clk.c | 56 regs->CLK0_CLK8_CURRENT_CNT = REG_READ(CLK0_CLK8_CURRENT_CNT) / 10; //dcf clk in rv1_dump_clk_registers() 58 bypass->dcfclk_bypass = REG_READ(CLK0_CLK8_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 63 regs->CLK0_CLK8_DS_CNTL = REG_READ(CLK0_CLK8_DS_CNTL) / 10; //dcf deep sleep divider in rv1_dump_clk_registers() 65 regs->CLK0_CLK8_ALLOW_DS = REG_READ(CLK0_CLK8_ALLOW_DS); //dcf deep sleep allow in rv1_dump_clk_registers() 67 regs->CLK0_CLK10_CURRENT_CNT = REG_READ(CLK0_CLK10_CURRENT_CNT) / 10; //dpref clk in rv1_dump_clk_registers() 69 bypass->dispclk_pypass = REG_READ(CLK0_CLK10_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers() 73 regs->CLK0_CLK11_CURRENT_CNT = REG_READ(CLK0_CLK11_CURRENT_CNT) / 10; //disp clk in rv1_dump_clk_registers() 75 bypass->dprefclk_bypass = REG_READ(CLK0_CLK11_BYPASS_CNTL) & 0x0007; in rv1_dump_clk_registers()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_hubbub.c | 496 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_A); in hubbub2_wm_read_state() 500 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_A); in hubbub2_wm_read_state() 501 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_A); in hubbub2_wm_read_state() 507 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_B); in hubbub2_wm_read_state() 511 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_B); in hubbub2_wm_read_state() 512 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_B); in hubbub2_wm_read_state() 518 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_C); in hubbub2_wm_read_state() 522 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_C); in hubbub2_wm_read_state() 523 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_C); in hubbub2_wm_read_state() 529 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_D); in hubbub2_wm_read_state() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | ar9002_calib.c | 131 REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); in ar9002_hw_iqcal_collect() 133 REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); in ar9002_hw_iqcal_collect() 150 REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); in ar9002_hw_adc_gaincal_collect() 152 REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); in ar9002_hw_adc_gaincal_collect() 154 REG_READ(ah, AR_PHY_CAL_MEAS_2(i)); in ar9002_hw_adc_gaincal_collect() 567 regVal = REG_READ(ah, 0x7834); in ar9285_hw_pa_cal() 570 regVal = REG_READ(ah, 0x9808); in ar9285_hw_pa_cal() 595 regVal = REG_READ(ah, 0x7834); in ar9285_hw_pa_cal() 599 regVal = REG_READ(ah, 0x7834); in ar9285_hw_pa_cal() 632 regVal = REG_READ(ah, 0x7834); in ar9285_hw_pa_cal() [all …]
|
A D | ar9003_calib.c | 183 REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); in ar9003_hw_iqcal_collect() 185 REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); in ar9003_hw_iqcal_collect() 271 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate() 288 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate() 293 REG_READ(ah, offset_array[i])); in ar9003_hw_iqcalibrate() 306 REG_READ(ah, AR_PHY_RX_IQCAL_CORR_B0)); in ar9003_hw_iqcalibrate() 414 temp = REG_READ(ah, AR_PHY_65NM_CH0_BB3); in ar9003_hw_dynamic_osdac_selection() 1092 if (REG_READ(ah, txiqcal_status[i]) & in ar9003_hw_tx_iq_cal_post_proc() 1108 iq_res[idx] = REG_READ(ah, in ar9003_hw_tx_iq_cal_post_proc() 1493 REG_READ(ah, AR_PHY_AGC_CONTROL) | in ar9003_hw_init_cal_pcoem() [all …]
|
A D | ar9003_wow.c | 48 REG_READ(ah, AR_CR), REG_READ(ah, AR_DIAG_SW)); in ath9k_hw_set_powermode_wow_sleep() 53 if (!REG_READ(ah, AR_MAC_PCU_GEN_TIMER_TSF_SEL)) in ath9k_hw_set_powermode_wow_sleep() 56 if (!(REG_READ(ah, AR_NDP2_TIMER_MODE) & in ath9k_hw_set_powermode_wow_sleep() 192 rval = REG_READ(ah, AR_WOW_PATTERN); in ath9k_hw_wow_wakeup() 213 rval = REG_READ(ah, AR_MAC_PCU_WOW4); in ath9k_hw_wow_wakeup() 236 AR_WOW_CLEAR_EVENTS(REG_READ(ah, AR_WOW_PATTERN))); in ath9k_hw_wow_wakeup() 256 u32 dc = REG_READ(ah, AR_DIRECT_CONNECT); in ath9k_hw_wow_wakeup() 281 wa_reg = REG_READ(ah, AR_WA); in ath9k_hw_wow_set_arwr_reg() 364 keep_alive = REG_READ(ah, AR_WOW_KEEP_ALIVE); in ath9k_hw_wow_enable() 395 magic_pattern = REG_READ(ah, AR_WOW_PATTERN); in ath9k_hw_wow_enable() [all …]
|
A D | ar9002_mac.c | 46 isr = REG_READ(ah, AR_ISR); in ar9002_hw_get_isr() 59 isr = REG_READ(ah, AR_ISR); in ar9002_hw_get_isr() 65 isr2 = REG_READ(ah, AR_ISR_S2); in ar9002_hw_get_isr() 88 isr = REG_READ(ah, AR_ISR_RAC); in ar9002_hw_get_isr() 109 s0_s = REG_READ(ah, AR_ISR_S0_S); in ar9002_hw_get_isr() 110 s1_s = REG_READ(ah, AR_ISR_S1_S); in ar9002_hw_get_isr() 112 s0_s = REG_READ(ah, AR_ISR_S0); in ar9002_hw_get_isr() 114 s1_s = REG_READ(ah, AR_ISR_S1); in ar9002_hw_get_isr() 141 s5_s = REG_READ(ah, AR_ISR_S5_S); in ar9002_hw_get_isr() 143 s5_s = REG_READ(ah, AR_ISR_S5); in ar9002_hw_get_isr() [all …]
|
A D | ar9002_phy.c | 76 reg32 = REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9002_hw_set_channel() 98 txctl = REG_READ(ah, AR_PHY_CCK_TX_CTRL); in ar9002_hw_set_channel() 225 tmp = REG_READ(ah, AR_PHY_TIMING_CTRL4(0)); in ar9002_hw_spur_mitigate() 298 MS(REG_READ(ah, AR_PHY_TX_GAIN_TBL1 + i * 4), in ar9002_olc_init() 336 nf = MS(REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9002_hw_do_getnf() 339 nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9002_hw_do_getnf() 346 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9002_hw_do_getnf() 383 regval = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ar9002_hw_antdiv_comb_conf_get() 400 regval = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ar9002_hw_antdiv_comb_conf_set() 455 regval = REG_READ(ah, AR_PHY_MULTICHAIN_GAIN_CTL); in ar9002_hw_set_bt_ant_diversity() [all …]
|
A D | mac.c | 48 return REG_READ(ah, AR_QTXDP(q)); in ath9k_hw_gettxbuf() 72 if (REG_READ(ah, AR_Q_TXE) & (1 << q)) in ath9k_hw_numtxpending() 114 txcfg = REG_READ(ah, AR_TXCFG); in ath9k_hw_updatetxtriglevel() 653 reg = REG_READ(ah, AR_OBS_BUS_1); in ath9k_hw_setrxabort() 730 REG_READ(ah, AR_CR), in ath9k_hw_stopdmarecv() 731 REG_READ(ah, AR_DIAG_SW), in ath9k_hw_stopdmarecv() 732 REG_READ(ah, AR_DMADBG_7)); in ath9k_hw_stopdmarecv() 787 (void) REG_READ(ah, AR_IER); in ath9k_hw_kill_interrupts() 834 REG_READ(ah, AR_IMR), REG_READ(ah, AR_IER)); in __ath9k_hw_enable_interrupts() 849 REG_READ(ah, AR_INTR_PRIO_ASYNC_MASK)); in __ath9k_hw_enable_interrupts() [all …]
|
A D | ar9003_mci.c | 39 if (!(REG_READ(ah, address) & bit_position)) { in ar9003_mci_wait_for_interrupt() 71 REG_READ(ah, AR_MCI_INTERRUPT_RAW), in ar9003_mci_wait_for_interrupt() 72 REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW)); in ar9003_mci_wait_for_interrupt() 238 REG_READ(ah, AR_MCI_INTERRUPT_RAW)); in ar9003_mci_prep_interface() 987 regval = REG_READ(ah, AR_MCI_COMMAND2); in ar9003_mci_reset() 1178 regval = REG_READ(ah, AR_BTCOEX_CTRL); in ar9003_mci_send_message() 1299 value = REG_READ(ah, AR_BTCOEX_CTRL); in ar9003_mci_state() 1315 value = MS(REG_READ(ah, AR_MCI_RX_STATUS), in ar9003_mci_state() 1321 value = MS(REG_READ(ah, AR_MCI_RX_STATUS), in ar9003_mci_state() 1341 if ((REG_READ(ah, AR_GLB_GPIO_CONTROL) & in ar9003_mci_state() [all …]
|
A D | ar9003_phy.c | 1361 nf = MS(REG_READ(ah, ah->nf_regs[i]), in ar9003_hw_do_getnf() 1418 val = REG_READ(ah, AR_PHY_SFCORR); in ar9003_hw_ani_cache_ini_regs() 1423 val = REG_READ(ah, AR_PHY_SFCORR_LOW); in ar9003_hw_ani_cache_ini_regs() 1428 val = REG_READ(ah, AR_PHY_SFCORR_EXT); in ar9003_hw_ani_cache_ini_regs() 1471 radar_1 = REG_READ(ah, AR_PHY_RADAR_1); in ar9003_hw_set_radar_params() 2016 val = REG_READ(ah, AR_PHY_RADAR_0); in ar9003_hw_bb_watchdog_check() 2021 val = REG_READ(ah, AR_PHY_RADAR_0); in ar9003_hw_bb_watchdog_check() 2146 REG_READ(ah, AR_PHY_WATCHDOG_CTL_1), in ar9003_hw_bb_watchdog_dbg_info() 2147 REG_READ(ah, AR_PHY_WATCHDOG_CTL_2)); in ar9003_hw_bb_watchdog_dbg_info() 2149 REG_READ(ah, AR_PHY_GEN_CTRL)); in ar9003_hw_bb_watchdog_dbg_info() [all …]
|
/linux/drivers/net/wireless/ath/ |
A D | hw.c | 23 #define REG_READ (common->ops->read) macro 124 id1 = REG_READ(ah, AR_STA_ID1) & ~AR_STA_ID1_SADH_MASK; in ath_hw_setbssidmask() 151 cycles = REG_READ(ah, AR_CCCNT); in ath_hw_cycle_counters_update() 152 busy = REG_READ(ah, AR_RCCNT); in ath_hw_cycle_counters_update() 153 rx = REG_READ(ah, AR_RFCNT); in ath_hw_cycle_counters_update() 154 tx = REG_READ(ah, AR_TFCNT); in ath_hw_cycle_counters_update()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_panel_cntl.c | 57 REG_READ(BL_PWM_PERIOD_CNTL); in dce_get_16_bit_backlight_from_pwm() 61 REG_READ(BL_PWM_CNTL); in dce_get_16_bit_backlight_from_pwm() 113 REG_READ(BL_PWM_CNTL); in dce_panel_cntl_hw_init() 115 REG_READ(BL_PWM_CNTL2); in dce_panel_cntl_hw_init() 117 REG_READ(BL_PWM_PERIOD_CNTL); in dce_panel_cntl_hw_init() 131 value = REG_READ(BIOS_SCRATCH_2); in dce_panel_cntl_hw_init() 178 REG_READ(BL_PWM_CNTL); in dce_store_backlight_level() 180 REG_READ(BL_PWM_CNTL2); in dce_store_backlight_level() 182 REG_READ(BL_PWM_PERIOD_CNTL); in dce_store_backlight_level()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hubbub.c | 54 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_A); in hubbub1_wm_read_state() 57 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_A); in hubbub1_wm_read_state() 58 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_A); in hubbub1_wm_read_state() 64 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_B); in hubbub1_wm_read_state() 67 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_B); in hubbub1_wm_read_state() 68 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_B); in hubbub1_wm_read_state() 74 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_C); in hubbub1_wm_read_state() 77 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_C); in hubbub1_wm_read_state() 78 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_C); in hubbub1_wm_read_state() 88 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_D); in hubbub1_wm_read_state() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn301/ |
A D | dcn301_panel_cntl.c | 128 REG_READ(BL_PWM_CNTL); in dcn301_panel_cntl_hw_init() 130 REG_READ(BL_PWM_CNTL2); in dcn301_panel_cntl_hw_init() 132 REG_READ(BL_PWM_PERIOD_CNTL); in dcn301_panel_cntl_hw_init() 185 REG_READ(BL_PWM_CNTL); in dcn301_store_backlight_level() 187 REG_READ(BL_PWM_CNTL2); in dcn301_store_backlight_level() 189 REG_READ(BL_PWM_PERIOD_CNTL); in dcn301_store_backlight_level()
|