Home
last modified time | relevance | path

Searched refs:reg32 (Results 1 – 25 of 31) sorted by relevance

12

/linux-5.19.10/drivers/pci/pcie/
Daer.c145 u32 reg32; in enable_ecrc_checking() local
150 pci_read_config_dword(dev, aer + PCI_ERR_CAP, &reg32); in enable_ecrc_checking()
151 if (reg32 & PCI_ERR_CAP_ECRC_GENC) in enable_ecrc_checking()
152 reg32 |= PCI_ERR_CAP_ECRC_GENE; in enable_ecrc_checking()
153 if (reg32 & PCI_ERR_CAP_ECRC_CHKC) in enable_ecrc_checking()
154 reg32 |= PCI_ERR_CAP_ECRC_CHKE; in enable_ecrc_checking()
155 pci_write_config_dword(dev, aer + PCI_ERR_CAP, reg32); in enable_ecrc_checking()
169 u32 reg32; in disable_ecrc_checking() local
174 pci_read_config_dword(dev, aer + PCI_ERR_CAP, &reg32); in disable_ecrc_checking()
175 reg32 &= ~(PCI_ERR_CAP_ECRC_GENE | PCI_ERR_CAP_ECRC_CHKE); in disable_ecrc_checking()
[all …]
Dportdrv_core.c67 u32 reg32; in pcie_message_numbers() local
72 &reg32); in pcie_message_numbers()
73 *aer = (reg32 & PCI_ERR_ROOT_AER_IRQ) >> 27; in pcie_message_numbers()
Daspm.c172 u32 reg32; in pcie_clkpm_cap_init() local
179 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &reg32); in pcie_clkpm_cap_init()
180 if (!(reg32 & PCI_EXP_LNKCAP_CLKPM)) { in pcie_clkpm_cap_init()
803 u32 reg32; in pcie_aspm_sanity_check() local
826 pcie_capability_read_dword(child, PCI_EXP_DEVCAP, &reg32); in pcie_aspm_sanity_check()
827 if (!(reg32 & PCI_EXP_DEVCAP_RBER) && !aspm_force) { in pcie_aspm_sanity_check()
/linux-5.19.10/drivers/pci/
Dpci-acpi.c287 u32 reg32; in program_hpx_type2() local
337 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, &reg32); in program_hpx_type2()
338 reg32 = (reg32 & hpx->unc_err_mask_and) | hpx->unc_err_mask_or; in program_hpx_type2()
339 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, reg32); in program_hpx_type2()
342 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &reg32); in program_hpx_type2()
343 reg32 = (reg32 & hpx->unc_err_sever_and) | hpx->unc_err_sever_or; in program_hpx_type2()
344 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, reg32); in program_hpx_type2()
347 pci_read_config_dword(dev, pos + PCI_ERR_COR_MASK, &reg32); in program_hpx_type2()
348 reg32 = (reg32 & hpx->cor_err_mask_and) | hpx->cor_err_mask_or; in program_hpx_type2()
349 pci_write_config_dword(dev, pos + PCI_ERR_COR_MASK, reg32); in program_hpx_type2()
[all …]
/linux-5.19.10/drivers/infiniband/hw/hfi1/
Daspm.c49 u32 reg32; in aspm_hw_set_l1_ent_latency() local
51 pci_read_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, &reg32); in aspm_hw_set_l1_ent_latency()
52 reg32 &= ~PCIE_CFG_REG_PL3_L1_ENT_LATENCY_SMASK; in aspm_hw_set_l1_ent_latency()
53 reg32 |= l1_ent_lat << PCIE_CFG_REG_PL3_L1_ENT_LATENCY_SHIFT; in aspm_hw_set_l1_ent_latency()
54 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, reg32); in aspm_hw_set_l1_ent_latency()
Dpcie.c947 u32 reg32, fs, lf; in do_pcie_gen3_transition() local
1069 reg32 = 0x10ul << PCIE_CFG_REG_PL2_LOW_PWR_ENT_CNT_SHIFT; in do_pcie_gen3_transition()
1070 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL2, reg32); in do_pcie_gen3_transition()
1079 reg32 = PCIE_CFG_REG_PL100_EQ_EIEOS_CNT_SMASK; in do_pcie_gen3_transition()
1080 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL100, reg32); in do_pcie_gen3_transition()
1338 ret = pci_read_config_dword(dd->pcidev, PCIE_CFG_SPCIE2, &reg32); in do_pcie_gen3_transition()
1345 dd_dev_info(dd, "%s: per-lane errors: 0x%x\n", __func__, reg32); in do_pcie_gen3_transition()
/linux-5.19.10/drivers/net/wireless/ath/ath9k/
Dar9002_phy.c69 u32 freq, ndiv, channelSel = 0, channelFrac = 0, reg32 = 0; in ar9002_hw_set_channel() local
76 reg32 = REG_READ(ah, AR_PHY_SYNTH_CONTROL); in ar9002_hw_set_channel()
77 reg32 &= 0xc0000000; in ar9002_hw_set_channel()
149 reg32 = reg32 | in ar9002_hw_set_channel()
153 REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9002_hw_set_channel()
Dar5008_phy.c111 static void ar5008_hw_phy_modify_rx_buffer(u32 *rfBuf, u32 reg32, in ar5008_hw_phy_modify_rx_buffer() argument
118 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer()
209 u32 reg32 = 0; in ar5008_hw_set_channel() local
264 reg32 = in ar5008_hw_set_channel()
268 REG_WRITE(ah, AR_PHY(0x37), reg32); in ar5008_hw_set_channel()
Dar9003_phy.c152 u32 freq, chan_frac, div, channelSel = 0, reg32 = 0; in ar9003_hw_set_channel() local
205 reg32 = (bMode << 29); in ar9003_hw_set_channel()
206 REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9003_hw_set_channel()
213 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel()
215 REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9003_hw_set_channel()
219 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel()
221 REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9003_hw_set_channel()
Deeprom_4k.c296 u32 reg32, regOffset, regChainOffset; in ath9k_hw_set_4k_power_cal_table() local
360 reg32 = get_unaligned_le32(&pdadcValues[4 * j]); in ath9k_hw_set_4k_power_cal_table()
361 REG_WRITE(ah, regOffset, reg32); in ath9k_hw_set_4k_power_cal_table()
366 reg32); in ath9k_hw_set_4k_power_cal_table()
Deeprom_def.c778 u32 reg32, regOffset, regChainOffset; in ath9k_hw_set_def_power_cal_table() local
895 reg32 = get_unaligned_le32(&pdadcValues[4 * j]); in ath9k_hw_set_def_power_cal_table()
896 REG_WRITE(ah, regOffset, reg32); in ath9k_hw_set_def_power_cal_table()
901 reg32); in ath9k_hw_set_def_power_cal_table()
Deeprom_9287.c365 u32 reg32, regOffset, regChainOffset, regval; in ath9k_hw_set_ar9287_power_cal_table() local
480 reg32 = get_unaligned_le32(&pdadcValues[4 * j]); in ath9k_hw_set_ar9287_power_cal_table()
482 REG_WRITE(ah, regOffset, reg32); in ath9k_hw_set_ar9287_power_cal_table()
/linux-5.19.10/drivers/ipack/carriers/
Dtpci200.c522 u32 reg32; in tpci200_pci_probe() local
556 reg32 = ioread32(tpci200->info->cfg_regs + LAS1_DESC); in tpci200_pci_probe()
557 reg32 |= 1 << LAS_BIT_BIGENDIAN; in tpci200_pci_probe()
558 iowrite32(reg32, tpci200->info->cfg_regs + LAS1_DESC); in tpci200_pci_probe()
560 reg32 = ioread32(tpci200->info->cfg_regs + LAS2_DESC); in tpci200_pci_probe()
561 reg32 |= 1 << LAS_BIT_BIGENDIAN; in tpci200_pci_probe()
562 iowrite32(reg32, tpci200->info->cfg_regs + LAS2_DESC); in tpci200_pci_probe()
/linux-5.19.10/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-core.c861 u32 reg32; in cdns_mhdp_link_training_init() local
868 reg32 = CDNS_PHY_COMMON_CONFIG | CDNS_PHY_TRAINING_TYPE(1); in cdns_mhdp_link_training_init()
870 reg32 |= CDNS_PHY_SCRAMBLER_BYPASS; in cdns_mhdp_link_training_init()
872 cdns_mhdp_reg_write(mhdp, CDNS_DPTX_PHY_CONFIG, reg32); in cdns_mhdp_link_training_init()
1032 u32 reg32; in cdns_mhdp_link_training_channel_eq() local
1039 reg32 = CDNS_PHY_COMMON_CONFIG | CDNS_PHY_TRAINING_EN | in cdns_mhdp_link_training_channel_eq()
1042 reg32 |= CDNS_PHY_SCRAMBLER_BYPASS; in cdns_mhdp_link_training_channel_eq()
1043 cdns_mhdp_reg_write(mhdp, CDNS_DPTX_PHY_CONFIG, reg32); in cdns_mhdp_link_training_channel_eq()
1249 u32 reg32; in cdns_mhdp_link_training() local
1307 ret = cdns_mhdp_reg_read(mhdp, CDNS_DP_FRAMER_GLOBAL_CONFIG, &reg32); in cdns_mhdp_link_training()
[all …]
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfw_reset.c298 u32 reg32; in mlx5_pci_link_toggle() local
337 err = pci_read_config_dword(bridge, cap + PCI_EXP_LNKCAP, &reg32); in mlx5_pci_link_toggle()
340 if (!(reg32 & PCI_EXP_LNKCAP_DLLLARC)) { in mlx5_pci_link_toggle()
341 mlx5_core_warn(dev, "No PCI link reporting capability (0x%08x)\n", reg32); in mlx5_pci_link_toggle()
/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188e_hal_init.c219 u32 reg32; in efuse_read_phymap_from_txpktbuf() local
250 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_L, &reg32); in efuse_read_phymap_from_txpktbuf()
254 lo32 = cpu_to_le32(reg32); in efuse_read_phymap_from_txpktbuf()
256 res = rtw_read32(adapter, REG_PKTBUF_DBG_DATA_H, &reg32); in efuse_read_phymap_from_txpktbuf()
260 hi32 = cpu_to_le32(reg32); in efuse_read_phymap_from_txpktbuf()
Dusb_halinit.c1167 u32 reg32; in SetHwReg8188EU() local
1190 res = rtw_read32(Adapter, REG_RCR, &reg32); in SetHwReg8188EU()
1194 rtw_write32(Adapter, REG_RCR, reg32 | RCR_CBSSID_BCN); in SetHwReg8188EU()
/linux-5.19.10/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs_pm.c512 i915_reg_t reg32; member
523 bool val = rps_read_mask_mmio(&gt->rps, t_attr->reg32, t_attr->mask); in throttle_reason_bool_show()
532 .reg32 = GT0_PERF_LIMIT_REASONS, \
Dintel_rps.h55 bool rps_read_mask_mmio(struct intel_rps *rps, i915_reg_t reg32, u32 mask);
/linux-5.19.10/drivers/net/ethernet/freescale/fman/
Dfman_memac.c1035 u32 reg32 = 0; in memac_init() local
1078 reg32 = ioread32be(&memac->regs->command_config); in memac_init()
1079 reg32 &= ~CMD_CFG_CRC_FWD; in memac_init()
1080 iowrite32be(reg32, &memac->regs->command_config); in memac_init()
/linux-5.19.10/kernel/debug/kdb/
Dkdb_main.c1890 u32 reg32; in kdb_rd() local
1921 rname = dbg_get_reg(i, &reg32, kdb_current_regs); in kdb_rd()
1924 len += kdb_printf("%s: %08x", rname, reg32); in kdb_rd()
1959 u32 reg32; in kdb_rm() local
1998 reg32 = reg64; in kdb_rm()
1999 dbg_set_reg(i, &reg32, kdb_current_regs); in kdb_rm()
/linux-5.19.10/Documentation/translations/zh_CN/filesystems/
Ddebugfs.rst164 “base”参数可能为0,但您可能需要使用__stringify构建reg32数组,实际上有许多寄存器
/linux-5.19.10/Documentation/translations/zh_TW/filesystems/
Ddebugfs.rst166 「base」參數可能爲0,但您可能需要使用__stringify構建reg32數組,實際上有許多寄存器
/linux-5.19.10/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c820 u32 reg32; in rtl8180_init_hw() local
971 reg32 = rtl818x_ioread32(priv, &priv->map->RF_PARA); in rtl8180_init_hw()
972 reg32 &= 0x00ffff00; in rtl8180_init_hw()
973 reg32 |= 0xb8000054; in rtl8180_init_hw()
974 rtl818x_iowrite32(priv, &priv->map->RF_PARA, reg32); in rtl8180_init_hw()
/linux-5.19.10/tools/lib/bpf/
Dusdt.c1190 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg64) in calc_pt_regs_off() argument
1192 #define reg_off(reg64, reg32) offsetof(struct pt_regs, reg32) in calc_pt_regs_off()

12