Home
last modified time | relevance | path

Searched refs:reg_value (Results 1 – 9 of 9) sorted by relevance

/arch/arc/plat-eznps/
Dplatform.c40 u32 reg_value; in eznps_configure_gim() local
55 reg_value = ioread32be(REG_GIM_P_INT_POL_0); in eznps_configure_gim()
56 reg_value &= ~gim_int_lines; in eznps_configure_gim()
57 iowrite32be(reg_value, REG_GIM_P_INT_POL_0); in eznps_configure_gim()
60 reg_value = ioread32be(REG_GIM_P_INT_SENS_0); in eznps_configure_gim()
61 reg_value |= NPS_GIM_DBG_LAN_EAST_TX_DONE_LINE; in eznps_configure_gim()
62 reg_value |= NPS_GIM_DBG_LAN_WEST_TX_DONE_LINE; in eznps_configure_gim()
63 iowrite32be(reg_value, REG_GIM_P_INT_SENS_0); in eznps_configure_gim()
/arch/mips/emma/markeins/
Dirq.c39 u32 reg_value, reg_bitmask, reg_index; in emma2rh_irq_enable() local
43 reg_value = emma2rh_in32(reg_index); in emma2rh_irq_enable()
45 emma2rh_out32(reg_index, reg_value | reg_bitmask); in emma2rh_irq_enable()
51 u32 reg_value, reg_bitmask, reg_index; in emma2rh_irq_disable() local
55 reg_value = emma2rh_in32(reg_index); in emma2rh_irq_disable()
57 emma2rh_out32(reg_index, reg_value & ~reg_bitmask); in emma2rh_irq_disable()
/arch/powerpc/platforms/cell/
Dcbe_thermal.c69 static inline u8 reg_to_temp(u8 reg_value) in reg_to_temp() argument
71 return ((reg_value & 0x3f) << 1) + TEMP_MIN; in reg_to_temp()
127 u64 reg_value; in store_throttle() local
139 reg_value = in_be64(&pmd_regs->tm_tpr.val); in store_throttle()
142 reg_value &= ~(0xffull << pos); in store_throttle()
144 reg_value |= new_value << pos; in store_throttle()
146 out_be64(&pmd_regs->tm_tpr.val, reg_value); in store_throttle()
/arch/mips/include/asm/sn/sn0/
Dhubio.h203 u64 reg_value; member
445 u64 reg_value; member
467 u64 reg_value; member
514 u64 reg_value; member
556 u64 reg_value; member
672 u64 reg_value; member
709 u64 reg_value; member
824 u64 reg_value; member
839 #define iprb_regval reg_value
/arch/mips/pci/
Dpci-mt7620.c114 unsigned long reg_value = 0x0, retry = 0; in wait_pciephy_busy() local
117 reg_value = pcie_r32(PCIEPHY0_CFG); in wait_pciephy_busy()
119 if (reg_value & BUSY) in wait_pciephy_busy()
/arch/ia64/include/uapi/asm/
Dperfmon.h90 unsigned long reg_value; /* initial pmc/pmd value */ member
/arch/powerpc/include/asm/
Dfadump.h186 __be64 reg_value; member
/arch/powerpc/kernel/
Dfadump.c630 be64_to_cpu(reg_entry->reg_value)); in fadump_read_registers()
773 cpu = be64_to_cpu(reg_entry->reg_value) & FADUMP_CPU_ID_MASK; in fadump_build_cpu_notes()
/arch/ia64/kernel/
Dperfmon.c2861 value = req->reg_value; in pfm_write_pmcs()
3103 value = req->reg_value; in pfm_write_pmds()
3376 req->reg_value = val; in pfm_read_pmds()
4125 req->reg_value = PMC_DFL_VAL(cnum); in pfm_get_pmc_reset()
4129 DPRINT(("pmc_reset_val pmc[%u]=0x%lx\n", cnum, req->reg_value)); in pfm_get_pmc_reset()