Lines Matching refs:mapped_reg
95 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
99 return readb(mapped_reg); in sh_pfc_read_raw_reg()
101 return readw(mapped_reg); in sh_pfc_read_raw_reg()
103 return readl(mapped_reg); in sh_pfc_read_raw_reg()
110 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
115 writeb(data, mapped_reg); in sh_pfc_write_raw_reg()
118 writew(data, mapped_reg); in sh_pfc_write_raw_reg()
121 writel(data, mapped_reg); in sh_pfc_write_raw_reg()
169 void __iomem *mapped_reg; in sh_pfc_write_config_reg() local
175 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
184 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg()
191 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg()