/openbmc/qemu/target/riscv/ |
H A D | pmp.c | 53 if (env->pmp_state.pmp[pmp_index].cfg_reg & PMP_LOCK) { in pmp_is_locked() 79 return env->pmp_state.pmp[pmp_index].cfg_reg; in pmp_read_cfg() 126 } else if (env->pmp_state.pmp[pmp_index].cfg_reg != val) { in pmp_write_cfg() 132 env->pmp_state.pmp[pmp_index].cfg_reg = val; in pmp_write_cfg() 173 uint8_t this_cfg = env->pmp_state.pmp[pmp_index].cfg_reg; in pmp_update_rule_addr() 223 pmp_get_a_field(env->pmp_state.pmp[i].cfg_reg); in pmp_update_rule_nums() 353 pmp_get_a_field(env->pmp_state.pmp[i].cfg_reg); in pmp_hart_has_privs() 360 ((env->pmp_state.pmp[i].cfg_reg & PMP_LOCK) >> 4) | in pmp_hart_has_privs() 361 ((env->pmp_state.pmp[i].cfg_reg & PMP_READ) << 2) | in pmp_hart_has_privs() 362 (env->pmp_state.pmp[i].cfg_reg & PMP_WRITE) | in pmp_hart_has_privs() [all …]
|
H A D | pmp.h | 52 uint8_t cfg_reg; member
|
H A D | machine.c | 54 VMSTATE_UINT8(cfg_reg, pmp_entry_t),
|
/openbmc/linux/drivers/clk/spear/ |
H A D | clk-vco-pll.c | 131 p = readl_relaxed(pll->vco->cfg_reg); in clk_pll_recalc_rate() 154 val = readl_relaxed(pll->vco->cfg_reg); in clk_pll_set_rate() 157 writel_relaxed(val, pll->vco->cfg_reg); in clk_pll_set_rate() 201 val = readl_relaxed(vco->cfg_reg); in clk_vco_recalc_rate() 246 val = readl_relaxed(vco->cfg_reg); in clk_vco_set_rate() 258 writel_relaxed(val, vco->cfg_reg); in clk_vco_set_rate() 275 *cfg_reg, struct pll_rate_tbl *rtbl, u8 rtbl_cnt, in clk_register_vco_pll() 285 if (!vco_name || !pll_name || !parent_name || !mode_reg || !cfg_reg || in clk_register_vco_pll() 301 vco->cfg_reg = cfg_reg; in clk_register_vco_pll()
|
H A D | clk.h | 93 void __iomem *cfg_reg; member 123 *cfg_reg, struct pll_rate_tbl *rtbl, u8 rtbl_cnt,
|
/openbmc/u-boot/arch/arm/cpu/arm1136/mx35/ |
H A D | mx35_sdram.c | 43 u32 *cfg_reg, *ctl_reg; in mx3_setup_sdram_bank() local 49 cfg_reg = &esdc->esdcfg0; in mx3_setup_sdram_bank() 53 cfg_reg = &esdc->esdcfg1; in mx3_setup_sdram_bank() 79 writel(ddr2_config, cfg_reg); in mx3_setup_sdram_bank()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | sbus.c | 66 unsigned long cfg_reg; in sbus_set_sbus64() local 78 cfg_reg = iommu->write_complete_reg; in sbus_set_sbus64() 81 cfg_reg += 0x20UL; in sbus_set_sbus64() 84 cfg_reg += 0x28UL; in sbus_set_sbus64() 87 cfg_reg += 0x30UL; in sbus_set_sbus64() 90 cfg_reg += 0x38UL; in sbus_set_sbus64() 93 cfg_reg += 0x40UL; in sbus_set_sbus64() 96 cfg_reg += 0x48UL; in sbus_set_sbus64() 99 cfg_reg += 0x50UL; in sbus_set_sbus64() 106 val = upa_readq(cfg_reg); in sbus_set_sbus64() [all …]
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | core.c | 877 sh_pfc_check_reg(drvname, cfg_reg->reg, in sh_pfc_check_cfg_reg() 880 if (cfg_reg->field_width) { in sh_pfc_check_cfg_reg() 881 fw = cfg_reg->field_width; in sh_pfc_check_cfg_reg() 882 n = (cfg_reg->reg_width / fw) << fw; in sh_pfc_check_cfg_reg() 890 cfg_reg->reg); in sh_pfc_check_cfg_reg() 908 if (rw != cfg_reg->reg_width) in sh_pfc_check_cfg_reg() 910 cfg_reg->reg, rw, cfg_reg->reg_width); in sh_pfc_check_cfg_reg() 912 if (n != cfg_reg->nr_enum_ids) { in sh_pfc_check_cfg_reg() 914 cfg_reg->reg, cfg_reg->nr_enum_ids, n); in sh_pfc_check_cfg_reg() 915 n = cfg_reg->nr_enum_ids; in sh_pfc_check_cfg_reg() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-lochnagar.c | 32 u16 cfg_reg; member 87 .cfg_reg = LOCHNAGAR1_##REG, \ 96 .cfg_reg = LOCHNAGAR2_##ID##_CTRL, \ 152 ret = regmap_update_bits(regmap, lclk->cfg_reg, in lochnagar_clk_prepare() 168 ret = regmap_update_bits(regmap, lclk->cfg_reg, lclk->ena_mask, 0); in lochnagar_clk_unprepare()
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | mediatek-vpu.txt | 11 "cfg_reg": Main configuration registers base 27 reg-names = "tcm", "cfg_reg";
|
/openbmc/linux/drivers/net/wireless/silabs/wfx/ |
H A D | bh.c | 224 u32 cfg_reg; in ack_sdio_data() local 226 wfx_config_reg_read(wdev, &cfg_reg); in ack_sdio_data() 227 if (cfg_reg & 0xFF) { in ack_sdio_data() 228 dev_warn(wdev->dev, "chip reports errors: %02x\n", cfg_reg & 0xFF); in ack_sdio_data()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | mux.c | 399 || !arch_mux_cfg->cfg_reg) { in omap_mux_register() 437 if (!mux_cfg->cfg_reg) in omap_cfg_reg() 440 return mux_cfg->cfg_reg(reg); in omap_cfg_reg() 449 arch_mux_cfg.cfg_reg = omap1_cfg_reg; in omap1_mux_init()
|
H A D | mux.h | 130 int (*cfg_reg)(const struct pin_config *cfg); member
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | perfmon.c | 121 dmar_writel(iommu_pmu->cfg_reg + _idx * IOMMU_PMU_CFG_OFFSET + \ 131 dmar_writel(iommu_pmu->cfg_reg + _idx * IOMMU_PMU_CFG_OFFSET + \ 242 return iommu_pmu->cfg_reg + idx * IOMMU_PMU_CFG_OFFSET; in iommu_config_base() 662 iommu_pmu->cfg_reg = get_perf_reg_address(iommu, DMAR_PERFCFGOFF_REG); in alloc_iommu_pmu() 672 cap = dmar_readl(iommu_pmu->cfg_reg + in alloc_iommu_pmu() 696 cap = dmar_readl(iommu_pmu->cfg_reg + i * IOMMU_PMU_CFG_OFFSET + in alloc_iommu_pmu()
|
H A D | iommu.h | 635 void __iomem *cfg_reg; /* counter configuration base address */ member
|
/openbmc/u-boot/drivers/spi/ |
H A D | mxc_spi.c | 46 u32 cfg_reg; member 208 mxcs->cfg_reg = reg_config; in spi_cfg_mxc() 236 reg_write(®s->cfg, mxcs->cfg_reg); in spi_xchg_single()
|
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/ |
H A D | d71_component.c | 577 u32 __iomem *cfg_reg, in compiz_enable_input() argument 593 malidp_write32(cfg_reg, CU_INPUT0_SIZE, in compiz_enable_input() 595 malidp_write32(cfg_reg, CU_INPUT0_OFFSET, in compiz_enable_input() 597 malidp_write32(cfg_reg, CU_INPUT0_CONTROL, ctrl); in compiz_enable_input() 605 u32 __iomem *id_reg, *cfg_reg; in d71_compiz_update() local 610 cfg_reg = reg + index * CU_PER_INPUT_REGS; in d71_compiz_update() 612 compiz_enable_input(id_reg, cfg_reg, in d71_compiz_update() 617 malidp_write32(cfg_reg, CU_INPUT0_CONTROL, 0); in d71_compiz_update()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | atmel-mci.c | 375 u32 cfg_reg; member 1303 atmci_writel(host, ATMCI_CFG, host->cfg_reg); in atmci_start_request() 1449 atmci_writel(host, ATMCI_CFG, host->cfg_reg); in atmci_set_ios() 1501 host->cfg_reg |= ATMCI_CFG_HSMODE; in atmci_set_ios() 1503 host->cfg_reg &= ~ATMCI_CFG_HSMODE; in atmci_set_ios() 1509 atmci_writel(host, ATMCI_CFG, host->cfg_reg); in atmci_set_ios() 1618 atmci_writel(host, ATMCI_CFG, host->cfg_reg); in atmci_request_end() 1716 atmci_writel(host, ATMCI_CFG, host->cfg_reg); in atmci_detect_change()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/ |
H A D | hns_mdio.c | 146 u32 cfg_reg, u32 set_val, in mdio_sc_cfg_reg_write() argument 153 regmap_write(mdio_dev->subctrl_vbase, cfg_reg, set_val); in mdio_sc_cfg_reg_write()
|
/openbmc/linux/drivers/pinctrl/samsung/ |
H A D | pinctrl-samsung.c | 440 u32 cfg_value, cfg_reg; in samsung_pinconf_rw() local 452 cfg_reg = type->reg_offset[cfg_type]; in samsung_pinconf_rw() 458 data = readl(reg_base + cfg_reg); in samsung_pinconf_rw() 464 writel(data, reg_base + cfg_reg); in samsung_pinconf_rw()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 3297 u32 base, end, cfg_reg, monitor_len; in iwl_trans_get_fw_monitor_len() local 3300 cfg_reg = le32_to_cpu(trans->dbg.dest_tlv->base_reg); in iwl_trans_get_fw_monitor_len() 3301 cfg_reg = iwl_read_prph(trans, cfg_reg); in iwl_trans_get_fw_monitor_len() 3302 base = (cfg_reg & IWL_LDBG_M2S_BUF_BA_MSK) << in iwl_trans_get_fw_monitor_len() 3308 (cfg_reg & IWL_LDBG_M2S_BUF_SIZE_MSK) >> in iwl_trans_get_fw_monitor_len()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | file.h | 634 __le32 cfg_reg; member
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 1985 int cfg_reg; in bnx2x_get_pauseparam() local 1991 cfg_reg = bp->link_params.req_flow_ctrl[cfg_idx]; in bnx2x_get_pauseparam() 1993 cfg_reg = bp->link_params.req_fc_auto_adv; in bnx2x_get_pauseparam() 1995 epause->rx_pause = ((cfg_reg & BNX2X_FLOW_CTRL_RX) == in bnx2x_get_pauseparam() 1997 epause->tx_pause = ((cfg_reg & BNX2X_FLOW_CTRL_TX) == in bnx2x_get_pauseparam()
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman.c | 930 u32 cfg_reg = 0; in enable() local 937 cfg_reg = QMI_CFG_EN_COUNTERS; in enable() 940 cfg_reg |= (cfg->qmi_def_tnums_thresh << 8) | cfg->qmi_def_tnums_thresh; in enable() 943 iowrite32be(cfg_reg | QMI_CFG_ENQ_EN | QMI_CFG_DEQ_EN, in enable()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-drv.c | 1597 dest_tlv->base_reg = pieces->dbg_dest_tlv->cfg_reg; in iwl_req_fw_callback()
|