Searched refs:dgain (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852a_rfk.c | 2225 u16 dgain = 0x0; in _dpk_dgain_read() local 2231 dgain = (u16)rtw89_phy_read32_mask(rtwdev, R_RPT_COM, B_PRT_COM_DCI); in _dpk_dgain_read() 2233 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] DGain = 0x%x (%d)\n", dgain, in _dpk_dgain_read() 2234 dgain); in _dpk_dgain_read() 2236 return dgain; in _dpk_dgain_read() 2239 static s8 _dpk_dgain_mapping(struct rtw89_dev *rtwdev, u16 dgain) in _dpk_dgain_mapping() argument 2243 if (dgain >= 0x783) in _dpk_dgain_mapping() 2245 else if (dgain <= 0x782 && dgain >= 0x551) in _dpk_dgain_mapping() 2247 else if (dgain <= 0x550 && dgain >= 0x3c4) in _dpk_dgain_mapping() 2249 else if (dgain <= 0x3c3 && dgain >= 0x2aa) in _dpk_dgain_mapping() [all …]
|
D | rtw8852c_rfk.c | 1970 u16 dgain = 0x0; in _dpk_dgain_read() local 1974 dgain = rtw89_phy_read32_mask(rtwdev, R_RPT_COM, B_PRT_COM_DCI); in _dpk_dgain_read() 1976 rtw89_debug(rtwdev, RTW89_DBG_RFK, "[DPK] DGain = 0x%x (%d)\n", dgain, dgain); in _dpk_dgain_read() 1978 return dgain; in _dpk_dgain_read() 2107 u16 dgain = 0; in _dpk_agc() local 2124 dgain = _dpk_dgain_read(rtwdev); in _dpk_agc() 2126 if (dgain > 0x5fc || dgain < 0x556) { in _dpk_agc() 2128 dgain = _dpk_dgain_read(rtwdev); in _dpk_agc()
|
/linux-6.1.9/sound/soc/atmel/ |
D | atmel-pdmic.c | 223 unsigned int dgain; member 294 if ((mic_gain_table[i].dgain == dgain_val) && in pdmic_get_mic_volsw() 318 mic_gain_table[val].dgain << PDMIC_DSPR1_DGAIN_SHIFT); in pdmic_put_mic_volsw()
|
/linux-6.1.9/drivers/staging/media/atomisp/i2c/ |
D | atomisp-gc0310.c | 422 u8 again, dgain; in gc0310_set_gain() local 431 dgain = gain; in gc0310_set_gain() 434 dgain = gain / 2; in gc0310_set_gain() 437 dev_dbg(&client->dev, "gain=0x%x again=0x%x dgain=0x%x\n", gain, again, dgain); in gc0310_set_gain() 447 GC0310_DGC_ADJ, dgain); in gc0310_set_gain()
|
/linux-6.1.9/include/uapi/linux/ |
D | omap3isp.h | 534 __u16 dgain; member
|
/linux-6.1.9/drivers/media/i2c/ |
D | imx274.c | 1560 static int imx274_set_digital_gain(struct stimx274 *priv, u32 dgain) in imx274_set_digital_gain() argument 1564 reg_val = ffs(dgain); in imx274_set_digital_gain()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | rtw8822c.c | 3459 u16 dgain; in rtw8822c_dpk_dgain_read() local 3464 dgain = (u16)rtw_read32_mask(rtwdev, REG_STAT_RPT, GENMASK(27, 16)); in rtw8822c_dpk_dgain_read() 3466 return dgain; in rtw8822c_dpk_dgain_read() 3547 u16 dgain; in rtw8822c_dpk_agc_gain_chk() local 3550 dgain = rtw8822c_dpk_dgain_read(rtwdev, path); in rtw8822c_dpk_agc_gain_chk() 3552 if (dgain > 1535 && !limited_pga) in rtw8822c_dpk_agc_gain_chk() 3554 else if (dgain < 768 && !limited_pga) in rtw8822c_dpk_agc_gain_chk()
|
/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | isppreview.c | 310 isp_reg_writel(isp, wbal->dgain, OMAP3_ISP_IOMEM_PREV, ISPPRV_WB_DGAIN); in preview_config_whitebalance() 1333 params->wbal.dgain = FLR_WBAL_DGAIN; in preview_init_params()
|