Lines Matching defs:code
291 static uint32_t _rx_offset_cal_updn(uint32_t code);
299 uint32_t init_cal[4]; /* Initial io-code (4 is for H3) */
300 uint32_t tcomp_cal[4]; /* Temp. compensated io-code (4 is for H3) */
3056 /* override term code after dfi_init_complete */
3931 static uint32_t _rx_offset_cal_updn(uint32_t code)
3937 if (code == 0)
3939 else if (code <= 0x20)
3942 (0x20 - code) * 2) << 6) | (CODE_MAX - 1);
3946 (code - 0x20) * 2);
3948 if (code == 0)
3951 tmp = (code << 6) | (CODE_MAX - code);
3959 uint32_t code;
3977 for (code = 0; code < CODE_MAX / CODE_STEP; code++) {
3978 tmp = _rx_offset_cal_updn(code * CODE_STEP);
3992 (1ULL << code);
3995 ~(1ULL << code);