Lines Matching refs:mapped_reg
140 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
144 return ioread8(mapped_reg); in sh_pfc_read_raw_reg()
146 return ioread16(mapped_reg); in sh_pfc_read_raw_reg()
148 return ioread32(mapped_reg); in sh_pfc_read_raw_reg()
155 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
160 iowrite8(data, mapped_reg); in sh_pfc_write_raw_reg()
163 iowrite16(data, mapped_reg); in sh_pfc_write_raw_reg()
166 iowrite32(data, mapped_reg); in sh_pfc_write_raw_reg()
213 void __iomem *mapped_reg; in sh_pfc_write_config_reg() local
217 sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); in sh_pfc_write_config_reg()
226 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg()
235 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg()