/Linux-v4.19/drivers/pci/pcie/ |
D | aer.c | 149 u32 reg32; in enable_ecrc_checking() local 158 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in enable_ecrc_checking() 159 if (reg32 & PCI_ERR_CAP_ECRC_GENC) in enable_ecrc_checking() 160 reg32 |= PCI_ERR_CAP_ECRC_GENE; in enable_ecrc_checking() 161 if (reg32 & PCI_ERR_CAP_ECRC_CHKC) in enable_ecrc_checking() 162 reg32 |= PCI_ERR_CAP_ECRC_CHKE; in enable_ecrc_checking() 163 pci_write_config_dword(dev, pos + PCI_ERR_CAP, reg32); in enable_ecrc_checking() 177 u32 reg32; in disable_ecrc_checking() local 186 pci_read_config_dword(dev, pos + PCI_ERR_CAP, ®32); in disable_ecrc_checking() 187 reg32 &= ~(PCI_ERR_CAP_ECRC_GENE | PCI_ERR_CAP_ECRC_CHKE); in disable_ecrc_checking() [all …]
|
D | aspm.c | 179 u32 reg32; in pcie_clkpm_cap_init() local 186 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init() 187 if (!(reg32 & PCI_EXP_LNKCAP_CLKPM)) { in pcie_clkpm_cap_init() 383 u32 reg32; in pcie_get_aspm_reg() local 385 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, ®32); in pcie_get_aspm_reg() 386 info->support = (reg32 & PCI_EXP_LNKCAP_ASPMS) >> 10; in pcie_get_aspm_reg() 387 info->latency_encoding_l0s = (reg32 & PCI_EXP_LNKCAP_L0SEL) >> 12; in pcie_get_aspm_reg() 388 info->latency_encoding_l1 = (reg32 & PCI_EXP_LNKCAP_L1EL) >> 15; in pcie_get_aspm_reg() 627 u32 reg32, encoding; in pcie_aspm_cap_init() local 635 pcie_capability_read_dword(child, PCI_EXP_DEVCAP, ®32); in pcie_aspm_cap_init() [all …]
|
D | portdrv_core.c | 66 u32 reg32; in pcie_message_numbers() local 71 ®32); in pcie_message_numbers() 72 *aer = (reg32 & PCI_ERR_ROOT_AER_IRQ) >> 27; in pcie_message_numbers()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | aspm.h | 96 u32 reg32; in aspm_hw_set_l1_ent_latency() local 98 pci_read_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, ®32); in aspm_hw_set_l1_ent_latency() 99 reg32 &= ~PCIE_CFG_REG_PL3_L1_ENT_LATENCY_SMASK; in aspm_hw_set_l1_ent_latency() 100 reg32 |= l1_ent_lat << PCIE_CFG_REG_PL3_L1_ENT_LATENCY_SHIFT; in aspm_hw_set_l1_ent_latency() 101 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL3, reg32); in aspm_hw_set_l1_ent_latency()
|
D | pcie.c | 1018 u32 reg32, fs, lf; in do_pcie_gen3_transition() local 1136 reg32 = 0x10ul << PCIE_CFG_REG_PL2_LOW_PWR_ENT_CNT_SHIFT; in do_pcie_gen3_transition() 1137 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL2, reg32); in do_pcie_gen3_transition() 1146 reg32 = PCIE_CFG_REG_PL100_EQ_EIEOS_CNT_SMASK; in do_pcie_gen3_transition() 1147 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL100, reg32); in do_pcie_gen3_transition() 1405 ret = pci_read_config_dword(dd->pcidev, PCIE_CFG_SPCIE2, ®32); in do_pcie_gen3_transition() 1412 dd_dev_info(dd, "%s: per-lane errors: 0x%x\n", __func__, reg32); in do_pcie_gen3_transition()
|
/Linux-v4.19/drivers/net/wireless/ath/ath9k/ |
D | ar9002_phy.c | 69 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()
|
D | ar5008_phy.c | 91 static void ar5008_hw_phy_modify_rx_buffer(u32 *rfBuf, u32 reg32, in ar5008_hw_phy_modify_rx_buffer() argument 98 tmp32 = ath9k_hw_reverse_bits(reg32, numBits); in ar5008_hw_phy_modify_rx_buffer() 191 u32 reg32 = 0; in ar5008_hw_set_channel() local 246 reg32 = in ar5008_hw_set_channel() 250 REG_WRITE(ah, AR_PHY(0x37), reg32); in ar5008_hw_set_channel()
|
D | ar9003_phy.c | 152 u32 freq, chan_frac, div, channelSel = 0, reg32 = 0; in ar9003_hw_set_channel() local 223 reg32 = (bMode << 29); in ar9003_hw_set_channel() 224 REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); in ar9003_hw_set_channel() 231 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel() 233 REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9003_hw_set_channel() 237 reg32 = (channelSel << 2) | (fracMode << 30) | in ar9003_hw_set_channel() 239 REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32); in ar9003_hw_set_channel()
|
D | eeprom_4k.c | 296 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()
|
D | eeprom_def.c | 778 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()
|
D | eeprom_9287.c | 365 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-v4.19/drivers/ipack/carriers/ |
D | tpci200.c | 525 u32 reg32; in tpci200_pci_probe() local 559 reg32 = ioread32(tpci200->info->cfg_regs + LAS1_DESC); in tpci200_pci_probe() 560 reg32 |= 1 << LAS_BIT_BIGENDIAN; in tpci200_pci_probe() 561 iowrite32(reg32, tpci200->info->cfg_regs + LAS1_DESC); in tpci200_pci_probe() 563 reg32 = ioread32(tpci200->info->cfg_regs + LAS2_DESC); in tpci200_pci_probe() 564 reg32 |= 1 << LAS_BIT_BIGENDIAN; in tpci200_pci_probe() 565 iowrite32(reg32, tpci200->info->cfg_regs + LAS2_DESC); in tpci200_pci_probe()
|
/Linux-v4.19/drivers/pci/ |
D | probe.c | 1355 u32 reg32; in set_pcie_hotplug_bridge() local 1357 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, ®32); in set_pcie_hotplug_bridge() 1358 if (reg32 & PCI_EXP_SLTCAP_HPC) in set_pcie_hotplug_bridge() 1866 u32 reg32; in program_hpp_type2() local 1916 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, ®32); in program_hpp_type2() 1917 reg32 = (reg32 & hpp->unc_err_mask_and) | hpp->unc_err_mask_or; in program_hpp_type2() 1918 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_MASK, reg32); in program_hpp_type2() 1921 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, ®32); in program_hpp_type2() 1922 reg32 = (reg32 & hpp->unc_err_sever_and) | hpp->unc_err_sever_or; in program_hpp_type2() 1923 pci_write_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, reg32); in program_hpp_type2() [all …]
|
/Linux-v4.19/drivers/net/ethernet/freescale/fman/ |
D | fman_memac.c | 1036 u32 reg32 = 0; in memac_init() local 1077 reg32 = ioread32be(&memac->regs->command_config); in memac_init() 1078 reg32 &= ~CMD_CFG_CRC_FWD; in memac_init() 1079 iowrite32be(reg32, &memac->regs->command_config); in memac_init()
|
/Linux-v4.19/kernel/debug/kdb/ |
D | kdb_main.c | 1861 u32 reg32; in kdb_rd() local 1892 rname = dbg_get_reg(i, ®32, kdb_current_regs); in kdb_rd() 1895 len += kdb_printf("%s: %08x", rname, reg32); in kdb_rd() 1930 u32 reg32; in kdb_rm() local 1969 reg32 = reg64; in kdb_rm() 1970 dbg_set_reg(i, ®32, kdb_current_regs); in kdb_rm()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
D | dev.c | 816 u32 reg32; in rtl8180_init_hw() local 967 reg32 = rtl818x_ioread32(priv, &priv->map->RF_PARA); in rtl8180_init_hw() 968 reg32 &= 0x00ffff00; in rtl8180_init_hw() 969 reg32 |= 0xb8000054; in rtl8180_init_hw() 970 rtl818x_iowrite32(priv, &priv->map->RF_PARA, reg32); in rtl8180_init_hw()
|
/Linux-v4.19/drivers/net/wireless/realtek/rtl818x/rtl8187/ |
D | dev.c | 1532 u32 reg32; in rtl8187_probe() local 1533 reg32 = rtl818x_ioread32(priv, &priv->map->TX_CONF); in rtl8187_probe() 1534 reg32 &= RTL818X_TX_CONF_HWVER_MASK; in rtl8187_probe() 1535 switch (reg32) { in rtl8187_probe()
|
/Linux-v4.19/Documentation/filesystems/ |
D | debugfs.txt | 165 The "base" argument may be 0, but you may want to build the reg32 array
|
/Linux-v4.19/drivers/net/ethernet/broadcom/ |
D | tg3.c | 2566 u32 reg32, phy9_orig; in tg3_phy_reset_5703_4_5() local 2580 if (tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32)) in tg3_phy_reset_5703_4_5() 2583 reg32 |= 0x3000; in tg3_phy_reset_5703_4_5() 2584 tg3_writephy(tp, MII_TG3_EXT_CTRL, reg32); in tg3_phy_reset_5703_4_5() 2622 err = tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32); in tg3_phy_reset_5703_4_5() 2626 reg32 &= ~0x3000; in tg3_phy_reset_5703_4_5() 2627 tg3_writephy(tp, MII_TG3_EXT_CTRL, reg32); in tg3_phy_reset_5703_4_5()
|