/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | sumo_smc.c | 167 u32 regoffset = 0; in sumo_set_tdp_limit() local 174 regoffset = RCU_SclkDpmTdpLimit01; in sumo_set_tdp_limit() 178 regoffset = RCU_SclkDpmTdpLimit01; in sumo_set_tdp_limit() 182 regoffset = RCU_SclkDpmTdpLimit23; in sumo_set_tdp_limit() 186 regoffset = RCU_SclkDpmTdpLimit23; in sumo_set_tdp_limit() 190 regoffset = RCU_SclkDpmTdpLimit47; in sumo_set_tdp_limit() 194 regoffset = RCU_SclkDpmTdpLimit47; in sumo_set_tdp_limit() 201 sclk_dpm_tdp_limit = RREG32_RCU(regoffset); in sumo_set_tdp_limit() 204 WREG32_RCU(regoffset, sclk_dpm_tdp_limit); in sumo_set_tdp_limit()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | rf.c | 324 u16 regoffset; in _rtl92c_write_ofdm_power_reg() local 339 regoffset = regoffset_a[index]; in _rtl92c_write_ofdm_power_reg() 341 regoffset = regoffset_b[index]; in _rtl92c_write_ofdm_power_reg() 342 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92c_write_ofdm_power_reg() 345 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl92c_write_ofdm_power_reg() 348 (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92c_write_ofdm_power_reg() 349 regoffset == RTXAGC_B_MCS15_MCS12)) || in _rtl92c_write_ofdm_power_reg() 351 (regoffset == RTXAGC_A_MCS07_MCS04 || in _rtl92c_write_ofdm_power_reg() 352 regoffset == RTXAGC_B_MCS07_MCS04))) { in _rtl92c_write_ofdm_power_reg() 355 if (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92c_write_ofdm_power_reg() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | rf.c | 298 u16 regoffset; in _rtl92c_write_ofdm_power_reg() local 311 regoffset = regoffset_a[index]; in _rtl92c_write_ofdm_power_reg() 313 regoffset = regoffset_b[index]; in _rtl92c_write_ofdm_power_reg() 314 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92c_write_ofdm_power_reg() 316 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl92c_write_ofdm_power_reg() 318 (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92c_write_ofdm_power_reg() 319 regoffset == RTXAGC_B_MCS15_MCS12)) || in _rtl92c_write_ofdm_power_reg() 321 (regoffset == RTXAGC_A_MCS07_MCS04 || in _rtl92c_write_ofdm_power_reg() 322 regoffset == RTXAGC_B_MCS07_MCS04))) { in _rtl92c_write_ofdm_power_reg() 324 if (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92c_write_ofdm_power_reg() [all …]
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | rf.c | 336 u16 regoffset; in _rtl8723e_write_ofdm_power_reg() local 351 regoffset = regoffset_a[index]; in _rtl8723e_write_ofdm_power_reg() 353 regoffset = regoffset_b[index]; in _rtl8723e_write_ofdm_power_reg() 354 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723e_write_ofdm_power_reg() 357 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl8723e_write_ofdm_power_reg() 360 (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl8723e_write_ofdm_power_reg() 361 regoffset == RTXAGC_B_MCS15_MCS12)) || in _rtl8723e_write_ofdm_power_reg() 363 (regoffset == RTXAGC_A_MCS07_MCS04 || in _rtl8723e_write_ofdm_power_reg() 364 regoffset == RTXAGC_B_MCS07_MCS04))) { in _rtl8723e_write_ofdm_power_reg() 367 if (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl8723e_write_ofdm_power_reg() [all …]
|
/Linux-v5.4/drivers/gpio/ |
D | gpio-tc3589x.c | 159 int regoffset = offset / 8; in tc3589x_gpio_irq_set_type() local 163 tc3589x_gpio->regs[REG_IBE][regoffset] |= mask; in tc3589x_gpio_irq_set_type() 167 tc3589x_gpio->regs[REG_IBE][regoffset] &= ~mask; in tc3589x_gpio_irq_set_type() 170 tc3589x_gpio->regs[REG_IS][regoffset] |= mask; in tc3589x_gpio_irq_set_type() 172 tc3589x_gpio->regs[REG_IS][regoffset] &= ~mask; in tc3589x_gpio_irq_set_type() 175 tc3589x_gpio->regs[REG_IEV][regoffset] |= mask; in tc3589x_gpio_irq_set_type() 177 tc3589x_gpio->regs[REG_IEV][regoffset] &= ~mask; in tc3589x_gpio_irq_set_type() 224 int regoffset = offset / 8; in tc3589x_gpio_irq_mask() local 227 tc3589x_gpio->regs[REG_IE][regoffset] &= ~mask; in tc3589x_gpio_irq_mask() 235 int regoffset = offset / 8; in tc3589x_gpio_irq_unmask() local [all …]
|
D | gpio-stmpe.c | 142 int regoffset = offset / 8; in stmpe_gpio_irq_set_type() local 154 stmpe_gpio->regs[REG_RE][regoffset] |= mask; in stmpe_gpio_irq_set_type() 156 stmpe_gpio->regs[REG_RE][regoffset] &= ~mask; in stmpe_gpio_irq_set_type() 159 stmpe_gpio->regs[REG_FE][regoffset] |= mask; in stmpe_gpio_irq_set_type() 161 stmpe_gpio->regs[REG_FE][regoffset] &= ~mask; in stmpe_gpio_irq_set_type() 230 int regoffset = offset / 8; in stmpe_gpio_irq_mask() local 233 stmpe_gpio->regs[REG_IE][regoffset] &= ~mask; in stmpe_gpio_irq_mask() 241 int regoffset = offset / 8; in stmpe_gpio_irq_unmask() local 244 stmpe_gpio->regs[REG_IE][regoffset] |= mask; in stmpe_gpio_irq_unmask()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 320 u16 regoffset; in _rtl92d_write_ofdm_power_reg() local 333 regoffset = regoffset_a[index]; in _rtl92d_write_ofdm_power_reg() 335 regoffset = regoffset_b[index]; in _rtl92d_write_ofdm_power_reg() 336 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl92d_write_ofdm_power_reg() 338 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl92d_write_ofdm_power_reg() 340 (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92d_write_ofdm_power_reg() 341 regoffset == RTXAGC_B_MCS15_MCS12)) || in _rtl92d_write_ofdm_power_reg() 343 (regoffset == RTXAGC_A_MCS07_MCS04 || in _rtl92d_write_ofdm_power_reg() 344 regoffset == RTXAGC_B_MCS07_MCS04))) { in _rtl92d_write_ofdm_power_reg() 346 if (regoffset == RTXAGC_A_MCS15_MCS12 || in _rtl92d_write_ofdm_power_reg() [all …]
|
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | dac.c | 241 uint32_t sample, testval, regoffset = nv04_dac_output_offset(encoder); in nv17_dac_sample_load() local 259 saved_rtest_ctrl = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv17_dac_sample_load() 260 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset, in nv17_dac_sample_load() 266 if (regoffset == 0x68) { in nv17_dac_sample_load() 280 saved_routput = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset); in nv17_dac_sample_load() 297 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, routput); in nv17_dac_sample_load() 300 temp = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset); in nv17_dac_sample_load() 301 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, temp | 1); in nv17_dac_sample_load() 310 sample = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv17_dac_sample_load() 312 sample &= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv17_dac_sample_load() [all …]
|
D | tvnv17.c | 50 uint32_t testval, regoffset = nv04_dac_output_offset(encoder); in nv42_tv_sample_load() local 61 dacclk = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset); in nv42_tv_sample_load() 71 test_ctrl = NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset); in nv42_tv_sample_load() 90 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset, 0); in nv42_tv_sample_load() 92 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, in nv42_tv_sample_load() 95 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, in nv42_tv_sample_load() 104 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) in nv42_tv_sample_load() 110 sample |= NVReadRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset) in nv42_tv_sample_load() 117 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + regoffset, dacclk); in nv42_tv_sample_load() 118 NVWriteRAMDAC(dev, 0, NV_PRAMDAC_TEST_CONTROL + regoffset, test_ctrl); in nv42_tv_sample_load()
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | picoxcell-pc3x3.dtsi | 254 regoffset-dat = <0x50>; 255 regoffset-set = <0x00>; 256 regoffset-dirout = <0x04>; 265 regoffset-dat = <0x54>; 266 regoffset-set = <0x0c>; 267 regoffset-dirout = <0x10>; 276 regoffset-dat = <0x5c>; 277 regoffset-set = <0x24>; 278 regoffset-dirout = <0x28>;
|
D | picoxcell-pc3x2.dtsi | 171 regoffset-dat = <0x50>; 172 regoffset-set = <0x00>; 173 regoffset-dirout = <0x04>; 182 regoffset-dat = <0x54>; 183 regoffset-set = <0x0c>; 184 regoffset-dirout = <0x10>;
|
/Linux-v5.4/arch/arm/mach-omap1/ |
D | board-sx1.h | 44 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value); 45 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value);
|
D | board-sx1.c | 46 int sx1_i2c_write_byte(u8 devaddr, u8 regoffset, u8 value) in sx1_i2c_write_byte() argument 60 data[0] = regoffset; /* register num */ in sx1_i2c_write_byte() 70 int sx1_i2c_read_byte(u8 devaddr, u8 regoffset, u8 *value) in sx1_i2c_read_byte() argument 85 data[0] = regoffset; /* register num */ in sx1_i2c_read_byte()
|
/Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
D | rf.c | 238 u16 regoffset; in write_ofdm_pwr_reg() local 251 regoffset = regoffset_a[index]; in write_ofdm_pwr_reg() 253 regoffset = regoffset_b[index]; in write_ofdm_pwr_reg() 255 phy_set_bb_reg(adapt, regoffset, bMaskDWord, write_val); in write_ofdm_pwr_reg()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | rf.c | 319 u16 regoffset; in _rtl8821ae_write_ofdm_power_reg() local 334 regoffset = regoffset_a[index]; in _rtl8821ae_write_ofdm_power_reg() 336 regoffset = regoffset_b[index]; in _rtl8821ae_write_ofdm_power_reg() 337 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8821ae_write_ofdm_power_reg() 340 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl8821ae_write_ofdm_power_reg()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | rf.c | 342 u16 regoffset; in _rtl8723be_write_ofdm_power_reg() local 357 regoffset = regoffset_a[index]; in _rtl8723be_write_ofdm_power_reg() 359 regoffset = regoffset_b[index]; in _rtl8723be_write_ofdm_power_reg() 360 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl8723be_write_ofdm_power_reg() 363 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl8723be_write_ofdm_power_reg()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | rf.c | 339 u16 regoffset; in _rtl88e_write_ofdm_power_reg() local 354 regoffset = regoffset_a[index]; in _rtl88e_write_ofdm_power_reg() 356 regoffset = regoffset_b[index]; in _rtl88e_write_ofdm_power_reg() 357 rtl_set_bbreg(hw, regoffset, MASKDWORD, writeval); in _rtl88e_write_ofdm_power_reg() 360 "Set 0x%x = %08x\n", regoffset, writeval); in _rtl88e_write_ofdm_power_reg()
|
/Linux-v5.4/drivers/mfd/ |
D | stmpe.c | 294 int regoffset = numregs - (pin / afperreg) - 1; in stmpe_set_altfunc() local 297 regs[regoffset] &= ~(mask << pos); in stmpe_set_altfunc() 298 regs[regoffset] |= af << pos; in stmpe_set_altfunc() 1166 int regoffset = offset / 8; in stmpe_irq_mask() local 1169 stmpe->ier[regoffset] &= ~mask; in stmpe_irq_mask() 1176 int regoffset = offset / 8; in stmpe_irq_unmask() local 1179 stmpe->ier[regoffset] |= mask; in stmpe_irq_unmask()
|
/Linux-v5.4/drivers/pinctrl/spear/ |
D | pinctrl-spear1340.c | 1976 unsigned int regoffset, regindex, bitoffset; in gpio_request_endisable() local 1986 regoffset = PAD_FUNCTION_EN_1 + regindex * sizeof(int *); in gpio_request_endisable() 1988 regoffset = PAD_FUNCTION_EN_5 + (regindex - 4) * sizeof(int *); in gpio_request_endisable() 1990 val = pmx_readl(pmx, regoffset); in gpio_request_endisable() 1996 pmx_writel(pmx, val, regoffset); in gpio_request_endisable()
|
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | rf.c | 292 u16 regoffset[6] = {0xe00, 0xe04, 0xe10, 0xe14, 0xe18, 0xe1c}; in _rtl92s_write_ofdm_powerreg() local 340 rtl_set_bbreg(hw, regoffset[index], 0x7f7f7f7f, writeval); in _rtl92s_write_ofdm_powerreg()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | cirrusfb.c | 279 u32 regoffset; /* Offset of registers in first Zorro device */ member 309 .regoffset = 0x00600000, 316 .regoffset = 0x10000, 2213 regbase = zorro_resource_start(z) + zcl->regoffset; in cirrusfb_zorro_register()
|
/Linux-v5.4/drivers/gpu/drm/msm/adreno/ |
D | a5xx_gpu.c | 1176 u32 regoffset; member 1322 u32 o = a5xx_hlsq_aperture_regs[i].regoffset; in a5xx_show()
|