Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Deeprom.h133 static inline u32 int_to_s6(int val) in int_to_s6() function
H A Dphy.c429 mt7601u_wr(dev, MT_TX_PWR_CFG_0, int_to_s6(t->ofdm[1].bw20) << 24 | in __mt7601u_phy_set_channel()
430 int_to_s6(t->ofdm[0].bw20) << 16 | in __mt7601u_phy_set_channel()
431 int_to_s6(t->cck[1].bw20) << 8 | in __mt7601u_phy_set_channel()
432 int_to_s6(t->cck[0].bw20)); in __mt7601u_phy_set_channel()
638 int_to_s6(init_offset) & MT_TX_ALC_CFG_1_TEMP_COMP); in mt7601u_set_initial_tssi()
942 val = (val & ~MT_TX_ALC_CFG_1_TEMP_COMP) | int_to_s6(diff_pwr); in mt7601u_tssi_cal()