• Home
  • Raw
  • Download

Lines Matching refs:inst

58 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx)  in omap4_prminst_read_inst_reg()  argument
63 return readl_relaxed(_prm_bases[part].va + inst + idx); in omap4_prminst_read_inst_reg()
67 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg() argument
72 writel_relaxed(val, _prm_bases[part].va + inst + idx); in omap4_prminst_write_inst_reg()
76 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits() argument
81 v = omap4_prminst_read_inst_reg(part, inst, idx); in omap4_prminst_rmw_inst_reg_bits()
84 omap4_prminst_write_inst_reg(v, part, inst, idx); in omap4_prminst_rmw_inst_reg_bits()
99 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted() argument
104 v = omap4_prminst_read_inst_reg(part, inst, rstctrl_offs); in omap4_prminst_is_hardreset_asserted()
123 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset() argument
128 omap4_prminst_rmw_inst_reg_bits(mask, mask, part, inst, rstctrl_offs); in omap4_prminst_assert_hardreset()
152 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset() argument
160 if (omap4_prminst_is_hardreset_asserted(shift, part, inst, in omap4_prminst_deassert_hardreset()
165 omap4_prminst_rmw_inst_reg_bits(0xffffffff, st_mask, part, inst, in omap4_prminst_deassert_hardreset()
168 omap4_prminst_rmw_inst_reg_bits(mask, 0, part, inst, rstctrl_offs); in omap4_prminst_deassert_hardreset()
171 inst, rstst_offs), in omap4_prminst_deassert_hardreset()
181 s32 inst = omap4_prmst_get_prm_dev_inst(); in omap4_prminst_global_warm_sw_reset() local
183 if (inst == PRM_INSTANCE_UNKNOWN) in omap4_prminst_global_warm_sw_reset()
186 v = omap4_prminst_read_inst_reg(OMAP4430_PRM_PARTITION, inst, in omap4_prminst_global_warm_sw_reset()
190 inst, OMAP4_PRM_RSTCTRL_OFFSET); in omap4_prminst_global_warm_sw_reset()
194 inst, OMAP4_PRM_RSTCTRL_OFFSET); in omap4_prminst_global_warm_sw_reset()