Lines Matching refs:l64781_readreg
53 static int l64781_readreg (struct l64781_state* state, u8 reg) in l64781_readreg() function
226 l64781_readreg (state, 0x00); /* clear interrupt registers... */ in apply_frontend_param()
227 l64781_readreg (state, 0x01); /* dto. */ in apply_frontend_param()
241 tmp = l64781_readreg(state, 0x04); in get_frontend()
267 tmp = l64781_readreg(state, 0x05); in get_frontend()
307 tmp = l64781_readreg(state, 0x06); in get_frontend()
339 tmp = l64781_readreg (state, 0x1d); in get_frontend()
342 tmp = (int) (l64781_readreg (state, 0x08) | in get_frontend()
343 (l64781_readreg (state, 0x09) << 8) | in get_frontend()
344 (l64781_readreg (state, 0x0a) << 16)); in get_frontend()
353 int sync = l64781_readreg (state, 0x32); in l64781_read_status()
354 int gain = l64781_readreg (state, 0x0e); in l64781_read_status()
356 l64781_readreg (state, 0x00); /* clear interrupt registers... */ in l64781_read_status()
357 l64781_readreg (state, 0x01); /* dto. */ in l64781_read_status()
385 *ber = l64781_readreg (state, 0x39) in l64781_read_ber()
386 | (l64781_readreg (state, 0x3a) << 8); in l64781_read_ber()
395 u8 gain = l64781_readreg (state, 0x0e); in l64781_read_signal_strength()
405 u8 avg_quality = 0xff - l64781_readreg (state, 0x33); in l64781_read_snr()
415 *ucblocks = l64781_readreg (state, 0x37) in l64781_read_ucblocks()
416 | (l64781_readreg (state, 0x38) << 8); in l64781_read_ucblocks()
524 reg0x3e = l64781_readreg(state, 0x3e); in l64781_attach()
536 if (l64781_readreg(state, 0x1a) != 0) { in l64781_attach()
545 if (l64781_readreg(state, 0x1a) != 0xa1) { in l64781_attach()