Home
last modified time | relevance | path

Searched refs:REG_READ (Results 1 – 25 of 113) sorted by relevance

12345

/drivers/gpu/drm/amd/display/dmub/src/
Ddmub_dcn32.c271 return REG_READ(DMCUB_INBOX1_WPTR); in dmub_dcn32_get_inbox1_wptr()
276 return REG_READ(DMCUB_INBOX1_RPTR); in dmub_dcn32_get_inbox1_rptr()
297 return REG_READ(DMCUB_OUTBOX1_WPTR); in dmub_dcn32_get_outbox1_wptr()
314 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_is_hw_init()
341 test.all = REG_READ(DMCUB_GPINT_DATAIN1); in dmub_dcn32_is_gpint_acked()
348 return REG_READ(DMCUB_SCRATCH7); in dmub_dcn32_get_gpint_response()
353 uint32_t dataout = REG_READ(DMCUB_GPINT_DATAOUT); in dmub_dcn32_get_gpint_dataout()
370 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn32_get_fw_boot_status()
386 boot_options.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn32_skip_dmub_panel_power_sequence()
401 return REG_READ(DMCUB_OUTBOX0_WPTR); in dmub_dcn32_get_outbox0_wptr()
[all …]
Ddmub_dcn31.c247 return REG_READ(DMCUB_INBOX1_WPTR); in dmub_dcn31_get_inbox1_wptr()
252 return REG_READ(DMCUB_INBOX1_RPTR); in dmub_dcn31_get_inbox1_rptr()
273 return REG_READ(DMCUB_OUTBOX1_WPTR); in dmub_dcn31_get_outbox1_wptr()
290 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_is_hw_init()
322 test.all = REG_READ(DMCUB_GPINT_DATAIN1); in dmub_dcn31_is_gpint_acked()
329 return REG_READ(DMCUB_SCRATCH7); in dmub_dcn31_get_gpint_response()
334 uint32_t dataout = REG_READ(DMCUB_GPINT_DATAOUT); in dmub_dcn31_get_gpint_dataout()
351 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn31_get_fw_boot_status()
359 option.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn31_get_fw_boot_option()
382 boot_options.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn31_skip_dmub_panel_power_sequence()
[all …]
Ddmub_dcn20.c287 return REG_READ(DMCUB_INBOX1_WPTR); in dmub_dcn20_get_inbox1_wptr()
292 return REG_READ(DMCUB_INBOX1_RPTR); in dmub_dcn20_get_inbox1_rptr()
318 return REG_READ(DMCUB_OUTBOX1_WPTR); in dmub_dcn20_get_outbox1_wptr()
340 return REG_READ(DMCUB_OUTBOX0_WPTR); in dmub_dcn20_get_outbox0_wptr()
378 test.all = REG_READ(DMCUB_GPINT_DATAIN1); in dmub_dcn20_is_gpint_acked()
385 return REG_READ(DMCUB_SCRATCH7); in dmub_dcn20_get_gpint_response()
392 status.all = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_fw_boot_status()
406 boot_options.all = REG_READ(DMCUB_SCRATCH14); in dmub_dcn20_skip_dmub_panel_power_sequence()
413 return REG_READ(DMCUB_TIMER_CURRENT); in dmub_dcn20_get_current_time()
428 diag_data->scratch[0] = REG_READ(DMCUB_SCRATCH0); in dmub_dcn20_get_diagnostic_data()
[all …]
/drivers/gpu/drm/gma500/
Dcdv_device.c36 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()
71 return REG_READ(BLC_PWM_CTL2) & PWM_LEGACY_MODE; in cdv_backlight_combination_mode()
76 u32 max = REG_READ(BLC_PWM_CTL); in cdv_get_max_backlight()
94 u32 val = REG_READ(BLC_PWM_CTL) & BACKLIGHT_DUTY_CYCLE_MASK; in cdv_get_brightness()
124 blc_pwm_ctl = REG_READ(BLC_PWM_CTL) & ~BACKLIGHT_DUTY_CYCLE_MASK; in cdv_set_brightness()
240 regs->cdv.saveDSPCLK_GATE_D = REG_READ(DSPCLK_GATE_D); in cdv_save_display_registers()
[all …]
Dgma_display.c93 dspcntr = REG_READ(map->cntr); in gma_pipe_set_base()
125 REG_READ(map->base); in gma_pipe_set_base()
128 REG_READ(map->base); in gma_pipe_set_base()
130 REG_READ(map->surf); in gma_pipe_set_base()
223 temp = REG_READ(map->dpll); in gma_crtc_dpms()
226 REG_READ(map->dpll); in gma_crtc_dpms()
230 REG_READ(map->dpll); in gma_crtc_dpms()
234 REG_READ(map->dpll); in gma_crtc_dpms()
240 temp = REG_READ(map->cntr); in gma_crtc_dpms()
245 REG_WRITE(map->base, REG_READ(map->base)); in gma_crtc_dpms()
[all …]
Dcdv_intel_display.c134 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read()
146 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_read()
152 *val = REG_READ(SB_DATA); in cdv_sb_read()
169 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
182 ret = wait_for((REG_READ(SB_PCKT) & SB_BUSY) == 0, 1000); in cdv_sb_write()
203 REG_READ(DPIO_CFG); in cdv_sb_reset()
472 if (REG_READ(FW_BLC_SELF) & FW_BLC_SELF_EN) { in cdv_disable_sr()
475 REG_WRITE(FW_BLC_SELF, (REG_READ(FW_BLC_SELF) & ~FW_BLC_SELF_EN)); in cdv_disable_sr()
476 REG_READ(FW_BLC_SELF); in cdv_disable_sr()
484 REG_READ(OV_OVADD); in cdv_disable_sr()
[all …]
Doaktrail_hdmi.c295 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set()
311 dpll = REG_READ(DPLL_CTRL); in oaktrail_crtc_hdmi_mode_set()
359 dspcntr = REG_READ(dspcntr_reg); in oaktrail_crtc_hdmi_mode_set()
365 pipeconf = REG_READ(pipeconf_reg); in oaktrail_crtc_hdmi_mode_set()
369 REG_READ(pipeconf_reg); in oaktrail_crtc_hdmi_mode_set()
372 REG_READ(PCH_PIPEBCONF); in oaktrail_crtc_hdmi_mode_set()
395 temp = REG_READ(DSPBCNTR); in oaktrail_crtc_hdmi_dpms()
398 REG_READ(DSPBCNTR); in oaktrail_crtc_hdmi_dpms()
400 REG_WRITE(DSPBSURF, REG_READ(DSPBSURF)); in oaktrail_crtc_hdmi_dpms()
401 REG_READ(DSPBSURF); in oaktrail_crtc_hdmi_dpms()
[all …]
Dpsb_intel_lvds.c67 ret = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_get_max_backlight()
79 REG_READ(BLC_PWM_CTL), dev_priv->regs.saveBLC_PWM_CTL); in psb_intel_lvds_get_max_backlight()
189 blc_pwm_ctl = REG_READ(BLC_PWM_CTL); in psb_intel_lvds_set_backlight()
220 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) | in psb_intel_lvds_set_power()
223 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_set_power()
231 REG_WRITE(PP_CONTROL, REG_READ(PP_CONTROL) & in psb_intel_lvds_set_power()
234 pp_status = REG_READ(PP_STATUS); in psb_intel_lvds_set_power()
261 lvds_priv->savePP_ON = REG_READ(LVDSPP_ON); in psb_intel_lvds_save()
262 lvds_priv->savePP_OFF = REG_READ(LVDSPP_OFF); in psb_intel_lvds_save()
263 lvds_priv->saveLVDS = REG_READ(LVDS); in psb_intel_lvds_save()
[all …]
Dpsb_intel_display.c84 pfit_control = REG_READ(PFIT_CONTROL); in psb_intel_panel_fitter_pipe()
197 pipeconf = REG_READ(map->conf); in psb_intel_crtc_mode_set()
221 REG_READ(map->dpll); in psb_intel_crtc_mode_set()
230 u32 lvds = REG_READ(LVDS); in psb_intel_crtc_mode_set()
251 REG_READ(LVDS); in psb_intel_crtc_mode_set()
256 REG_READ(map->dpll); in psb_intel_crtc_mode_set()
263 REG_READ(map->dpll); in psb_intel_crtc_mode_set()
288 REG_READ(map->conf); in psb_intel_crtc_mode_set()
317 dpll = REG_READ(map->dpll); in psb_intel_crtc_clock_get()
319 fp = REG_READ(map->fp0); in psb_intel_crtc_clock_get()
[all …]
Dcdv_intel_dp.c388 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_on()
392 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_on()
402 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_off()
406 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_vdd_off()
421 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_on()
426 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_on()
428 if (wait_for(((REG_READ(PP_STATUS) & idle_on_mask) == idle_on_mask), 1000)) { in cdv_intel_edp_panel_on()
429 DRM_DEBUG_KMS("Error in Powering up eDP panel, status %x\n", REG_READ(PP_STATUS)); in cdv_intel_edp_panel_on()
446 pp = REG_READ(PP_CONTROL); in cdv_intel_edp_panel_off()
459 REG_READ(PP_CONTROL); in cdv_intel_edp_panel_off()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubbub.c496 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_A); in hubbub2_wm_read_state()
498 s->pte_meta_urgent = REG_READ(DCHUBBUB_ARB_PTE_META_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()
503 s->dram_clk_change = REG_READ(DCHUBBUB_ARB_ALLOW_DRAM_CLK_CHANGE_WATERMARK_A); in hubbub2_wm_read_state()
507 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_B); in hubbub2_wm_read_state()
509 s->pte_meta_urgent = REG_READ(DCHUBBUB_ARB_PTE_META_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()
514 s->dram_clk_change = REG_READ(DCHUBBUB_ARB_ALLOW_DRAM_CLK_CHANGE_WATERMARK_B); in hubbub2_wm_read_state()
[all …]
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
Drv1_clk_mgr_clk.c56 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()
/drivers/net/wireless/ath/ath9k/
Dar9002_calib.c88 if (!(REG_READ(ah, AR_PHY_TIMING_CTRL4(0)) & in ar9002_hw_per_calibration()
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()
135 (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(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()
156 REG_READ(ah, AR_PHY_CAL_MEAS_3(i)); in ar9002_hw_adc_gaincal_collect()
174 (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_0(i)); in ar9002_hw_adc_dccal_collect()
176 (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_1(i)); in ar9002_hw_adc_dccal_collect()
[all …]
Dar9003_calib.c83 if (REG_READ(ah, AR_PHY_TIMING4) & AR_PHY_TIMING4_DO_CAL) in ar9003_hw_per_calibration()
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()
187 (int32_t) REG_READ(ah, AR_PHY_CAL_MEAS_2(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()
354 REG_READ(ah, AR_PHY_AGC_CONTROL(ah)) | AR_PHY_AGC_CONTROL_CAL); in ar9003_hw_dynamic_osdac_selection()
384 osdac_ch0 = (REG_READ(ah, AR_PHY_65NM_CH0_BB1) >> 30) & 0x3; in ar9003_hw_dynamic_osdac_selection()
[all …]
Dar9003_wow.c48 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()
238 AR_WOW_CLEAR_EVENTS2(REG_READ(ah, AR_MAC_PCU_WOW4))); 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(ah)); in ath9k_hw_wow_set_arwr_reg()
364 keep_alive = REG_READ(ah, AR_WOW_KEEP_ALIVE); in ath9k_hw_wow_enable()
[all …]
Dar9002_mac.c43 if (REG_READ(ah, AR_INTR_ASYNC_CAUSE(ah)) & AR_INTR_MAC_IRQ) { in ar9002_hw_get_isr()
44 if ((REG_READ(ah, AR_RTC_STATUS(ah)) & AR_RTC_STATUS_M(ah)) in ar9002_hw_get_isr()
46 isr = REG_READ(ah, AR_ISR); in ar9002_hw_get_isr()
50 sync_cause = REG_READ(ah, AR_INTR_SYNC_CAUSE(ah)) & 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()
[all …]
Dar9002_phy.c76 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()
349 nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR9280_PHY_CH1_EXT_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()
[all …]
Dmac.c48 return REG_READ(ah, AR_QTXDP(q)); in ath9k_hw_gettxbuf()
69 npend = REG_READ(ah, AR_QSTS(q)) & AR_Q_STS_PEND_FR_CNT; in ath9k_hw_numtxpending()
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()
710 if ((REG_READ(ah, AR_CR) & AR_CR_RXE(ah)) == 0) in ath9k_hw_stopdmarecv()
714 mac_status = REG_READ(ah, AR_DMADBG_7) & 0x7f0; in ath9k_hw_stopdmarecv()
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()
[all …]
Dar9003_mci.c39 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()
232 saved_mci_int_en = REG_READ(ah, AR_MCI_INTERRUPT_EN); in ar9003_mci_prep_interface()
236 REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW)); in ar9003_mci_prep_interface()
238 REG_READ(ah, AR_MCI_INTERRUPT_RAW)); in ar9003_mci_prep_interface()
351 intr = REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW); in ar9003_mci_check_int()
375 rx_msg_intr = REG_READ(ah, AR_MCI_INTERRUPT_RX_MSG_RAW); in ar9003_mci_get_isr()
376 raw_intr = REG_READ(ah, AR_MCI_INTERRUPT_RAW); in ar9003_mci_get_isr()
387 mci->cont_status = REG_READ(ah, AR_MCI_CONT_STATUS); in ar9003_mci_get_isr()
[all …]
Dar9003_phy.c617 (REG_READ(ah, AR_PHY_GEN_CTRL) & AR_PHY_GC_ENABLE_DAC_FIFO); in ar9003_hw_set_channel_regs()
635 phymode |= REG_READ(ah, AR_PHY_GEN_CTRL); in ar9003_hw_set_channel_regs()
660 synthDelay = REG_READ(ah, AR_PHY_RX_DELAY) & AR_PHY_RX_DELAY_DELAY; in ar9003_hw_init_bb()
703 val = REG_READ(ah, AR_PCU_MISC_MODE2) & (~AR_ADHOC_MCAST_KEYID_ENABLE); in ar9003_hw_override_ini()
721 if (REG_READ(ah, AR_PHY_CL_CAL_CTL) & AR_PHY_CL_CAL_ENABLE) in ar9003_hw_override_ini()
1058 u32 synthDelay = REG_READ(ah, AR_PHY_RX_DELAY) & AR_PHY_RX_DELAY_DELAY; in ar9003_hw_rfbus_done()
1352 nf = MS(REG_READ(ah, ah->nf_regs[i]), in ar9003_hw_do_getnf()
1359 nf = MS(REG_READ(ah, ah->nf_regs[ext_idx]), in ar9003_hw_do_getnf()
1409 val = REG_READ(ah, AR_PHY_SFCORR); in ar9003_hw_ani_cache_ini_regs()
1414 val = REG_READ(ah, AR_PHY_SFCORR_LOW); in ar9003_hw_ani_cache_ini_regs()
[all …]
Dhw.c83 if ((REG_READ(ah, reg) & mask) == val) in ath9k_hw_wait()
91 timeout, reg, REG_READ(ah, reg), mask, val); in ath9k_hw_wait()
269 val = REG_READ(ah, AR_SREV(ah)); in ath9k_hw_read_revisions()
287 srev = REG_READ(ah, AR_SREV(ah)); in ath9k_hw_read_revisions()
364 regHold[i] = REG_READ(ah, addr); in ath9k_hw_chip_test()
368 rdData = REG_READ(ah, addr); in ath9k_hw_chip_test()
379 rdData = REG_READ(ah, addr); in ath9k_hw_chip_test()
609 ah->WARegVal = REG_READ(ah, AR_WA(ah)); in __ath9k_hw_init()
640 ah->hw_version.phyRev = REG_READ(ah, AR_PHY_CHIP_ID); in __ath9k_hw_init()
744 while ((REG_READ(ah, PLL4) & PLL4_MEAS_DONE) == 0) { in ar9003_get_pll_sqsum_dvc()
[all …]
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_panel_cntl.c57 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()
/drivers/net/wireless/ath/
Dhw.c23 #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()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c52 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_A); in hubbub1_wm_read_state()
53 s->pte_meta_urgent = REG_READ(DCHUBBUB_ARB_PTE_META_URGENCY_WATERMARK_A); in hubbub1_wm_read_state()
55 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_A); in hubbub1_wm_read_state()
56 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_A); in hubbub1_wm_read_state()
58 s->dram_clk_change = REG_READ(DCHUBBUB_ARB_ALLOW_DRAM_CLK_CHANGE_WATERMARK_A); in hubbub1_wm_read_state()
62 s->data_urgent = REG_READ(DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_B); in hubbub1_wm_read_state()
63 s->pte_meta_urgent = REG_READ(DCHUBBUB_ARB_PTE_META_URGENCY_WATERMARK_B); in hubbub1_wm_read_state()
65 s->sr_enter = REG_READ(DCHUBBUB_ARB_ALLOW_SR_ENTER_WATERMARK_B); in hubbub1_wm_read_state()
66 s->sr_exit = REG_READ(DCHUBBUB_ARB_ALLOW_SR_EXIT_WATERMARK_B); in hubbub1_wm_read_state()
68 s->dram_clk_change = REG_READ(DCHUBBUB_ARB_ALLOW_DRAM_CLK_CHANGE_WATERMARK_B); in hubbub1_wm_read_state()
[all …]
/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_panel_cntl.c128 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()

12345