/linux-6.6.21/drivers/mmc/host/ |
D | wmt-sdmmc.c | 212 u32 reg_tmp = readb(priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power() local 215 reg_tmp &= ~BM_SD_OFF; in wmt_set_sd_power() 217 reg_tmp |= BM_SD_OFF; in wmt_set_sd_power() 219 writeb(reg_tmp, priv->sdmmc_base + SDMMC_BUSMODE); in wmt_set_sd_power() 247 u32 reg_tmp; in wmt_mci_start_command() local 249 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command() 250 writeb(reg_tmp | CTLR_CMD_START, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_start_command() 257 u32 reg_tmp; in wmt_mci_send_command() local 267 reg_tmp = readb(priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command() 268 writeb(reg_tmp | CTLR_FIFO_RESET, priv->sdmmc_base + SDMMC_CTLR); in wmt_mci_send_command() [all …]
|
/linux-6.6.21/drivers/hwmon/ |
D | w83l786ng.c | 154 u8 reg_tmp, pwmcfg; in w83l786ng_update_device() local 180 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_update_device() 181 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device() 182 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device() 206 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_TOLERANCE); in w83l786ng_update_device() 207 data->tolerance[0] = reg_tmp & 0x0f; in w83l786ng_update_device() 208 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83l786ng_update_device() 714 u8 reg_tmp; in w83l786ng_probe() local 733 reg_tmp = w83l786ng_read_value(client, W83L786NG_REG_FAN_DIV); in w83l786ng_probe() 734 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe() [all …]
|
D | w83792d.c | 1483 u8 reg_array_tmp[4], reg_tmp; in w83792d_update_device() local 1516 reg_tmp = w83792d_read_value(client, W83792D_REG_FAN_CFG); in w83792d_update_device() 1517 data->pwmenable[0] = reg_tmp & 0x03; in w83792d_update_device() 1518 data->pwmenable[1] = (reg_tmp>>2) & 0x03; in w83792d_update_device() 1519 data->pwmenable[2] = (reg_tmp>>4) & 0x03; in w83792d_update_device() 1562 reg_tmp = w83792d_read_value(client, W83792D_REG_TOLERANCE[0]); in w83792d_update_device() 1563 data->tolerance[0] = reg_tmp & 0x0f; in w83792d_update_device() 1564 data->tolerance[1] = (reg_tmp >> 4) & 0x0f; in w83792d_update_device() 1579 reg_tmp = w83792d_read_value(client, in w83792d_update_device() 1581 data->sf2_levels[i][0] = reg_tmp & 0x0f; in w83792d_update_device() [all …]
|
/linux-6.6.21/drivers/base/regmap/ |
D | regcache-rbtree.c | 246 unsigned int reg_tmp; in regcache_rbtree_read() local 250 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_read() 251 if (!test_bit(reg_tmp, rbnode->cache_present)) in regcache_rbtree_read() 253 *value = regcache_rbtree_get_register(map, rbnode, reg_tmp); in regcache_rbtree_read() 374 unsigned int reg_tmp; in regcache_rbtree_write() local 384 reg_tmp = (reg - rbnode->base_reg) / map->reg_stride; in regcache_rbtree_write() 385 regcache_rbtree_set_register(map, rbnode, reg_tmp, value); in regcache_rbtree_write()
|
/linux-6.6.21/drivers/usb/serial/ |
D | f81534.c | 411 u16 reg_tmp; in f81534_read_flash() local 441 reg_tmp = F81534_BUS_REG_END; in f81534_read_flash() 443 reg_tmp = F81534_BUS_REG_START; in f81534_read_flash() 449 status = f81534_set_spi_register(serial, reg_tmp, in f81534_read_flash()
|
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 971 u32 reg_tmp; in hns_rcb_get_common_regs() local 1026 reg_tmp = is_ver1 ? RCB_CFG_OVERTIME_REG : RCB_PORT_CFG_OVERTIME_REG; in hns_rcb_get_common_regs() 1029 regs[70 + i] = dsaf_read_dev(rcb_com, reg_tmp); in hns_rcb_get_common_regs()
|
D | hns_dsaf_main.c | 2209 u32 reg_tmp; in hns_dsaf_update_stats() local 2220 reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : in hns_dsaf_update_stats() 2223 dsaf_read_dev(dsaf_dev, reg_tmp + 0x80 * (u64)node_num); in hns_dsaf_update_stats() 2246 reg_tmp = hns_dsaf_get_inode_prio_reg(i); in hns_dsaf_update_stats() 2248 reg_tmp + 0x4 * (u64)node_num); in hns_dsaf_update_stats() 2270 u32 reg_tmp; in hns_dsaf_get_regs() local 2336 reg_tmp = is_ver1 ? DSAF_INODE_FINAL_IN_PAUSE_NUM_0_REG : in hns_dsaf_get_regs() 2338 p[193 + i] = dsaf_read_dev(ddev, reg_tmp + j * 0x80); in hns_dsaf_get_regs()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 418 u8 reg_tmp; in rtl88ee_set_hw_reg() local 420 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL+2); in rtl88ee_set_hw_reg() 422 reg_tmp |= 0x02; in rtl88ee_set_hw_reg() 424 2, reg_tmp); in rtl88ee_set_hw_reg() 426 reg_tmp |= 0xFD; in rtl88ee_set_hw_reg() 428 2, reg_tmp); in rtl88ee_set_hw_reg()
|
D | phy.c | 1926 reg_tmp = 0; in rtl88e_phy_iq_calibrate() local 1984 reg_tmp += result[3][i]; in rtl88e_phy_iq_calibrate() 1986 if (reg_tmp != 0) in rtl88e_phy_iq_calibrate()
|
/linux-6.6.21/sound/soc/codecs/ |
D | tlv320dac33.c | 854 unsigned int oscset, ratioset, pwr_ctrl, reg_tmp; in dac33_prepare_chip() local 906 reg_tmp = dac33_read_reg_cache(component, DAC33_INT_OSC_CTRL); in dac33_prepare_chip() 907 dac33_write(component, DAC33_INT_OSC_CTRL, reg_tmp); in dac33_prepare_chip()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 454 u8 reg_tmp; in rtl8723be_set_hw_reg() local 456 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL + 2); in rtl8723be_set_hw_reg() 458 reg_tmp |= 0x02; in rtl8723be_set_hw_reg() 459 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl8723be_set_hw_reg() 461 reg_tmp &= 0xFD; in rtl8723be_set_hw_reg() 462 rtl_write_byte(rtlpriv, REG_TRXPTCL_CTL + 2, reg_tmp); in rtl8723be_set_hw_reg()
|
D | phy.c | 2253 long reg_tmp = 0; in rtl8723be_phy_iq_calibrate() local 2322 reg_tmp += result[3][i]; in rtl8723be_phy_iq_calibrate() 2324 if (reg_tmp != 0) in rtl8723be_phy_iq_calibrate()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtl8xxxu/ |
D | rtl8xxxu_8188f.c | 1227 s32 reg_tmp = 0; in rtl8188fu_phy_iq_calibrate() local 1263 reg_tmp += result[3][i]; in rtl8188fu_phy_iq_calibrate() 1265 if (reg_tmp) in rtl8188fu_phy_iq_calibrate()
|
D | rtl8xxxu_8710b.c | 1429 s32 reg_tmp = 0; in rtl8710bu_phy_iq_calibrate() local 1464 reg_tmp += result[3][i]; in rtl8710bu_phy_iq_calibrate() 1466 if (reg_tmp) in rtl8710bu_phy_iq_calibrate()
|
D | rtl8xxxu_8723b.c | 1127 s32 reg_tmp = 0; in rtl8723bu_phy_iq_calibrate() local 1166 reg_tmp += result[3][i]; in rtl8723bu_phy_iq_calibrate() 1168 if (reg_tmp) in rtl8723bu_phy_iq_calibrate()
|
D | rtl8xxxu_8192f.c | 1469 s32 reg_tmp = 0; in rtl8192fu_phy_iq_calibrate() local 1509 reg_tmp += result[3][i]; in rtl8192fu_phy_iq_calibrate() 1511 if (reg_tmp) in rtl8192fu_phy_iq_calibrate()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 217 u8 reg_tmp; in rtl92de_set_hw_reg() local 220 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92de_set_hw_reg() 222 reg_tmp |= 0x80; in rtl92de_set_hw_reg() 223 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92de_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | phy.c | 1339 reg_tmp = 0; in rtl8723e_phy_iq_calibrate() local 1394 reg_tmp += result[3][i]; in rtl8723e_phy_iq_calibrate() 1396 if (reg_tmp != 0) in rtl8723e_phy_iq_calibrate()
|
D | hw.c | 203 u8 reg_tmp; in rtl8723e_set_hw_reg() local 206 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl8723e_set_hw_reg() 208 reg_tmp |= 0x80; in rtl8723e_set_hw_reg() 210 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl8723e_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 1641 u8 reg_tmp; in rtl92cu_set_hw_reg() local 1644 reg_tmp = 0; in rtl92cu_set_hw_reg() 1646 reg_tmp |= 0x80; in rtl92cu_set_hw_reg() 1647 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92cu_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 127 u8 reg_tmp; in rtl92se_set_hw_reg() local 129 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92se_set_hw_reg() 131 reg_tmp |= 0x80; in rtl92se_set_hw_reg() 133 rtl_write_byte(rtlpriv, RRSR + 2, reg_tmp); in rtl92se_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 199 u8 reg_tmp; in rtl92ce_set_hw_reg() local 202 reg_tmp = (mac->cur_40_prime_sc) << 5; in rtl92ce_set_hw_reg() 204 reg_tmp |= 0x80; in rtl92ce_set_hw_reg() 206 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92ce_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
D | phy_common.c | 1360 reg_tmp = 0; in rtl92c_phy_iq_calibrate() local 1422 reg_tmp += result[3][i]; in rtl92c_phy_iq_calibrate() 1424 if (reg_tmp != 0) in rtl92c_phy_iq_calibrate()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 529 u8 reg_tmp; in rtl8821ae_set_hw_reg() local 532 reg_tmp = rtl_read_byte(rtlpriv, REG_TRXPTCL_CTL+2); in rtl8821ae_set_hw_reg() 534 reg_tmp |= BIT(1); in rtl8821ae_set_hw_reg() 536 reg_tmp); in rtl8821ae_set_hw_reg() 538 reg_tmp &= (~BIT(1)); in rtl8821ae_set_hw_reg() 541 reg_tmp); in rtl8821ae_set_hw_reg()
|
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 461 u8 reg_tmp; in rtl92ee_set_hw_reg() local 464 reg_tmp = (rtlpriv->mac80211.cur_40_prime_sc) << 5; in rtl92ee_set_hw_reg() 466 reg_tmp |= 0x80; in rtl92ee_set_hw_reg() 467 rtl_write_byte(rtlpriv, REG_RRSR + 2, reg_tmp); in rtl92ee_set_hw_reg()
|