Home
last modified time | relevance | path

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

/openbsd/sys/dev/ic/
H A Dar9003.c1942 #define SIGN_EXT(v) (((v) ^ 0x100) - 0x100) in ar9003_read_noisefloor() macro
1949 nf[i] = SIGN_EXT(nf[i]); in ar9003_read_noisefloor()
1953 nf_ext[i] = SIGN_EXT(nf_ext[i]); in ar9003_read_noisefloor()
1955 #undef SIGN_EXT in ar9003_read_noisefloor()
2222 #define SIGN_EXT(v) (((v) ^ 0x800) - 0x800) in ar9003_get_iq_corr() macro
2253 m = SIGN_EXT(val[i][j].m); in ar9003_get_iq_corr()
2254 p = SIGN_EXT(val[i][j].p); in ar9003_get_iq_corr()
2255 c = SIGN_EXT(val[i][j].c); in ar9003_get_iq_corr()
2334 #undef SIGN_EXT in ar9003_get_iq_corr()
H A Dar5008.c2002 #define SIGN_EXT(v) (((v) ^ 0x100) - 0x100) in ar5008_read_noisefloor() macro
2012 nf[i] = SIGN_EXT(nf[i]); in ar5008_read_noisefloor()
2019 nf_ext[i] = SIGN_EXT(nf_ext[i]); in ar5008_read_noisefloor()
2021 #undef SIGN_EXT in ar5008_read_noisefloor()