Home
last modified time | relevance | path

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

/drivers/mmc/host/
Dwmt-sdmmc.c216 u32 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power() local
219 reg_tmp &= ~BM_SD_OFF; in wmt_set_sd_power()
221 reg_tmp |= BM_SD_OFF; in wmt_set_sd_power()
223 writeb(reg_tmp, priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power()
251 u32 reg_tmp; in wmt_mci_start_command() local
253 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command()
254 writeb(reg_tmp | CTLR_CMD_START, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command()
261 u32 reg_tmp; in wmt_mci_send_command() local
271 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command()
272 writeb(reg_tmp | CTLR_FIFO_RESET, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command()
[all …]
/drivers/hwmon/
Dw83l786ng.c168 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local
194 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_update_device()
195 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
196 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()
220 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_TOLERANCE); in w83l786ng_update_device()
221 data->tolerance[0] = reg_tmp & 0x0f; in w83l786ng_update_device()
222 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83l786ng_update_device()
728 u8 reg_tmp; in w83l786ng_probe() local
747 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_probe()
748 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
[all …]
Dw83792d.c1525 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local
1558 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device()
1559 data->pwmenable[0] = reg_tmp & 0x03; in w83792d_update_device()
1560 data->pwmenable[1] = (reg_tmp>>2) & 0x03; in w83792d_update_device()
1561 data->pwmenable[2] = (reg_tmp>>4) & 0x03; in w83792d_update_device()
1604 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device()
1605 data->tolerance[0] = reg_tmp & 0x0f; in w83792d_update_device()
1606 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83792d_update_device()
1621 reg_tmp = w83792d_read_value(client, in w83792d_update_device()
1623 data->sf2_levels[i][0] = reg_tmp & 0x0f; in w83792d_update_device()
[all …]
/drivers/base/regmap/
Dregcache-rbtree.c261 unsigned int reg_tmp; in regcache_rbtree_read() local
265 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_read()
266 if (!test_bit(reg_tmp, rbnode->cache_present)) in regcache_rbtree_read()
268 *value = regcache_rbtree_get_register(map, rbnode, reg_tmp); in regcache_rbtree_read()
390 unsigned int reg_tmp; in regcache_rbtree_write() local
400 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_write()
401 regcache_rbtree_set_register(map, rbnode, reg_tmp, value); in regcache_rbtree_write()
/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c2136 u32 reg_tmp; in hns_dsaf_update_stats() local
2147 reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : in hns_dsaf_update_stats()
2150 dsaf_read_dev(dsaf_dev, reg_tmp + 0x80 * (u64)node_num); in hns_dsaf_update_stats()
2173 reg_tmp = hns_dsaf_get_inode_prio_reg(i); in hns_dsaf_update_stats()
2175 reg_tmp + 0x4 * (u64)node_num); in hns_dsaf_update_stats()
2196 u32 reg_tmp; in hns_dsaf_get_regs() local
2262 reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : in hns_dsaf_get_regs()
2264 p[193 + i] = dsaf_read_dev(ddev, reg_tmp + j * 0x80); in hns_dsaf_get_regs()
Dhns_dsaf_rcb.c903 u32 reg_tmp; in hns_rcb_get_common_regs() local
958 reg_tmp = is_ver1 ? RCB_CFG_OVERTIME_REG : RCB_PORT_CFG_OVERTIME_REG; in hns_rcb_get_common_regs()
961 regs[70 + i] = dsaf_read_dev(rcb_com, reg_tmp); in hns_rcb_get_common_regs()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c434 u8 reg_tmp; in rtl88ee_set_hw_reg() local
436 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL+2); in rtl88ee_set_hw_reg()
438 reg_tmp |= 0x02; in rtl88ee_set_hw_reg()
440 2, reg_tmp); in rtl88ee_set_hw_reg()
442 reg_tmp |= 0xFD; in rtl88ee_set_hw_reg()
444 2, reg_tmp); in rtl88ee_set_hw_reg()
Dphy.c1968 reg_ecc, reg_tmp = 0; in rtl88e_phy_iq_calibrate() local
2027 reg_tmp += result[3][i]; in rtl88e_phy_iq_calibrate()
2029 if (reg_tmp != 0) in rtl88e_phy_iq_calibrate()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c471 u8 reg_tmp; in rtl8723be_set_hw_reg() local
473 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL + 2); in rtl8723be_set_hw_reg()
475 reg_tmp |= 0x02; in rtl8723be_set_hw_reg()
476 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl8723be_set_hw_reg()
478 reg_tmp &= 0xFD; in rtl8723be_set_hw_reg()
479 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl8723be_set_hw_reg()
Dphy.c2331 long reg_ecc, reg_tmp = 0; in rtl8723be_phy_iq_calibrate() local
2400 reg_tmp += result[3][i]; in rtl8723be_phy_iq_calibrate()
2402 if (reg_tmp != 0) in rtl8723be_phy_iq_calibrate()
/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu_8723b.c1103 s32 reg_tmp = 0; in rtl8723bu_phy_iq_calibrate() local
1142 reg_tmp += result[3][i]; in rtl8723bu_phy_iq_calibrate()
1144 if (reg_tmp) in rtl8723bu_phy_iq_calibrate()
Drtl8xxxu_core.c3339 s32 reg_tmp = 0; in rtl8xxxu_gen1_phy_iq_calibrate() local
3373 reg_tmp += result[3][i]; in rtl8xxxu_gen1_phy_iq_calibrate()
3375 if (reg_tmp) in rtl8xxxu_gen1_phy_iq_calibrate()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c244 u8 reg_tmp; in rtl92de_set_hw_reg() local
247 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92de_set_hw_reg()
249 reg_tmp |= 0x80; in rtl92de_set_hw_reg()
250 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92de_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c155 u8 reg_tmp; in rtl92se_set_hw_reg() local
157 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg()
159 reg_tmp |= 0x80; in rtl92se_set_hw_reg()
161 rtl_write_byte(rtlpriv, RRSR + 2, reg_tmp); in rtl92se_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c1674 u8 reg_tmp; in rtl92cu_set_hw_reg() local
1676 reg_tmp = 0; in rtl92cu_set_hw_reg()
1678 reg_tmp |= 0x80; in rtl92cu_set_hw_reg()
1679 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92cu_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c225 u8 reg_tmp; in rtl8723e_set_hw_reg() local
228 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl8723e_set_hw_reg()
230 reg_tmp |= 0x80; in rtl8723e_set_hw_reg()
232 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl8723e_set_hw_reg()
Dphy.c1372 reg_ecc, reg_tmp = 0; in rtl8723e_phy_iq_calibrate() local
1428 reg_tmp += result[3][i]; in rtl8723e_phy_iq_calibrate()
1430 if (reg_tmp != 0) in rtl8723e_phy_iq_calibrate()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c226 u8 reg_tmp; in rtl92ce_set_hw_reg() local
228 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92ce_set_hw_reg()
230 reg_tmp |= 0x80; in rtl92ce_set_hw_reg()
232 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92ce_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dphy_common.c1398 reg_ecc, reg_tmp = 0; in rtl92c_phy_iq_calibrate() local
1460 reg_tmp += result[3][i]; in rtl92c_phy_iq_calibrate()
1462 if (reg_tmp != 0) in rtl92c_phy_iq_calibrate()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c547 u8 reg_tmp; in rtl8821ae_set_hw_reg() local
550 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL+2); in rtl8821ae_set_hw_reg()
552 reg_tmp |= BIT(1); in rtl8821ae_set_hw_reg()
554 reg_tmp); in rtl8821ae_set_hw_reg()
556 reg_tmp &= (~BIT(1)); in rtl8821ae_set_hw_reg()
559 reg_tmp); in rtl8821ae_set_hw_reg()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c483 u8 reg_tmp; in rtl92ee_set_hw_reg() local
486 reg_tmp = (rtlpriv->mac80211.cur_40_prime_sc) << 5; in rtl92ee_set_hw_reg()
488 reg_tmp |= 0x80; in rtl92ee_set_hw_reg()
489 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92ee_set_hw_reg()