Home
last modified time | relevance | path

Searched refs:scal (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/ath/ath5k/
H A Dreset.c284 u32 scal, spending, sclock; in ath5k_hw_set_sleep_clock() local
347 scal = AR5K_PHY_SCAL_32MHZ_2417; in ath5k_hw_set_sleep_clock()
349 scal = AR5K_PHY_SCAL_32MHZ_HB63; in ath5k_hw_set_sleep_clock()
351 scal = AR5K_PHY_SCAL_32MHZ; in ath5k_hw_set_sleep_clock()
352 ath5k_hw_reg_write(ah, scal, AR5K_PHY_SCAL); in ath5k_hw_set_sleep_clock()
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common-v2.c28 * @scal: the weight factor
30 * formula: output = ((input) / step - 1) * scal
36 u8 scal; member
1045 arg = (arg / tb->step - 1) * tb->scal; in mtk_pinconf_drive_set()
1080 *val = (((val2 << 1) + val1) / tb->scal + 1) * tb->step; in mtk_pinconf_drive_get()
1096 arg = (arg / tb->step - 1) * tb->scal; in mtk_pinconf_drive_set_rev1()
1120 *val = ((val1 & 0x7) / tb->scal + 1) * tb->step; in mtk_pinconf_drive_get_rev1()