Lines Matching refs:zl10353_read_register
77 static int zl10353_read_register(struct zl10353_state *state, u8 reg)
113 ret = zl10353_read_register(state, reg);
404 s6 = zl10353_read_register(state, STATUS_6);
405 s9 = zl10353_read_register(state, STATUS_9);
411 tps = zl10353_read_register(state, TPS_RECEIVED_1) << 8 |
412 zl10353_read_register(state, TPS_RECEIVED_0);
483 if ((s6 = zl10353_read_register(state, STATUS_6)) < 0)
485 if ((s7 = zl10353_read_register(state, STATUS_7)) < 0)
487 if ((s8 = zl10353_read_register(state, STATUS_8)) < 0)
513 *ber = zl10353_read_register(state, RS_ERR_CNT_2) << 16 |
514 zl10353_read_register(state, RS_ERR_CNT_1) << 8 |
515 zl10353_read_register(state, RS_ERR_CNT_0);
524 u16 signal = zl10353_read_register(state, AGC_GAIN_1) << 10 |
525 zl10353_read_register(state, AGC_GAIN_0) << 2 | 3;
540 _snr = zl10353_read_register(state, SNR);
551 ubl = zl10353_read_register(state, RS_UBC_1) << 8 |
552 zl10353_read_register(state, RS_UBC_0);
587 if (zl10353_read_register(state, 0x50) != zl10353_reset_attach[1] ||
588 zl10353_read_register(state, 0x51) != zl10353_reset_attach[2]) {
639 id = zl10353_read_register(state, CHIP_ID);