Searched refs:SIGN_EXT (Results 1 – 3 of 3) sorted by relevance
369 #define SIGN_EXT(u16, algebra) \ macro416 bswap16(u16) : SIGN_EXT(u16, algebra); in do_lst()
2033 #define SIGN_EXT(v) (((v) ^ 0x100) - 0x100) in ar9003_read_noisefloor() macro2040 nf[i] = SIGN_EXT(nf[i]); in ar9003_read_noisefloor()2044 nf_ext[i] = SIGN_EXT(nf_ext[i]); in ar9003_read_noisefloor()2046 #undef SIGN_EXT in ar9003_read_noisefloor()2316 #define SIGN_EXT(v) (((v) ^ 0x800) - 0x800) in ar9003_get_iq_corr() macro2348 m = SIGN_EXT(val[i][j].m); in ar9003_get_iq_corr()2349 p = SIGN_EXT(val[i][j].p); in ar9003_get_iq_corr()2350 c = SIGN_EXT(val[i][j].c); in ar9003_get_iq_corr()2429 #undef SIGN_EXT in ar9003_get_iq_corr()
1860 #define SIGN_EXT(v) (((v) ^ 0x100) - 0x100) in ar5008_read_noisefloor() macro1870 nf[i] = SIGN_EXT(nf[i]); in ar5008_read_noisefloor()1877 nf_ext[i] = SIGN_EXT(nf_ext[i]); in ar5008_read_noisefloor()1879 #undef SIGN_EXT in ar5008_read_noisefloor()