Lines Matching refs:tempsenseval2
3948 u16 tempsenseval1, tempsenseval2; in wlc_lcnphy_tempsense_new() local
3961 tempsenseval2 = read_phy_reg(pi, 0x477) & 0x1FF; in wlc_lcnphy_tempsense_new()
3968 if (tempsenseval2 > 255) in wlc_lcnphy_tempsense_new()
3969 avg += (s16) (tempsenseval2 - 512); in wlc_lcnphy_tempsense_new()
3971 avg += (s16) tempsenseval2; in wlc_lcnphy_tempsense_new()
3990 u16 tempsenseval1, tempsenseval2; in wlc_lcnphy_tempsense() local
4005 tempsenseval2 = read_phy_reg(pi, 0x477) & 0x1FF; in wlc_lcnphy_tempsense()
4013 if (tempsenseval2 > 255) in wlc_lcnphy_tempsense()
4014 avg = (int)(avg - tempsenseval2 + 512); in wlc_lcnphy_tempsense()
4016 avg = (int)(avg - tempsenseval2); in wlc_lcnphy_tempsense()
4018 if (tempsenseval2 > 255) in wlc_lcnphy_tempsense()
4019 avg = (int)(avg + tempsenseval2 - 512); in wlc_lcnphy_tempsense()
4021 avg = (int)(avg + tempsenseval2); in wlc_lcnphy_tempsense()