Lines Matching refs:si21_readreg
281 static u8 si21_readreg(struct si21xx_state *state, u8 reg)
340 while ((si21_readreg(state, LNB_CTRL_REG_1) & 0x8) == 8) {
420 val = (0x80 | si21_readreg(state, 0xc1));
440 val = (0x80 | si21_readreg(state, LNB_CTRL_REG_1));
464 val = (0x80 | si21_readreg(state, LNB_CTRL_REG_1));
543 u8 signal = si21_readreg(state, ANALOG_AGC_POWER_LEVEL_REG);
578 /*status = si21_readreg(state, ANALOG_AGC_POWER_LEVEL_REG,
581 u16 signal = (3 * si21_readreg(state, 0x27) *
582 si21_readreg(state, 0x28));
585 si21_readreg(state, 0x27),
586 si21_readreg(state, 0x28), (int) signal);
603 *ber = (si21_readreg(state, 0x1d) << 8) |
604 si21_readreg(state, 0x1e);
613 s32 xsnr = 0xffff - ((si21_readreg(state, 0x24) << 8) |
614 si21_readreg(state, 0x25));
632 *ucblocks = (si21_readreg(state, 0x1d) << 8) |
633 si21_readreg(state, 0x1e);
936 id = si21_readreg(state, SYSTEM_MODE_REG);
939 id = si21_readreg(state, 0x00);