Home
last modified time | relevance | path

Searched refs:reg_tmp (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/base/regmap/
Dregcache-rbtree.c254 unsigned int reg_tmp; in regcache_rbtree_read() local
258 reg_tmp = reg - rbnode->base_reg; in regcache_rbtree_read()
259 *value = regcache_rbtree_get_register(rbnode, reg_tmp, in regcache_rbtree_read()
302 unsigned int reg_tmp; in regcache_rbtree_write() local
313 reg_tmp = reg - rbnode->base_reg; in regcache_rbtree_write()
314 val = regcache_rbtree_get_register(rbnode, reg_tmp, in regcache_rbtree_write()
318 regcache_rbtree_set_register(rbnode, reg_tmp, value, in regcache_rbtree_write()
326 reg_tmp = rbnode_tmp->base_reg + i; in regcache_rbtree_write()
327 if (abs(reg_tmp - reg) != 1) in regcache_rbtree_write()
330 if (reg_tmp + 1 == reg) in regcache_rbtree_write()
/linux-3.4.99/drivers/hwmon/
Dw83l786ng.c671 u8 reg_tmp; in w83l786ng_probe() local
692 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_probe()
693 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
694 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_probe()
750 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local
776 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_update_device()
777 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
778 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()
802 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_TOLERANCE); in w83l786ng_update_device()
803 data->tolerance[0] = reg_tmp & 0x0f; in w83l786ng_update_device()
[all …]
Dw83792d.c1566 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local
1599 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device()
1600 data->pwmenable[0] = reg_tmp & 0x03; in w83792d_update_device()
1601 data->pwmenable[1] = (reg_tmp>>2) & 0x03; in w83792d_update_device()
1602 data->pwmenable[2] = (reg_tmp>>4) & 0x03; in w83792d_update_device()
1647 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device()
1648 data->tolerance[0] = reg_tmp & 0x0f; in w83792d_update_device()
1649 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83792d_update_device()
1664 reg_tmp = w83792d_read_value(client, in w83792d_update_device()
1666 data->sf2_levels[i][0] = reg_tmp & 0x0f; in w83792d_update_device()
[all …]
/linux-3.4.99/sound/soc/codecs/
Dtlv320dac33.c876 unsigned int oscset, ratioset, pwr_ctrl, reg_tmp; in dac33_prepare_chip() local
928 reg_tmp = dac33_read_reg_cache(codec, DAC33_INT_OSC_CTRL); in dac33_prepare_chip()
929 dac33_write(codec, DAC33_INT_OSC_CTRL, reg_tmp); in dac33_prepare_chip()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c222 u8 reg_tmp; in rtl92ce_set_hw_reg() local
224 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92ce_set_hw_reg()
226 reg_tmp |= 0x80; in rtl92ce_set_hw_reg()
228 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92ce_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c153 u8 reg_tmp; in rtl92se_set_hw_reg() local
155 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg()
157 reg_tmp |= 0x80; in rtl92se_set_hw_reg()
159 rtl_write_byte(rtlpriv, RRSR + 2, reg_tmp); in rtl92se_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192de/
Dhw.c242 u8 reg_tmp; in rtl92de_set_hw_reg() local
245 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92de_set_hw_reg()
247 reg_tmp |= 0x80; in rtl92de_set_hw_reg()
248 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92de_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1683 u8 reg_tmp; in rtl92cu_set_hw_reg() local
1685 reg_tmp = 0; in rtl92cu_set_hw_reg()
1687 reg_tmp |= 0x80; in rtl92cu_set_hw_reg()
1688 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92cu_set_hw_reg()
/linux-3.4.99/drivers/net/wireless/rtlwifi/rtl8192c/
Dphy_common.c1690 long reg_e94, reg_e9c, reg_ea4, reg_eb4, reg_ebc, reg_ec4, reg_tmp = 0; in rtl92c_phy_iq_calibrate() local
1755 reg_tmp += result[3][i]; in rtl92c_phy_iq_calibrate()
1757 if (reg_tmp != 0) in rtl92c_phy_iq_calibrate()