Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dwmt-sdmmc.c215 u32 reg_tmp; in wmt_set_sd_power() local
218 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
219 writeb(reg_tmp | BM_SD_OFF, in wmt_set_sd_power()
222 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
223 writeb(reg_tmp & (~BM_SD_OFF), in wmt_set_sd_power()
228 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
229 writeb(reg_tmp & (~BM_SD_OFF), in wmt_set_sd_power()
232 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
233 writeb(reg_tmp | BM_SD_OFF, in wmt_set_sd_power()
264 u32 reg_tmp; in wmt_mci_start_command() local
[all …]
/drivers/base/regmap/
Dregcache-rbtree.c263 unsigned int reg_tmp; in regcache_rbtree_read() local
267 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_read()
270 *value = regcache_rbtree_get_register(map, rbnode, reg_tmp); in regcache_rbtree_read()
313 unsigned int reg_tmp; in regcache_rbtree_write() local
329 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_write()
330 regcache_rbtree_set_register(map, rbnode, reg_tmp, value); in regcache_rbtree_write()
338 reg_tmp = rbnode_tmp->base_reg + in regcache_rbtree_write()
340 if (abs(reg_tmp - reg) != map->reg_stride) in regcache_rbtree_write()
343 if (reg_tmp + map->reg_stride == reg) in regcache_rbtree_write()
/drivers/hwmon/
Dw83l786ng.c669 u8 reg_tmp; in w83l786ng_probe() local
689 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_probe()
690 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
691 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_probe()
743 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local
769 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_update_device()
770 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
771 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()
794 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_TOLERANCE); in w83l786ng_update_device()
795 data->tolerance[0] = reg_tmp & 0x0f; in w83l786ng_update_device()
[all …]
Dw83792d.c1509 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local
1542 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device()
1543 data->pwmenable[0] = reg_tmp & 0x03; in w83792d_update_device()
1544 data->pwmenable[1] = (reg_tmp>>2) & 0x03; in w83792d_update_device()
1545 data->pwmenable[2] = (reg_tmp>>4) & 0x03; in w83792d_update_device()
1588 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device()
1589 data->tolerance[0] = reg_tmp & 0x0f; in w83792d_update_device()
1590 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83792d_update_device()
1605 reg_tmp = w83792d_read_value(client, in w83792d_update_device()
1607 data->sf2_levels[i][0] = reg_tmp & 0x0f; in w83792d_update_device()
[all …]
/drivers/net/wireless/rtlwifi/rtl8188ee/
Dhw.c426 u8 reg_tmp; in rtl88ee_set_hw_reg() local
428 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL+2); in rtl88ee_set_hw_reg()
430 reg_tmp |= 0x02; in rtl88ee_set_hw_reg()
431 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl88ee_set_hw_reg()
433 reg_tmp |= 0xFD; in rtl88ee_set_hw_reg()
434 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl88ee_set_hw_reg()
Dphy.c1887 long reg_e94, reg_e9c, reg_ea4, reg_eb4, reg_ebc, reg_tmp = 0; in rtl88e_phy_iq_calibrate() local
1935 reg_tmp += result[3][i]; in rtl88e_phy_iq_calibrate()
1937 if (reg_tmp != 0) in rtl88e_phy_iq_calibrate()
/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()
/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()
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhw.c215 u8 reg_tmp; in rtl8723ae_set_hw_reg() local
217 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl8723ae_set_hw_reg()
219 reg_tmp |= 0x80; in rtl8723ae_set_hw_reg()
221 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl8723ae_set_hw_reg()
Dphy.c1706 long reg_e94, reg_e9c, reg_ea4, reg_eb4, reg_ebc, reg_tmp = 0; in rtl8723ae_phy_iq_calibrate() local
1760 reg_tmp += result[3][i]; in rtl8723ae_phy_iq_calibrate()
1762 if (reg_tmp != 0) in rtl8723ae_phy_iq_calibrate()
/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()
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c1670 u8 reg_tmp; in rtl92cu_set_hw_reg() local
1672 reg_tmp = 0; in rtl92cu_set_hw_reg()
1674 reg_tmp |= 0x80; in rtl92cu_set_hw_reg()
1675 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92cu_set_hw_reg()
/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()