Home
last modified time | relevance | path

Searched refs:sfr (Results 1 – 6 of 6) sorted by relevance

/drivers/hwmon/
Dsmsc47m192.c126 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); in smsc47m192_update_device() local
153 if (sfr & 0x10) { in smsc47m192_update_device()
357 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); in set_temp_offset() local
376 (sfr & 0xef) | (nr == 0 ? 0x10 : 0)); in set_temp_offset()
380 } else if ((sfr & 0x10) == (nr == 0 ? 0x10 : 0)) in set_temp_offset()
532 u8 sfr = i2c_smbus_read_byte_data(client, SMSC47M192_REG_SFR); in smsc47m192_init_client() local
536 (sfr & 0xfd) | 0x02); in smsc47m192_init_client()
/drivers/video/fbdev/omap2/dss/
Dhdmi5_core.c62 unsigned long long sfr; in hdmi_core_ddc_init() local
65 sfr = iclk / sfr_div; /* SFR_DIV */ in hdmi_core_ddc_init()
66 sfr /= 1000; /* SFR clock in kHz */ in hdmi_core_ddc_init()
78 v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); in hdmi_core_ddc_init()
85 v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); in hdmi_core_ddc_init()
92 v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); in hdmi_core_ddc_init()
99 v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); in hdmi_core_ddc_init()
106 v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); in hdmi_core_ddc_init()
/drivers/media/dvb-frontends/
Dstb0899_algo.c40 static u32 stb0899_calc_srate(u32 master_clk, u8 *sfr)
47 tmp = (((u32)sfr[0]) << 16) | (((u32)sfr[1]) << 8) | sfr[2];
62 u8 sfr[3];
64 stb0899_read_regs(state, STB0899_SFRH, sfr, 3);
66 return stb0899_calc_srate(internal->master_clk, sfr);
80 u8 sfr[3]; in stb0899_set_srate() local
103 sfr[0] = tmp >> 16; in stb0899_set_srate()
104 sfr[1] = tmp >> 8; in stb0899_set_srate()
105 sfr[2] = tmp; in stb0899_set_srate()
107 stb0899_write_regs(state, STB0899_SFRH, sfr, 3); in stb0899_set_srate()
Dstv0299.c247 u8 sfr[3]; in stv0299_get_symbolrate() local
252 stv0299_readregs (state, 0x1f, sfr, 3); in stv0299_get_symbolrate()
255 srate = (sfr[0] << 8) | sfr[1]; in stv0299_get_symbolrate()
258 srate += (sfr[2] >> 4) * Mclk / 256; in stv0299_get_symbolrate()
/drivers/power/
Dds2781_battery.c593 u8 sfr; in ds2781_get_pio_pin() local
597 ret = ds2781_read8(dev_info, &sfr, DS2781_SFR); in ds2781_get_pio_pin()
601 ret = sprintf(buf, "%d\n", sfr & DS2781_SFR_PIOSC); in ds2781_get_pio_pin()
Dds2780_battery.c591 u8 sfr; in ds2780_get_pio_pin() local
595 ret = ds2780_read8(dev_info, &sfr, DS2780_SFR_REG); in ds2780_get_pio_pin()
599 ret = sprintf(buf, "%d\n", sfr & DS2780_SFR_REG_PIOSC); in ds2780_get_pio_pin()