Lines Matching refs:reg_width
143 u32 sh_pfc_read_raw_reg(void __iomem *mapped_reg, unsigned int reg_width) in sh_pfc_read_raw_reg() argument
145 switch (reg_width) { in sh_pfc_read_raw_reg()
158 void sh_pfc_write_raw_reg(void __iomem *mapped_reg, unsigned int reg_width, in sh_pfc_write_raw_reg() argument
161 switch (reg_width) { in sh_pfc_write_raw_reg()
203 *posp = crp->reg_width - ((in_pos + 1) * crp->field_width); in sh_pfc_config_reg_helper()
206 *posp = crp->reg_width; in sh_pfc_config_reg_helper()
224 crp->reg, value, field, crp->reg_width, hweight32(mask)); in sh_pfc_write_config_reg()
229 data = sh_pfc_read_raw_reg(mapped_reg, crp->reg_width); in sh_pfc_write_config_reg()
238 sh_pfc_write_raw_reg(mapped_reg, crp->reg_width, data); in sh_pfc_write_config_reg()
250 unsigned int r_width = config_reg->reg_width; in sh_pfc_get_config_reg()
754 if (rw != cfg_reg->reg_width) { in sh_pfc_check_cfg_reg()
756 drvname, cfg_reg->reg, rw, cfg_reg->reg_width); in sh_pfc_check_cfg_reg()