Searched refs:sfr (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/media/dvb-frontends/ |
D | stb0899_algo.c | 41 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr) 48 tmp = (((u32)sfr[0]) << 16) | (((u32)sfr[1]) << 8) | sfr[2]; 63 u8 sfr[3]; 65 stb0899_read_regs(state, STB0899_SFRH, sfr, 3); 67 return stb0899_calc_srate(internal->master_clk, sfr); 81 u8 sfr[3]; in stb0899_set_srate() local 104 sfr[0] = tmp >> 16; in stb0899_set_srate() 105 sfr[1] = tmp >> 8; in stb0899_set_srate() 106 sfr[2] = tmp; in stb0899_set_srate() 108 stb0899_write_regs(state, STB0899_SFRH, sfr, 3); in stb0899_set_srate()
|
D | stv0299.c | 248 u8 sfr[3]; in stv0299_get_symbolrate() local 253 stv0299_readregs (state, 0x1f, sfr, 3); in stv0299_get_symbolrate() 256 srate = (sfr[0] << 8) | sfr[1]; in stv0299_get_symbolrate() 259 srate += (sfr[2] >> 4) * Mclk / 256; in stv0299_get_symbolrate()
|