Searched refs:int_to_s6 (Results 1 – 4 of 4) sorted by relevance
139 static inline u32 int_to_s6(int val) in int_to_s6() function
301 ret |= (u32)(int_to_s6(tmp)) << i*8; in calc_bw40_power_rate()
141 static inline u32 int_to_s6(int val) in int_to_s6() function
437 mt7601u_wr(dev, MT_TX_PWR_CFG_0, int_to_s6(t->ofdm[1].bw20) << 24 | in __mt7601u_phy_set_channel()438 int_to_s6(t->ofdm[0].bw20) << 16 | in __mt7601u_phy_set_channel()439 int_to_s6(t->cck[1].bw20) << 8 | in __mt7601u_phy_set_channel()440 int_to_s6(t->cck[0].bw20)); in __mt7601u_phy_set_channel()643 int_to_s6(init_offset) & MT_TX_ALC_CFG_1_TEMP_COMP); in mt7601u_set_initial_tssi()947 val = (val & ~MT_TX_ALC_CFG_1_TEMP_COMP) | int_to_s6(diff_pwr); in mt7601u_tssi_cal()