Lines Matching refs:mapped_reg
89 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
93 return readb(mapped_reg); in sh_pfc_read_raw_reg()
95 return readw(mapped_reg); in sh_pfc_read_raw_reg()
97 return readl(mapped_reg); in sh_pfc_read_raw_reg()
104 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
109 writeb(data, mapped_reg); in sh_pfc_write_raw_reg()
112 writew(data, mapped_reg); in sh_pfc_write_raw_reg()
115 writel(data, mapped_reg); in sh_pfc_write_raw_reg()
163 void __iomem *mapped_reg; in sh_pfc_write_config_reg() local
169 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
178 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg()
185 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg()