Home
last modified time | relevance | path

Searched refs:res_val (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
H A Drv1_clk_mgr_vbios_smu.c87 uint32_t res_val = VBIOSSMC_Status_BUSY; in rv1_smu_wait_for_response() local
90 res_val = REG_READ(MP1_SMN_C2PMSG_91); in rv1_smu_wait_for_response()
91 if (res_val != VBIOSSMC_Status_BUSY) in rv1_smu_wait_for_response()
100 return res_val; in rv1_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
H A Drn_clk_mgr_vbios_smu.c82 uint32_t res_val = VBIOSSMC_Status_BUSY; in rn_smu_wait_for_response() local
85 res_val = REG_READ(MP1_SMN_C2PMSG_91); in rn_smu_wait_for_response()
86 if (res_val != VBIOSSMC_Status_BUSY) in rn_smu_wait_for_response()
95 return res_val; in rn_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/
H A Ddcn301_smu.c82 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn301_smu_wait_for_response() local
85 res_val = REG_READ(MP1_SMN_C2PMSG_91); in dcn301_smu_wait_for_response()
86 if (res_val != VBIOSSMC_Status_BUSY) in dcn301_smu_wait_for_response()
95 return res_val; in dcn301_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/
H A Ddcn316_smu.c102 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn316_smu_wait_for_response() local
105 res_val = REG_READ(MP1_SMN_C2PMSG_91); in dcn316_smu_wait_for_response()
106 if (res_val != VBIOSSMC_Status_BUSY) in dcn316_smu_wait_for_response()
115 return res_val; in dcn316_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/
H A Ddcn314_smu.c103 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn314_smu_wait_for_response() local
106 res_val = REG_READ(MP1_SMN_C2PMSG_91); in dcn314_smu_wait_for_response()
107 if (res_val != VBIOSSMC_Status_BUSY) in dcn314_smu_wait_for_response()
116 return res_val; in dcn314_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/
H A Ddcn31_smu.c87 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn31_smu_wait_for_response() local
90 res_val = REG_READ(MP1_SMN_C2PMSG_91); in dcn31_smu_wait_for_response()
91 if (res_val != VBIOSSMC_Status_BUSY) in dcn31_smu_wait_for_response()
100 return res_val; in dcn31_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/
H A Ddcn315_smu.c115 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn315_smu_wait_for_response() local
118 res_val = REG_READ(MP1_SMN_C2PMSG_38); in dcn315_smu_wait_for_response()
119 if (res_val != VBIOSSMC_Status_BUSY) in dcn315_smu_wait_for_response()
128 return res_val; in dcn315_smu_wait_for_response()
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/
H A Ddcn35_smu.c117 uint32_t res_val = VBIOSSMC_Status_BUSY; in dcn35_smu_wait_for_response() local
120 res_val = REG_READ(MP1_SMN_C2PMSG_91); in dcn35_smu_wait_for_response()
121 if (res_val != VBIOSSMC_Status_BUSY) in dcn35_smu_wait_for_response()
133 return res_val; in dcn35_smu_wait_for_response()
/linux/drivers/media/usb/gspca/
H A Dkinect.c278 uint8_t res_reg, res_val; in sd_start_video() local
303 res_val = 0x02; in sd_start_video()
305 res_val = 0x01; in sd_start_video()
334 write_register(gspca_dev, res_reg, res_val); in sd_start_video()
/linux/sound/soc/codecs/
H A Dwcd-clsh-v2.c275 int val = 0, gain = 0, res_val; in wcd_clsh_v2_set_hph_mode() local
278 res_val = WCD9XXX_CLASSH_CTRL_VCL_VREF_FILT_R_0KOHM; in wcd_clsh_v2_set_hph_mode()
281 res_val = WCD9XXX_CLASSH_CTRL_VCL_VREF_FILT_R_50KOHM; in wcd_clsh_v2_set_hph_mode()
306 res_val); in wcd_clsh_v2_set_hph_mode()
/linux/drivers/iio/adc/
H A Dpac1921.c353 u16 res_val; in pac1921_read_raw() local
365 ret = pac1921_read_res(priv, chan->address, &res_val); in pac1921_read_raw()
369 *val = (int)res_val; in pac1921_read_raw()