Home
last modified time | relevance | path

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

/drivers/pci/pcie/
A Daer.c155 u32 reg32; in enable_ecrc_checking() local
161 if (reg32 & PCI_ERR_CAP_ECRC_GENC) in enable_ecrc_checking()
162 reg32 |= PCI_ERR_CAP_ECRC_GENE; in enable_ecrc_checking()
163 if (reg32 & PCI_ERR_CAP_ECRC_CHKC) in enable_ecrc_checking()
164 reg32 |= PCI_ERR_CAP_ECRC_CHKE; in enable_ecrc_checking()
179 u32 reg32; in disable_ecrc_checking() local
1559 u32 reg32; in aer_enable_irq() local
1570 u32 reg32; in aer_disable_irq() local
1589 u32 reg32; in aer_enable_rootport() local
1620 u32 reg32; in aer_disable_rootport() local
[all …]
A Dportdrv.c79 u32 reg32; in pcie_message_numbers() local
84 &reg32); in pcie_message_numbers()
85 *aer = FIELD_GET(PCI_ERR_ROOT_AER_IRQ, reg32); in pcie_message_numbers()
A Daspm.c379 u32 reg32; in pcie_clkpm_cap_init() local
386 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, &reg32); in pcie_clkpm_cap_init()
387 if (!(reg32 & PCI_EXP_LNKCAP_CLKPM)) { in pcie_clkpm_cap_init()
1009 u32 reg32; in pcie_aspm_sanity_check() local
1032 pcie_capability_read_dword(child, PCI_EXP_DEVCAP, &reg32); in pcie_aspm_sanity_check()
1033 if (!(reg32 & PCI_EXP_DEVCAP_RBER) && !aspm_force) { in pcie_aspm_sanity_check()
/drivers/pci/
A Dpci-acpi.c311 u32 reg32; in program_hpx_type2() local
362 reg32 = (reg32 & hpx->unc_err_mask_and) | hpx->unc_err_mask_or; in program_hpx_type2()
367 reg32 = (reg32 & hpx->unc_err_sever_and) | hpx->unc_err_sever_or; in program_hpx_type2()
372 reg32 = (reg32 & hpx->cor_err_mask_and) | hpx->cor_err_mask_or; in program_hpx_type2()
376 pci_read_config_dword(dev, pos + PCI_ERR_CAP, &reg32); in program_hpx_type2()
377 reg32 = (reg32 & hpx->adv_err_cap_and) | hpx->adv_err_cap_or; in program_hpx_type2()
380 if (!(reg32 & PCI_ERR_CAP_ECRC_GENC)) in program_hpx_type2()
381 reg32 &= ~PCI_ERR_CAP_ECRC_GENE; in program_hpx_type2()
382 if (!(reg32 & PCI_ERR_CAP_ECRC_CHKC)) in program_hpx_type2()
383 reg32 &= ~PCI_ERR_CAP_ECRC_CHKE; in program_hpx_type2()
[all …]
A Dprobe.c1618 u32 reg32; in set_pcie_port_type() local
1637 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, &reg32); in set_pcie_port_type()
1638 if (reg32 & PCI_EXP_LNKCAP_DLLLARC) in set_pcie_port_type()
1677 u32 reg32; in set_pcie_hotplug_bridge() local
1679 pcie_capability_read_dword(pdev, PCI_EXP_SLTCAP, &reg32); in set_pcie_hotplug_bridge()
1680 if (reg32 & PCI_EXP_SLTCAP_HPC) in set_pcie_hotplug_bridge()
/drivers/infiniband/hw/hfi1/
A 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()
A Dpcie.c940 u32 reg32, fs, lf; in do_pcie_gen3_transition() local
1062 reg32 = 0x10ul << PCIE_CFG_REG_PL2_LOW_PWR_ENT_CNT_SHIFT; in do_pcie_gen3_transition()
1063 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL2, reg32); in do_pcie_gen3_transition()
1072 reg32 = PCIE_CFG_REG_PL100_EQ_EIEOS_CNT_SMASK; in do_pcie_gen3_transition()
1073 pci_write_config_dword(dd->pcidev, PCIE_CFG_REG_PL100, reg32); in do_pcie_gen3_transition()
1317 ret = pci_read_config_dword(dd->pcidev, PCIE_CFG_SPCIE2, &reg32); in do_pcie_gen3_transition()
1324 dd_dev_info(dd, "%s: per-lane errors: 0x%x\n", __func__, reg32); in do_pcie_gen3_transition()
/drivers/net/wireless/ath/ath9k/
A 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()
A 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()
A 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()
A 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()
A 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()
A 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()
/drivers/ipack/carriers/
A 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()
/drivers/gpu/drm/bridge/cadence/
A Dcdns-mhdp8546-core.c809 u32 reg32; in cdns_mhdp_link_training_init() local
818 reg32 |= CDNS_PHY_SCRAMBLER_BYPASS; in cdns_mhdp_link_training_init()
980 u32 reg32; in cdns_mhdp_link_training_channel_eq() local
990 reg32 |= CDNS_PHY_SCRAMBLER_BYPASS; in cdns_mhdp_link_training_channel_eq()
1197 u32 reg32; in cdns_mhdp_link_training() local
1262 reg32 &= ~GENMASK(1, 0); in cdns_mhdp_link_training()
1263 reg32 |= CDNS_DP_NUM_LANES(mhdp->link.num_lanes); in cdns_mhdp_link_training()
1264 reg32 |= CDNS_DP_WR_FAILING_EDGE_VSYNC; in cdns_mhdp_link_training()
1265 reg32 |= CDNS_DP_FRAMER_EN; in cdns_mhdp_link_training()
1271 reg32 |= CDNS_PHY_SCRAMBLER_BYPASS; in cdns_mhdp_link_training()
[all …]
/drivers/net/ethernet/freescale/fman/
A Dfman_memac.c905 u32 reg32 = 0; in memac_init() local
939 reg32 = ioread32be(&memac->regs->command_config); in memac_init()
940 reg32 &= ~CMD_CFG_CRC_FWD; in memac_init()
941 iowrite32be(reg32, &memac->regs->command_config); in memac_init()
/drivers/gpu/drm/i915/gt/
A Dintel_rps.h63 bool rps_read_mask_mmio(struct intel_rps *rps, i915_reg_t reg32, u32 mask);
A Dintel_gt_sysfs_pm.c510 i915_reg_t (*reg32)(struct intel_gt *gt); member
521 bool val = rps_read_mask_mmio(&gt->rps, t_attr->reg32(gt), t_attr->mask); in throttle_reason_bool_show()
530 .reg32 = intel_gt_perf_limit_reasons_reg, \
A Dintel_rps.c2703 static u32 rps_read_mmio(struct intel_rps *rps, i915_reg_t reg32) in rps_read_mmio() argument
2710 val = intel_uncore_read(gt->uncore, reg32); in rps_read_mmio()
2716 i915_reg_t reg32, u32 mask) in rps_read_mask_mmio() argument
2718 return rps_read_mmio(rps, reg32) & mask; in rps_read_mask_mmio()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
A 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()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
A Ddev.c1540 u32 reg32; in rtl8187_probe() local
1541 reg32 = rtl818x_ioread32(priv, &priv->map->TX_CONF); in rtl8187_probe()
1542 reg32 &= RTL818X_TX_CONF_HWVER_MASK; in rtl8187_probe()
1543 switch (reg32) { in rtl8187_probe()
/drivers/net/ethernet/broadcom/
A Dtg3.c2547 u32 reg32, phy9_orig; in tg3_phy_reset_5703_4_5() local
2561 if (tg3_readphy(tp, MII_TG3_EXT_CTRL, &reg32)) in tg3_phy_reset_5703_4_5()
2564 reg32 |= 0x3000; in tg3_phy_reset_5703_4_5()
2565 tg3_writephy(tp, MII_TG3_EXT_CTRL, reg32); in tg3_phy_reset_5703_4_5()
2603 err = tg3_readphy(tp, MII_TG3_EXT_CTRL, &reg32); in tg3_phy_reset_5703_4_5()
2607 reg32 &= ~0x3000; in tg3_phy_reset_5703_4_5()
2608 tg3_writephy(tp, MII_TG3_EXT_CTRL, reg32); in tg3_phy_reset_5703_4_5()

Completed in 898 milliseconds